Hi,
This is a newbie question: What is the Seaside extension and documentation a beginner should look at regarding state of the start Ajax with Seaside? I read Scriptaculous, JQuery, Bootstrap but I don't know what to look at first and where to spend try & test time on. Thanks a lot Hilaire -- Dr. Geo - http://drgeo.eu iStoa - http://istoa.drgeo.eu _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Are you looking for some Seaside Ajax examples?
Brad Selfridge
|
In reply to this post by HilaireFernandes
Hi Hilaire,
If you want to do ajax requests in Seaside, jQuery is the way to go. Scriptaculous itself is outdated (last update was 5 years ago) and everything you want to do with that can be done using jQuery and jQuery-UI. Bootstrap is a different thing: there are javascript components and styling elements (maybe a bit similar to jQuery-UI and some parts of scriptaculous). Take a look at the jQuery examples provided with Seaside (http://localhost:8080/javascript/jquery) or the subclasses of JQFunctionalTest. I *know* there is a need for more elaborate documentation (in the book), though it’s really not that hard to understand from the examples. The *biggest* thing is that you must understand what jQuery is and does. If you try understanding how to work with jQuery by only looking at the Seaside binding, you _will_ get lost. Sorry if I try to stress too much, but I think this is where most Smalltalkers are going wrong: they don’t take a look at the jQuery documentation. So… my advice is: read jQuery documentation and examples, then take a look at how Seaside binds to that library. I’m sure you will understand. And I’m happy to answer questions if you have any on the road :) Johan
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by HilaireFernandes
Hi Hilaire,
To Johan's advice I'll simply add that Seaside's jQuery integration is fantastic. Once you understand jQuery itself, a regular Seaside component can be tweaked to use jQuery very easily. Cheers, Mike Forster |
In reply to this post by Johan Brichau-2
Johan et al.
Thanks for your tips. Hilaire Le 22/04/2015 20:37, Johan Brichau a écrit : > If you want to do ajax requests in Seaside, jQuery is the way to go. > Scriptaculous itself is outdated (last update was 5 years ago) and > everything you want to do with that can be done using jQuery and > jQuery-UI. > Bootstrap is a different thing: there are javascript components and > styling elements (maybe a bit similar to jQuery-UI and some parts of > scriptaculous). > -- Dr. Geo - http://drgeo.eu iStoa - http://istoa.drgeo.eu _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Johan Brichau-2
Le 22/04/2015 20:37, Johan Brichau a écrit :
> Take a look at the jQuery examples provided with Seaside > (http://localhost:8080/javascript/jquery) or the subclasses of > JQFunctionalTest. > Sadly this URL does not work from my Seaside previously installed on Pharo3 with the following script: Gofer new url:'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main'; package: 'ConfigurationOfSeaside3'; load. ((Smalltalk at: #ConfigurationOfSeaside3) project version: #stable) load. I guess some initialization was not properly done (the panel access was not present in the world menu as well). Thanks Hilaire -- Dr. Geo - http://drgeo.eu iStoa - http://istoa.drgeo.eu _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Le 25/04/2015 11:47, Hilaire a écrit :
> I guess some initialization was not properly done (the panel access was > not present in the world menu as well). Oops, no it is present. It was missing in another installation, and very likely a different setup. -- Dr. Geo - http://drgeo.eu iStoa - http://istoa.drgeo.eu _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by HilaireFernandes
One need to install at least Javascript-Test-Core and JQuery-Tests-Core.
Should it not be in the ConfigurationOfSeaside as the Seaside welcome page comes with two links to jQuery and JQueryUI demos? Le 25/04/2015 11:47, Hilaire a écrit : > Le 22/04/2015 20:37, Johan Brichau a écrit : >> Take a look at the jQuery examples provided with Seaside >> (http://localhost:8080/javascript/jquery) or the subclasses of >> JQFunctionalTest. >> > Sadly this URL does not work from my Seaside previously installed on > Pharo3 with the following script: > > Gofer new > > url:'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main'; > package: 'ConfigurationOfSeaside3'; > load. > ((Smalltalk at: #ConfigurationOfSeaside3) project version: #stable) load. > > > I guess some initialization was not properly done (the panel access was > not present in the world menu as well). > > Thanks > > Hilaire > -- Dr. Geo - http://drgeo.eu iStoa - http://istoa.drgeo.eu _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
The ConfigurationOfSeaside3 for all 3.1 versions only loads Seaside core as a default. You need to add groups to your load expression if you want them.
This was done with the mindset of customizable loads for everyone but ... Since people expected the inverse, the configuration for 3.2 has changed this and will load everything by default. If people want specific groups only, they can still do it. However, we should not change this for 3.1 as it might break other configurations, so we have to live with it until 3.2 is the stable version. Johan > On 25 Apr 2015, at 14:28, Hilaire <[hidden email]> wrote: > > One need to install at least Javascript-Test-Core and JQuery-Tests-Core. > Should it not be in the ConfigurationOfSeaside as the Seaside welcome > page comes with two links to jQuery and JQueryUI demos? > > Le 25/04/2015 11:47, Hilaire a écrit : >> Le 22/04/2015 20:37, Johan Brichau a écrit : >>> Take a look at the jQuery examples provided with Seaside >>> (http://localhost:8080/javascript/jquery) or the subclasses of >>> JQFunctionalTest. >>> >> Sadly this URL does not work from my Seaside previously installed on >> Pharo3 with the following script: >> >> Gofer new >> >> url:'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main'; >> package: 'ConfigurationOfSeaside3'; >> load. >> ((Smalltalk at: #ConfigurationOfSeaside3) project version: #stable) load. >> >> >> I guess some initialization was not properly done (the panel access was >> not present in the world menu as well). >> >> Thanks >> >> Hilaire >> > > > -- > Dr. Geo - http://drgeo.eu > iStoa - http://istoa.drgeo.eu > > > _______________________________________________ > 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 |
Hi Johan,
Both options are fine but, at least for newbies, if Ajax tests are not present in default Seaside installation, the Seaside welcome page should not propose a link to test jquery and jquery-ui because they will broken in that case and newbies may not fell good there. Hilaire Le 28/04/2015 09:24, Johan Brichau a écrit : > The ConfigurationOfSeaside3 for all 3.1 versions only loads Seaside core as a default. You need to add groups to your load expression if you want them. > This was done with the mindset of customizable loads for everyone but ... > > Since people expected the inverse, the configuration for 3.2 has changed this and will load everything by default. If people want specific groups only, they can still do it. However, we should not change this for 3.1 as it might break other configurations, so we have to live with it until 3.2 is the stable version. > > Johan > > >> On 25 Apr 2015, at 14:28, Hilaire <[hidden email]> wrote: >> >> One need to install at least Javascript-Test-Core and JQuery-Tests-Core. >> Should it not be in the ConfigurationOfSeaside as the Seaside welcome >> page comes with two links to jQuery and JQueryUI demos? >> >> Le 25/04/2015 11:47, Hilaire a écrit : >>> Le 22/04/2015 20:37, Johan Brichau a écrit : >>>> Take a look at the jQuery examples provided with Seaside >>>> (http://localhost:8080/javascript/jquery) or the subclasses of >>>> JQFunctionalTest. >>>> >>> Sadly this URL does not work from my Seaside previously installed on >>> Pharo3 with the following script: >>> >>> Gofer new >>> >>> url:'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main'; >>> package: 'ConfigurationOfSeaside3'; >>> load. >>> ((Smalltalk at: #ConfigurationOfSeaside3) project version: #stable) load. >>> >>> >>> I guess some initialization was not properly done (the panel access was >>> not present in the world menu as well). >>> >>> Thanks >>> >>> Hilaire >>> >> >> -- >> Dr. Geo - http://drgeo.eu >> iStoa - http://istoa.drgeo.eu >> >> >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- Dr. Geo - http://drgeo.eu iStoa - http://istoa.drgeo.eu _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |