You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by Bob Schellink <sa...@gmail.com> on 2010/07/06 02:17:20 UTC
Ajax demos and docs
I'm going to start on the docos and examples for Ajax support. Anything in particular we should
cover? I'm thinking of adding a new chapter to to the docbook covering Behaviors and Page actions. I
don't think we should cover Ajax itself as there are existing articles which does a good job already.
As far as example goes I'm thinking of three simple examples using raw JS, jQuery and Prototype. For
good measure we can add a Form POST example as well.
Thoughts?
Bob
Re: Ajax demos and docs
Posted by Bob Schellink <sa...@gmail.com>.
On 10/07/2010 00:44, easydoor wrote:
>> The use and integration of Jquery Grid Plugin to improve Table and Table forms
>> and benefit of Ajax functions as Master detail, Multi selection, Subgrids,
>> Interact search, resizing ...
>>
>> http://trirand.com/blog/jqgrid/jqgrid.html
>>
> I began to integrate it by loading data in the Jqgrid datagrid with JSON, it
> works ! This Jquery plugin is very powerful !
It is indeed very powerful. The ability to perform multiple DOM updates (even arbitrary JS) from a
single request is great. Also the fact that Click spits out XHTML means one can send back Click
Controls, Forms, Tables etc.
> Do you want my contribution ?
You upload your the code and example to the click-jquery project issue tracker:
http://code.google.com/p/click-jquery/issues/list
Kind regards
Bob
Re: Ajax demos and docs
Posted by easydoor <ch...@valdoise.fr>.
easydoor <christophe.foiret <at> valdoise.fr> writes:
>
> Bob Schellink <sabob1 <at> gmail.com> writes:
>
> > I'm going to start on the docos and examples for Ajax support. Anything in
> particular we should cover?
>
> The use and integration of Jquery Grid Plugin to improve Table and Table forms
> and benefit of Ajax functions as Master detail, Multi selection, Subgrids,
> Interact search, resizing ...
>
> http://trirand.com/blog/jqgrid/jqgrid.html
>
I began to integrate it by loading data in the Jqgrid datagrid with JSON, it
works ! This Jquery plugin is very powerful !
Do you want my contribution ?
Re: Ajax demos and docs
Posted by easydoor <ch...@valdoise.fr>.
Bob Schellink <sabob1 <at> gmail.com> writes:
> I'm going to start on the docos and examples for Ajax support. Anything in
particular we should cover?
The use and integration of Jquery Grid Plugin to improve Table and Table forms
and benefit of Ajax functions as Master detail, Multi selection, Subgrids,
Interact search, resizing ...
http://trirand.com/blog/jqgrid/jqgrid.html
Re: Ajax demos and docs
Posted by Bob Schellink <sa...@gmail.com>.
Just an update on Ajax progress. I've added examples showing the most common use cases and have
added a section for Page Actions (commit pending). Only thing left is a chapter on Ajax.
Once this work is finished I think we're in a good position to push a release. Finn has also done
alot of work around the ConfigService which I'd like to include for the upcoming release.
Kind regards
Bob
On 6/07/2010 10:17, Bob Schellink wrote:
> I'm going to start on the docos and examples for Ajax support. Anything in particular we should
> cover? I'm thinking of adding a new chapter to to the docbook covering Behaviors and Page actions. I
> don't think we should cover Ajax itself as there are existing articles which does a good job already.
>
> As far as example goes I'm thinking of three simple examples using raw JS, jQuery and Prototype. For
> good measure we can add a Form POST example as well.
>
> Thoughts?
>
> Bob
>
Re: Ajax demos and docs
Posted by "Adrian A." <a....@gmail.com>.
> I'm going to start on the docos and examples for Ajax support.
> I'm thinking of adding a new chapter to to the docbook covering Behaviors and Page actions.
+1 for a new chapter since this is a too important feature.
> I
> don't think we should cover Ajax itself as there are existing articles which does a good job already.
Yes. No need to cover Ajax, only to mention what and how does Click to
ease the use of Ajax.
> As far as example goes I'm thinking of three simple examples using raw JS, jQuery and Prototype.
It might be useful if at least some of the jQuery and Prototype examples
would cover the exact same "example", so that the users could easily
compare them and extrapolate the general.
> Thoughts?
It would be fantastic if Click would have the Ajax docs and examples you
mention.
> Anything in particular we should cover?
Maybe for later, something about advanced Ajax usage with Click and
"patterns" could be very useful I think (and reduce the number of usage
questions):
1. Controls that change state on the server without the user to hit
submit. E.g. - a Slider, a SortedList, InlineEdit.
2. The use of Repeater and other dynamic forms with Ajax.
3. preview as you type, and autosave (e.g. for TextArea or other
similar controls)
4. a little about click-jquery.
5. Some hints about how users could integrate other JS frameowrks on
their own, e.g. ExtJS, YUI, etc.
6. How to make the Performance Filter work with Ajax and dynamic
loading of JavaScript (done by some JavaScript libraries).
7. Servlet 3.0 Asynchronous (Comet) Processing with Click.
Adrian.