[Catalyst] Catalyst - any good AJAX tutes?

kakimoto at tpg.com.au kakimoto at tpg.com.au
Sat Mar 7 02:35:32 GMT 2009


hello, all :)

 thanks for the responses to help me out. I was wondering if there are
any good tutes that can be recommended for a perl programmer to

1) learn enough to set up the javascript itself ( be it in jQuery, dojo
or anything you prefer)
2) learn enough about how to intercept the ajax request in the
controller and send it back to the page ( ie JSON)? 

-tutes in relation to the cause above in areas of JSON (yes aside from
Catalyst::View::JSON) , jQuery or dojo would be really good.
 I am sure there's a lotta folks who got catalyst apps built (thanks,
Jon!) but have yet to use AJAX/JSON or any of these good stuff. Hence, a
lot of work has been put in place to reload forms, preserve parameter
values and so forth. With AJAX,i  guess we hope to cut down on
development time and also, to improve the application in terms of usability.


More recommendations/tute suggestions please :)


thank you :)

K. Akimoto


Quoting Jonathan Rockway <jon at jrock.us>:

> * On Fri, Mar 06 2009, Francesc Romà i Frigolé wrote:
> > On Fri, Mar 6, 2009 at 6:43 AM, <kakimoto at tpg.com.au> wrote:
> >
> >     hello there,
> >
> >      I would like to use AJAX in my catalyst app. Any good
> references/tutes
> >     to recommend?
> >
> >     thanks.
> >
> >     K. akimoto
> >
> > Hello,
> >
> > Depends on what do you want to do with AJAX. For example, if you
> want to do forms, I
> > think it is a bit more complicated than suggested in previous
> replies.
> >
> > Ideally, for forms, you'd like to have some modules that magically
> initialize your
> > forms with data from your model, then render a nice form with your
> favorite JS toolkit,
> > using  AJAX for things like auto-complete with data from your
> model, validate the forms
> > both on the client and on the server, and then update your model
> with the user
> > submitted data.
> >
> > So far, I haven't found anything that does this for my tools of
> choice: DBIx::Class +
> > Dojo
> 
> We use JSORB for forms.
> 
> http://search.cpan.org/~stevan/JSORB-0.01/
> 
> Obviously, you are responsible for writing the JSORB endpoints, but
> that's just a Simple Matter Of Metaprogramming (and is better than
> fighting with form builders that don't quite work right).
> 
> Regards,
> Jonathan Rockway
> 
> --
> print just => another => perl => hacker => if $,=$"
> 
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
> 
> 
> 






More information about the Catalyst mailing list