[Laszlo-dev] Framework based on Laszlo

Ronen Mizrahi ronen at tversity.com
Fri Nov 17 11:41:46 PST 2006


Sounds too similar to the Google Web Toolkit 
(http://code.google.com/webtoolkit/). Perhaps a plug-in for GWT would 
make more sense than recreating it.

Diego Miranda wrote:
> I'm developing a framework based in Laszlo (well, really i'm 
> starting). The aim of this framework is to ease the development of 
> Laszlo applications. This is achieved by using only the Java language. 
> Although this framework can reuse components written in LZX and 
> JavaScript the main goal of the framework is to use only Java APIs to 
> compile to SWF and DHTML.
>
> Some benefits of the framework:
>
> - Ease the remote integration with remote services.
> - Reuse of components written in LZX using the framework API.
> - Prototyping or creating small applications using the JSR 223.
> - Include JavaScript methods using the JSR 223.
> - Developers only need to know one technology.
>
>
> The framework has the same components that Laszlo actually has, for 
> example canvas is associated to a Canvas object, a windowpanel has a 
> WindowPanel and so on. So, the developers does not need to learn new 
> functionalities.
>
> For example the framework will look like this:
>
>     ...
>     Canvas myCanvas = new Canvas ( "My new Canvas" );
>     myCanvas.setHeight ( 400 );
>     myCanvas.setWidth ( 100 );
>     myCanvas.setBgColor ( "0x223344" );
>     myCanvas.includeLibrary ( new ExternalLibrary ( 
> "/resources/app/libs/AppLibrary.lzx" );
>    
>     WindowPanel panel = new WindowPanel ( "The Panel" );
>     panel.setSize ( new Dimension ( 300, 300 ) );
>
>     myCanvas.add ( panel );
>
>     /* May be one can add something like this */
>     myCanvas.add ( "<window height=\"200\" width=\"500\"><text>hello 
> world</text></window>" );
>     ...
>
>
> At this moment, each component has a peer associated with the lzx 
> definition in the components. In addition i'm making some changes in 
> the compiler because now i must convert Java objects to Laszlo.
>
> I'd like, if someone has the time, to know if a project like this 
> could be useful and what do you think about it.
>
> Thanks in advance!
>
> Regards.
> Diego Miranda
>
> -- 
> Bebo para hacer interesantes a las demas personas. -- Groucho



More information about the Laszlo-dev mailing list