For SOLO apps, you can use simple JSP wrappers to get around almost
anything, including pulling data from another website without having to deal
with crossdomain.xml.   As long as your JSP is a local url and spits out
XML, you're good to go.



-----Original Message-----
From: John Sundman [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 08, 2006 1:04 PM
To: Richard Reyes
Cc: [email protected]
Subject: Re: [Laszlo-user] some newbie questions


YOu can certainly use SOLO apps to talk to back ends, absolutely.
There are simply some classes like JAVA RPC that don't work because
they rely on the OpenLaszlo Server to do on-the-fly mapping from Java
classes to javascript classes. But there are plenty of other ways
that DO work.

Openlaszlo applilcations exchange data with back ends, for example
databases, in XML format over HTTP.  ANything that generates XML is
cool as far as the Laszlo app is concerned.  Some people use JSP,
some use PHP; there has been some talk of a  "Laszlo on Rails" group
-- although I have not followed their work.

I suggest that you read the sections of the developer's guide having
to do with data, play around with those samples, and then post any
particular questions to this list or to the forums.

You can also search the forums for past discussions.

Finally, Don Hopkins wrote a very complete tutoroial on how to use
PHP to talk to a databaase from an OpenLaszlo app.   You can google
for that & it will answer many of your questions, I['m sure.

Regards,

jrs


On Oct 8, 2006, at 11:58 AM, Richard Reyes wrote:

> Is there no way to use SOLO with a DB?
>
> John Sundman wrote:
>> Hello Ricard,
>>
>> Your premise #1 is incorrect.  JavaRPC does not work in SOLO
>> applications.
>>
>> http://www.openlaszlo.org/lps/docs/guide/rpc-javarpc.html
>>
>> Regards,
>>
>> jrs
>>
>> On Oct 8, 2006, at 11:18 AM, Richard Reyes wrote:
>>
>>> Hi All,
>>>
>>> Good Day!
>>>
>>> I have some questions regarding how build my web app using laszlo.
>>>
>>> 1. Java-RPC is allowed in SOLO deploy mode right?
>>> 2. In SOLO. can I create a CRUD application and use Java-RPC to
>>> access
>>> the db?
>>>
>>> 3. Considering the same application in #2. Whats the
>>> advantage/disadvantage if I deploy it with a server and perhaps
>>> use some
>>> persistence?
>>>
>>> 4. Lets say I have 3 sets of CRUD in my application, do I put
>>> them all
>>> in 1 lzx file? Or I can utilize 3 different laszlo files?
>>>
>>> thanks in advance
>>> richard
>>>
>>> _______________________________________________
>>> Laszlo-user mailing list
>>> [email protected]
>>> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>>
>>


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user



_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to