Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can OpenLaszlo Use JavaScript Libraries like JQuery and PrototypeJS?

Tags:

I have been looking at OpenLaszlo and observed that scripting in the client is implemented in JavaScript. Does this mean it is possible to use libraries like JQuery and PrototypeJS ?

like image 795
Nicholas Avatar asked Jan 16 '09 14:01

Nicholas


2 Answers

jQuery and Prototype rely heavily on the browser's DOM API, not just JavaScript. I am not very familiar with OpenLaszlo, but if it doesn't provide a DOM for manipulating the document to be output, then libraries oriented around abstracting cross-browser DOM incompatibilities will be less useful. Aptana's Jaxer web server claims to allow you to manipulate the DOM before it is sent to the client, even with event listeners and animations. It may be worth a look.

like image 136
David Winslow Avatar answered Sep 30 '22 04:09

David Winslow


Directions on using JQuery with other Libraries: http://docs.jquery.com/Using_jQuery_with_Other_Libraries

like image 23
epascarello Avatar answered Sep 30 '22 03:09

epascarello