Are there any Guides of any kind? The seaside book seems to have some jQuery parts but they are sketchy and commenting is disabled so I can't correct them.
Pe 1 feb. 2015, la 00:10, "p...@highoctane.be" <p...@highoctane.be> a scris: > > Le 31 janv. 2015 22:37, "Mircea S." <mir...@unom.ro> a écrit : > > > > > > Seaside on Pharo - Why the weird jQuery integration syntax compared to > > Scriptaculous? > > > > Ex1: > > > > html scriptaculous sortable onUpdate: (html scriptaculous... etc). > > > > html jQuery new sortable onStop: (html jQuery... etc). > > > > Ex2: > > > > html scriptaculous effect id: helpId; toggleAppear. > > > > (html jQuery id: helpId) slideToggle: 1 seconds. > > > > The way jQuery and Scriptaculous were integrated 'seems' similar. Can > > anyone explain what design change took place between the two and it's > > effect on syntax? > > > > PS. Especially in the last example. > > Mostly because that is how jQuery works. > > This is mapping the jQuery API. > > A good trick is to halt around those calls and inspect what the expression > between parentheses gives. > > This helped me tremendously in understanding how jQuery worked with Seaside. > Docs are quite shallow in that area but the system works very well. > > Check the tests and JQWidgetbox for a ton of samples. > > HTH > Phil > > > > > >