|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
XML_XUL pear package
Hi everybody,
I have just started to look into XUL and I am trying to make something out of it. I have some difficulties understanding the RDF side of it. Has anyone used the XML_XUL library from PEAR? I could use some help with it. Thanks Lavinia |
|
#2
|
|||
|
|||
|
RE: XML_XUL pear package
i didn't use pear XUL package, but i used XUL itself, with and without php, so i might be able to help you if you say what are you having problems with.
btw, you might wanna look at www.xulplanet.com they have some great tutorials for XUL beginners (RDF introduction too). |
|
#3
|
|||
|
|||
|
RE: XML_XUL pear package
Hi,
There are a few. I have to use XUL with Javascript, PHP and a MySQL db in the back. My first question: I tried to find a way to develop the interface with XUL and Javascript only and get the Javascript to talk to PHP so the XUL is independent of PHP and only receives the data puled by the PHP scripts from the db maybe in an RDF format. I could not figure out a way to do this. My XUL Javascript knowledge is quite limited and I am trying to learn but it's quite slow. To make a long story short: for a user details XUL page where you have one window, four textboxes (UserName, Name, Address, Email) and a button (Edit) how do I get the information from the database passed to the XUL? It would be great if I would not have to generate the XUL code from PHP. Thanks |
|
#4
|
|||
|
|||
|
RE: XML_XUL pear package
then i would suggest to look for XMLHttpRequest object.
you can use it to make http requests from JS to the php script, and the php script can return just the "data" to the XUL page (in some format, like XML, RDF or simple url-encoded values..) |
|
#5
|
|||
|
|||
|
RE: XML_XUL pear package
Cool. Thank you.
|
|
#6
|
|||
|
|||
|
RE: XML_XUL pear package
|
|
#7
|
|||
|
|||
|
RE: XML_XUL pear package
I have another question which is more XYL related than PEAR so I hope you do not mind I've put it in hear.
I have a tree with a number of rows grouped in containers. Is there a way to find out if the selected row is a container name? Thanks Lavinia |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > XML_XUL pear package |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|