2.9 & jQuery

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

2.9 & jQuery

Sophie424
I came across some mention by Lukas of some initial steps of jQuery
integration in Seaside 2.9. Is the intent/hope to support jQuery as fully as
Scriptaculous?

Thanks - Sophie



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: 2.9 & jQuer

Julian Fitzell-2
Yes, he's actively working on it. Common functionality has been pulled
out into a JavaScript package which both Scriptaculous and JQuery will
depend on.

On Fri, Oct 17, 2008 at 11:37 PM, itsme213 <[hidden email]> wrote:

> I came across some mention by Lukas of some initial steps of jQuery
> integration in Seaside 2.9. Is the intent/hope to support jQuery as fully as
> Scriptaculous?
>
> Thanks - Sophie
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: 2.9 & jQuer

Lukas Renggli
In reply to this post by Sophie424
On Fri, Oct 17, 2008 at 11:37 PM, itsme213 <[hidden email]> wrote:
> I came across some mention by Lukas of some initial steps of jQuery
> integration in Seaside 2.9. Is the intent/hope to support jQuery as fully as
> Scriptaculous?

Yes, but slowly.

Looking for people helping to write the Smalltalk layer (that's a bit
tedious), tests and documentation.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: 2.9 & jQuer

Sebastian Sastre-2
There is some worke done about that. What are you thinking on which is not in
the published jQuery pac in squeaksource.com?

Cheers,

Sebastian Sastre
 

> -----Mensaje original-----
> De: [hidden email]
> [mailto:[hidden email]] En nombre
> de Lukas Renggli
> Enviado el: Jueves, 23 de Octubre de 2008 04:42
> Para: Seaside - general discussion
> Asunto: Re: [Seaside] 2.9 & jQuer
>
> On Fri, Oct 17, 2008 at 11:37 PM, itsme213
> <[hidden email]> wrote:
> > I came across some mention by Lukas of some initial steps of jQuery
> > integration in Seaside 2.9. Is the intent/hope to support
> jQuery as fully as
> > Scriptaculous?
>
> Yes, but slowly.
>
> Looking for people helping to write the Smalltalk layer (that's a bit
> tedious), tests and documentation.
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: 2.9 & jQuer

Sophie424
In reply to this post by Lukas Renggli
"Lukas Renggli" <[hidden email]> wrote in message
> Looking for people helping to write the Smalltalk layer (that's a bit
> tedious), tests and documentation.

If you don't mind helping me a bit, I'd like to (try to) help. Perhaps you
can also point out where the approach is different from Sebastian's, as his
squeaksource project seems to have some of this too?

Is there a wiki where the docs should go? Or just in the image?

- Sophie



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: 2.9 & jQue

Lukas Renggli
> If you don't mind helping me a bit, I'd like to (try to) help.

Sure that would be great.

> Perhaps you
> can also point out where the approach is different from Sebastian's, as his
> squeaksource project seems to have some of this too?

I did not know about Sebastian's work when I started. The approaches
look similar, with the exception that that mine is building on the new
extracted JavaScript functionality (of Seaside 2.9). So the JQuery
package does not depend on the Scriptaculous package.

When browsing through the code of Sebastian I was missing
functionality. My goal is to have a complete support of JQuery and
JQueryUI, and everything should be accessible from Smalltalk. There is
more to JQuery than just the queries. One goal was to make the
different layers of JQuery as meaningful as possible.

For example:

" 1. creates an ajax object $.ajax(...) "
html jQuery ajax

" 2. creates a query object $('div') "
html jQuery expr: 'div'

" 3. creates a widget on the query object "
(html jQuery id: #foo) accordion

In fact, I tried to map these layers to something like objects and
classes, as this feels natural to me. "html jQuery" returns a "class".
Note that this is just the concept of a class, it is not an actual
Smalltalk class. #ajax is factory method that creates an ajax object.
#expr: and #id: are constructor methods that creates a new query
instances. Most commands and widgets are created on such queries.

> Is there a wiki where the docs should go? Or just in the image?

The API is mostly complete. I created it automatically using a
workspace script from the JQuery Wiki. So all the methods and classes
should contain the original documentation. Since the documentation is
extracted from the wiki we need to go through and clean it up (and
maybe extend it with Seaside specific explanations).

The things I see remain to do are the following:

1. Write examples and functional tests for the JQuery basic
functionality, this is mostly done for JQueryUI.

2. Use the library, find missing functionality, and bugs. Improve the API.

3. Write an introductionary paragraph about each functional test of
JQuery and JQueryUI.

4. Go through the documentation and adapt to Seaside.

5. Write unit tests that cover every method of JQueryUI, this is
mostly done for JQuery.

6. Provide a set of plugins as separate packages (this is the lowest
in the priority!).

It would be great to get help on all these points from you and other
people interested.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside