On Feb 4, 2007, at 1:42 PM, Youri wrote:
Thank you for your answer, but it is still not very clear to me
(sorry).
What do you call SOLO mode?
Basically, let say I want to set up a Store on Internet. My ISP
only provides MySQL-PHP.
Can I buid my web site using OpenLazzlo/MySQL like I would with
HTML/PHP/MySQL?
I want the webstore to be accessible by all and not by one person
at a time if SOLO Mode is what you mean.
Thanks for your input.
Yes.
You can put a file on your web server that you include into your web
page, that is a compiled OpenLaszlo program. The web page embeds that
and it comes up, running on the end user's machine.
It communicates with your PHP server. There are a variety of ways to
do this, but usually, your OL program sends GET requests for
information, to which your server responds with XML documents, and
you PUT or POST or DELETE from the OL app to modify information
(again, exchanging XML).
OpenLaszlo makes it *phenomenally easy* to generate slick UI displays
based on XML data. For example, repeat these UI elements once for
each such-and-such type node in the XML. So you often don't need to
do a massive amount of OL programming to get displays of lists and
things on the OL side.
You *do* have to write PHP code to receive and send XML, based on the
state of the database and the server application in general. There
are some REST libraries that help with that, but you'll have to do
some work on the server side to make this all work.
Look up RESTful on Wikipedia sometimes. There is a bit to it, but
this (making your network API the simple exchange of XML via HTTP) is
a really interesting way to go. There are a number of benefits. One
very good one is that you are about as language- and platform-neutral
as you can be. So once you have set up your PHP application to work
this way, you can then write clients for it in all kinds of ways --
REALbasic, any given programming language, you name it. For a smart
client, this ought to be a compelling benefit.
Regards,
Guyren G Howe
Relevant Logic LLC
guyren-at-relevantlogic.com ~ http://relevantlogic.com
REALbasic, PHP, Ruby/Rails, Python programming
PostgreSQL, MySQL database design and consulting
Technical writing and training
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>