Web controls for Seaside

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Web controls for Seaside

Burella Juan M.
In order to ease the work with our web application  we have added component support for Seaside. It's what is called "AJAX Framework" out there, although we preferred not to call it "framework" nor toolkit by now. Much of the ideas of this package are based on WindowBuilder Pro, a commercial window builder that enables visual programming.  

Right now we have support for most common web controls (TextField, Panel, RadioButton, TextArea, Label, Button, Anchor, CheckBoxGroup, RadioButtonGroup, ListBox, FieldSet) and we are working on a builder tool for generate Seaside components (pages) dinamically. We call it SeasideBuilder.  

Using our package, for example, if you want to specify a ListBox of countries you have to (without the builder):

>>countryControl
    "Private - Answer a ListBox with the countries. If panes not includes it then this is added"  

    ^self  
        paneNamed: #countryList
        ifNonePut: [ (SFListBox new)
                        printSelector: #viewerString;
                        styleClass: 'large';
                        items: self countries;  
                        label: 'País';
                        layout: self layout;
                        addItem: nil labelFrom: 'Ninguno';
                        when: #selectedChanged  
                             send: #selectedItem
                            to: self;
                        yourself]

and it's rendered with:

>>renderContentOn: html  
    "Private - Render the receiver"  
    
    html render: self countryControl

With the builder you'll have to pick the control you want, configure properties, preview if you want it, and finally add to a page layout tree. When the tree is already configured properly, code for the rendering and controls is compiled into the class, along with tree support for future editing with the tool, although this is under heavy developement.  

Maybe this work could be interesting for someone out there. If so,  we'd have to ask our institution for permission to release a public version under an appropiate licensing (GPL, LGPL, BSD, etc).  

Juan M. Burella, Hernán Morales and Norberto Manzanos, CAICYT  
<a href="http://www.caicyt.gov.ar" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.caicyt.gov.ar

Reply | Threaded
Open this post in threaded view
|

RE: Web controls for Seaside

J J-6
Wow!  Yes of course this is interesting!  I cant wait to see it.


Date: Fri, 15 Jun 2007 14:59:37 -0300
From: [hidden email]
To: [hidden email]; [hidden email]
Subject: Web controls for Seaside

In order to ease the work with our web application  we have added component support for Seaside. It's what is called "AJAX Framework" out there, although we preferred not to call it "framework" nor toolkit by now. Much of the ideas of this package are based on WindowBuilder Pro, a commercial window builder that enables visual programming.  

Right now we have support for most common web controls (TextField, Panel, RadioButton, TextArea, Label, Button, Anchor, CheckBoxGroup, RadioButtonGroup, ListBox, FieldSet) and we are working on a builder tool for generate Seaside components (pages) dinamically. We call it SeasideBuilder.  

Using our package, for example, if you want to specify a ListBox of countries you have to (without the builder):

>>countryControl
    "Private - Answer a ListBox with the countries. If panes not includes it then this is added"  

    ^self  
        paneNamed: #countryList
        ifNonePut: [ (SFListBox new)
                        printSelector: #viewerString;
                        styleClass: 'large';
                        items: self countries;  
                        label: 'País';
                        layout: self layout;
                        addItem: nil labelFrom: 'Ninguno';
                        when: #selectedChanged  
                             send: #selectedItem
                            to: self;
                        yourself]

and it's rendered with:

>>renderContentOn: html  
    "Private - Render the receiver"  
    
    html render: self countryControl

With the builder you'll have to pick the control you want, configure properties, preview if you want it, and finally add to a page layout tree. When the tree is already configured properly, code for the rendering and controls is compiled into the class, along with tree support for future editing with the tool, although this is under heavy developement.  

Maybe this work could be interesting for someone out there. If so,  we'd have to ask our institution for permission to release a public version under an appropiate licensing (GPL, LGPL, BSD, etc).  

Juan M. Burella, Hernán Morales and Norberto Manzanos, CAICYT  
http://www.caicyt.gov.ar


Make every IM count. Download Windows Live Messenger and join the i’m Initiative now. It’s free.  Make it count!

Reply | Threaded
Open this post in threaded view
|

Re: Web controls for Seaside

Markus Gälli-3

On Jun 19, 2007, at 6:53 PM, J J wrote:

> Wow!  Yes of course this is interesting!  I cant wait to see it.

+1: Please do publish your code as soon as you think it is good  
enough to take off on its own, don't put too many features now and  
make it too heavy.
  Some kind of BSD license would be great.
Can't wait to play with this.

I think this could be a big booster for Seaside, Squeak and all the  
rest.

Thanks,

Markus

>
> Date: Fri, 15 Jun 2007 14:59:37 -0300
> From: [hidden email]
> To: [hidden email];  
> [hidden email]
> Subject: Web controls for Seaside
>
> In order to ease the work with our web application  we have added  
> component support for Seaside. It's what is called "AJAX Framework"  
> out there, although we preferred not to call it "framework" nor  
> toolkit by now. Much of the ideas of this package are based on  
> WindowBuilder Pro, a commercial window builder that enables visual  
> programming.
>
> Right now we have support for most common web controls (TextField,  
> Panel, RadioButton, TextArea, Label, Button, Anchor, CheckBoxGroup,  
> RadioButtonGroup, ListBox, FieldSet) and we are working on a  
> builder tool for generate Seaside components (pages) dinamically.  
> We call it SeasideBuilder.
>
> Using our package, for example, if you want to specify a ListBox of  
> countries you have to (without the builder):
>
> >>countryControl
>     "Private - Answer a ListBox with the countries. If panes not  
> includes it then this is added"
>
>     ^self
>         paneNamed: #countryList
>         ifNonePut: [ (SFListBox new)
>                         printSelector: #viewerString;
>                         styleClass: 'large';
>                         items: self countries;
>                         label: 'País';
>                         layout: self layout;
>                         addItem: nil labelFrom: 'Ninguno';
>                         when: #selectedChanged
>                              send: #selectedItem
>                             to: self;
>                         yourself]
>
> and it's rendered with:
>
> >>renderContentOn: html
>     "Private - Render the receiver"
>
>     html render: self countryControl
>
> With the builder you'll have to pick the control you want,  
> configure properties, preview if you want it, and finally add to a  
> page layout tree. When the tree is already configured properly,  
> code for the rendering and controls is compiled into the class,  
> along with tree support for future editing with the tool, although  
> this is under heavy developement.
>
> Maybe this work could be interesting for someone out there. If so,  
> we'd have to ask our institution for permission to release a public  
> version under an appropiate licensing (GPL, LGPL, BSD, etc).
>
> Juan M. Burella, Hernán Morales and Norberto Manzanos, CAICYT
> http://www.caicyt.gov.ar
> Make every IM count. Download Windows Live Messenger and join the  
> i’m Initiative now. It’s free.  Make it count!
>


Reply | Threaded
Open this post in threaded view
|

Re: Web controls for Seaside

Randy Siler-2
In reply to this post by Burella Juan M.
I'm very very interested in seeing this happen. Do you have any idea how long before we might see it?
On Jun 15, 2007, at 10:59 AM, Burella Juan M. wrote:

In order to ease the work with our web application  we have added component support for Seaside. It's what is called "AJAX Framework" out there, although we preferred not to call it "framework" nor toolkit by now. Much of the ideas of this package are based on WindowBuilder Pro, a commercial window builder that enables visual programming.  

Right now we have support for most common web controls (TextField, Panel, RadioButton, TextArea, Label, Button, Anchor, CheckBoxGroup, RadioButtonGroup, ListBox, FieldSet) and we are working on a builder tool for generate Seaside components (pages) dinamically. We call it SeasideBuilder.  

Using our package, for example, if you want to specify a ListBox of countries you have to (without the builder):

>>countryControl
    "Private - Answer a ListBox with the countries. If panes not includes it then this is added"  

    ^self  
        paneNamed: #countryList
        ifNonePut: [ (SFListBox new)
                        printSelector: #viewerString;
                        styleClass: 'large';
                        items: self countries;  
                        label: 'País';
                        layout: self layout;
                        addItem: nil labelFrom: 'Ninguno';
                        when: #selectedChanged  
                             send: #selectedItem
                            to: self;
                        yourself]

and it's rendered with:

>>renderContentOn: html  
    "Private - Render the receiver"  
    
    html render: self countryControl

With the builder you'll have to pick the control you want, configure properties, preview if you want it, and finally add to a page layout tree. When the tree is already configured properly, code for the rendering and controls is compiled into the class, along with tree support for future editing with the tool, although this is under heavy developement.  

Maybe this work could be interesting for someone out there. If so,  we'd have to ask our institution for permission to release a public version under an appropiate licensing (GPL, LGPL, BSD, etc).  

Juan M. Burella, Hernán Morales and Norberto Manzanos, CAICYT  
<A href="http://www.caicyt.gov.ar" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.caicyt.gov.ar




Reply | Threaded
Open this post in threaded view
|

Re: Web controls for Seaside

Burella Juan M.
Hi, Randy, Markus and list. Thanks for the feedback, we're working in order to make a release as soon as possible.
Greetings

On 6/21/07, Randy Siler <[hidden email]> wrote:
I'm very very interested in seeing this happen. Do you have any idea how long before we might see it?

On Jun 15, 2007, at 10:59 AM, Burella Juan M. wrote:

In order to ease the work with our web application  we have added component support for Seaside. It's what is called "AJAX Framework" out there, although we preferred not to call it "framework" nor toolkit by now. Much of the ideas of this package are based on WindowBuilder Pro, a commercial window builder that enables visual programming.  

Right now we have support for most common web controls (TextField, Panel, RadioButton, TextArea, Label, Button, Anchor, CheckBoxGroup, RadioButtonGroup, ListBox, FieldSet) and we are working on a builder tool for generate Seaside components (pages) dinamically. We call it SeasideBuilder.  

Using our package, for example, if you want to specify a ListBox of countries you have to (without the builder):

>>countryControl
    "Private - Answer a ListBox with the countries. If panes not includes it then this is added"  

    ^self  
        paneNamed: #countryList
        ifNonePut: [ (SFListBox new)
                        printSelector: #viewerString;
                        styleClass: 'large';
                        items: self countries;  
                        label: 'País';
                        layout: self layout;
                        addItem: nil labelFrom: 'Ninguno';
                        when: #selectedChanged  
                             send: #selectedItem
                            to: self;
                        yourself]

and it's rendered with:

>>renderContentOn: html  
    "Private - Render the receiver"  
    
    html render: self countryControl

With the builder you'll have to pick the control you want, configure properties, preview if you want it, and finally add to a page layout tree. When the tree is already configured properly, code for the rendering and controls is compiled into the class, along with tree support for future editing with the tool, although this is under heavy developement.  

Maybe this work could be interesting for someone out there. If so,  we'd have to ask our institution for permission to release a public version under an appropiate licensing (GPL, LGPL, BSD, etc).  

Juan M. Burella, Hernán Morales and Norberto Manzanos, CAICYT  
<a href="http://www.caicyt.gov.ar" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.caicyt.gov.ar