skitsanos
2 Jan 2007, 10:37 AM
Guys,
it was quite fine when there was about 50 AJAX frameworks, but today, when there is like more than 200 already you can go nuts. I was looking for a long time into how Backbase, Adobe Flex and Bindows trying to handle their "application construction" tasks, figured out pros and cons of all of them, same time I was looking into how Yui-Ext was growing and what other AJAX/RIA frameworks available. Obviously even by being big fan of Backbase paying $6,000 license fee for application server it is not what I really want to do, for sure neither you guys.
So what is all about. While you guys had (hopefully) nice xmas holidays I had a little dig into Yui-ext and couple of other things. The reason I started digging is that I dont want to waste so much valuable time on tons of JavaScript lines. I want to have one unified language that allows me describe application functionality (since I do webware applications as primary source of income). Easiest way to describe application functionality is to use some sort of mixture between XML and HTML and leave JavaScript only for pleases where it is needed for linking GUI elements, events handling and etc. So, basically I had in mind many years of UI programming I did for Windows, OS/2, Linux and others and wanted to have simple language that will help me to build webware applications quicky enough.
First two things I was desperate to have supported are Application Layouts and Windows. And keep in mind I really want to minimize my time on JavaScript coding.
So what I did:
1) Application Layouts
<gf:Layout id="ltApplication">
<gf:LayoutPanel initialSize="35" location="north" split="false">
<span style="color:#98c0f4; font-size:1.8em;">Grafeio UI demonstration</span>
</gf:LayoutPanel>
<gf:LayoutPanel autoScroll="true" collapsible="true" initialSize="200" location="west" split="true" title="Actions" titlebar="true">
<gf:Accordion id="acc1">
<gf:AccordionPanel id="panel1" title="Panel #1">Here is the content for Panel #1</gf:AccordionPanel>
<gf:AccordionPanel id="panel2" title="Panel #2">Here is the content for Panel #2</gf:AccordionPanel>
<gf:AccordionPanel id="panel3" title="Panel #3">Here is the content for Panel #3</gf:AccordionPanel>
</gf:Accordion>
</gf:LayoutPanel>
<gf:LayoutPanel autoScroll="true" location="center">
</gf:LayoutPanel>
<gf:LayoutPanel initialSize="20" location="south" split="false">
© 2007, Evgenios Skitsanos.
</gf:LayoutPanel>
</gf:Layout>
2) Windows
<gf:Window id="wndSample" title="Sample Window via Yui-Ext">
<div>Sample Window</div>
</gf:Window>
(Bigger sample you can see on http://www.mywdk.com/labs/grafeio/)
As you can see, instead writing all of this JavaScript and tons of definitions, I automated it with custom language. This sample shows you how to define Application Layout, to embed Accordion component into one of the content panels, and the last sample just renders Window.
it was quite fine when there was about 50 AJAX frameworks, but today, when there is like more than 200 already you can go nuts. I was looking for a long time into how Backbase, Adobe Flex and Bindows trying to handle their "application construction" tasks, figured out pros and cons of all of them, same time I was looking into how Yui-Ext was growing and what other AJAX/RIA frameworks available. Obviously even by being big fan of Backbase paying $6,000 license fee for application server it is not what I really want to do, for sure neither you guys.
So what is all about. While you guys had (hopefully) nice xmas holidays I had a little dig into Yui-ext and couple of other things. The reason I started digging is that I dont want to waste so much valuable time on tons of JavaScript lines. I want to have one unified language that allows me describe application functionality (since I do webware applications as primary source of income). Easiest way to describe application functionality is to use some sort of mixture between XML and HTML and leave JavaScript only for pleases where it is needed for linking GUI elements, events handling and etc. So, basically I had in mind many years of UI programming I did for Windows, OS/2, Linux and others and wanted to have simple language that will help me to build webware applications quicky enough.
First two things I was desperate to have supported are Application Layouts and Windows. And keep in mind I really want to minimize my time on JavaScript coding.
So what I did:
1) Application Layouts
<gf:Layout id="ltApplication">
<gf:LayoutPanel initialSize="35" location="north" split="false">
<span style="color:#98c0f4; font-size:1.8em;">Grafeio UI demonstration</span>
</gf:LayoutPanel>
<gf:LayoutPanel autoScroll="true" collapsible="true" initialSize="200" location="west" split="true" title="Actions" titlebar="true">
<gf:Accordion id="acc1">
<gf:AccordionPanel id="panel1" title="Panel #1">Here is the content for Panel #1</gf:AccordionPanel>
<gf:AccordionPanel id="panel2" title="Panel #2">Here is the content for Panel #2</gf:AccordionPanel>
<gf:AccordionPanel id="panel3" title="Panel #3">Here is the content for Panel #3</gf:AccordionPanel>
</gf:Accordion>
</gf:LayoutPanel>
<gf:LayoutPanel autoScroll="true" location="center">
</gf:LayoutPanel>
<gf:LayoutPanel initialSize="20" location="south" split="false">
© 2007, Evgenios Skitsanos.
</gf:LayoutPanel>
</gf:Layout>
2) Windows
<gf:Window id="wndSample" title="Sample Window via Yui-Ext">
<div>Sample Window</div>
</gf:Window>
(Bigger sample you can see on http://www.mywdk.com/labs/grafeio/)
As you can see, instead writing all of this JavaScript and tons of definitions, I automated it with custom language. This sample shows you how to define Application Layout, to embed Accordion component into one of the content panels, and the last sample just renders Window.