This post was published on Friday 12th of August 2005.
I've received quite some requests to dedicate a tutorial to the combination of PHP and BXML. Lucky me, since if it was any other server-side language I couldn't have come up with anything really interesting. Anyway, PHP it is and I've created a little example that I won't really discuss and build up step-by-step as I did before with tutorials. I will only comment on the interesting bits, where the BXML and PHP really work together.
Without further ado, here it is (PHP source code). In it you can find examples of the following:
<s:execute/>'s that modify the interfaceI think the example will speak for itself, mostly. Not being a PHP god, I've probably left open ten different holes that people can exploit to bring down my server or topple the tower of Pisa. Please tell me if you see any! If the purpose of the form isn't clear: you are supposed to select a company from the input box and modify its address which will then be stored in your session. Reload, and the modifications will be gone. You can also create new companies and add them to the list by changing the name field before you submit.
P.S. I'm aware it doesn't work in Explorer, I thought you people wouldn't mind.Fixed in a ugly fashion. I'll discuss that later.
P.P.S. The actual interesting comments will come later.
Have something to say about this post? Share your thoughts!
This post was published on Friday 12th of August 2005. The previous entry was "InfoWorld reviews Backbase". The next entry is "Bookmarks and the back button with Backbase".