[Seaside] [ANN] Dojo Toolkit
Lukas Renggli
renggli at gmail.com
Sun Sep 5 21:08:38 UTC 2010
Very cool. Thank you for sharing this!
Lukas
On 5 September 2010 18:40, Holger Kleinsorgen <h.kleinsorgen at i-views.de> wrote:
> Hello,
>
> I've published some packages that help developing applications that use the
> Dojo Toolkit (http://www.dojotoolkit.org).
> Dojo is a Javascript library that provides DOM queries and manipulation
> functions, event handling, Ajax requests, widgets and more.
>
> To get the code:
>
> Squeak:
> - Repository: http://www.squeaksource.com/DojoToolkit
> - Project page: http://www.squeaksource.com/DojoToolkit.html
> - Configuration
>
> Gofer new
> squeaksource: 'DojoToolkit';
> package: 'ConfigurationOfDojoToolkit';
> load.
> (Smalltalk at: #ConfigurationOfDojoToolkit) perform: #load.
>
> This is the first configuration one I ever wrote, so it's certainly buggy ;)
> I only tested it with Pharo-1.1 Oneclick.
>
> VisualWorks:
> - load it from Cincom's public repository, bundle is called
> "DojoToolkitBundle"
>
> The examples are registered at /examples/Dojo
>
> I would like to thank the authors of the jQuery package for Seaside.
> Although the Dojo library differs in many aspects, the framework of the
> jQuery package was very helpful. I actually copied some Ajax-related code.
> The Dojo packages are published under the MIT license, so I hope this is ok.
>
> Three usage examples:
>
> - Button that triggers an Ajax request:
>
> html submitButton
> onClick: ( html dojo ajax script:
> [: s | s << (( s dojo query: #status)
> innerHTML: 'OK' ]);
> text: 'Callback'
>
> - A textarea that dynamically expands/contracts its size:
>
> Programmatically:
>
> html div
> style: 'width: 400px';
> script: html dojoUI new textarea;
> with: 'Enter more text.'.
>
> With markup (see http://docs.dojocampus.org/dojo/parser):
>
> html dojoTextarea
> style: 'width: 400px';
> with: 'Enter more text.'
>
> The packages are not complete yet. Things that is missing:
> - dojo.fx
> - DojoX (extensions)
> and probably a lot more. Dojo is quite extensive.
>
> Cheers, Holger
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
--
Lukas Renggli
www.lukas-renggli.ch
More information about the seaside
mailing list