mhayden
06-01-2008, 01:22 PM
The RubyForge OpenLaszlo over Ruby Environment (OLORE) Release 0.0.1 is available for download.
If you like both OpenLaszlo and Ruby on Rails, here is a new way to connect them. With OLORE you can stay focused on your application logic and continue to use object oriented techniques for server communication without getting bogged down in complicated URL mapping issues. You can also communicate directly with any web server without being tied to a particular Laslzlo Presentation Server or Java environment using Solo mode.
Remote Objects provides direct client RPC style access to backend Ruby class objects using an OpenLaszlo Client Library and a Rails plugin. The concept of session based objects is also supported. The first release uses JSON as the transport format so you can pass data that maps directly between Ruby data and Javascript literal objects. JSON data mapping to XML Datasets is also supported, so you have the option to work in native data structures or bind them to higher level components.
An Admin Service Rails plugin is also released that provides an interface to Active Record objects. Because an Active Record class name is passed as a parameter to Admin Service methods, the interface does not need to be replicated for each Record Class unlike many other approaches. This is an example of the kinds of powerful Services which can easily be constructed using the Remote Objects protocol.
This is an Alpha Release so we are very interested in getting wider use and feedback on this technology. Please try it out and let us know what you think and how it might be improved either in this forum or in the RubyForge OLORE forum or bug tracker. Also let us know if you have ideas on new Services to add to this environment.
Michael Hayden
www.genacode.com
RubyForge page: http://rubyforge.org/projects/olore/
Project Home Page: http://genacode.com/olore
Overview Slides: http://genacode.com/olore/slides
Client User Guide: http://genacode.com/remoteobjects/client-user-guide
If you like both OpenLaszlo and Ruby on Rails, here is a new way to connect them. With OLORE you can stay focused on your application logic and continue to use object oriented techniques for server communication without getting bogged down in complicated URL mapping issues. You can also communicate directly with any web server without being tied to a particular Laslzlo Presentation Server or Java environment using Solo mode.
Remote Objects provides direct client RPC style access to backend Ruby class objects using an OpenLaszlo Client Library and a Rails plugin. The concept of session based objects is also supported. The first release uses JSON as the transport format so you can pass data that maps directly between Ruby data and Javascript literal objects. JSON data mapping to XML Datasets is also supported, so you have the option to work in native data structures or bind them to higher level components.
An Admin Service Rails plugin is also released that provides an interface to Active Record objects. Because an Active Record class name is passed as a parameter to Admin Service methods, the interface does not need to be replicated for each Record Class unlike many other approaches. This is an example of the kinds of powerful Services which can easily be constructed using the Remote Objects protocol.
This is an Alpha Release so we are very interested in getting wider use and feedback on this technology. Please try it out and let us know what you think and how it might be improved either in this forum or in the RubyForge OLORE forum or bug tracker. Also let us know if you have ideas on new Services to add to this environment.
Michael Hayden
www.genacode.com
RubyForge page: http://rubyforge.org/projects/olore/
Project Home Page: http://genacode.com/olore
Overview Slides: http://genacode.com/olore/slides
Client User Guide: http://genacode.com/remoteobjects/client-user-guide