El vie, 03-08-2007 a las 10:47 +0300, Octavian Rasnita escribió:
> Hi,
> 
> Which of the Ajax modules do you recommend using in a Catalyst app?
> I am interested especially to know which of them work better with 
> Template-Toolkit and DBIx::Class.
> 

I particularly use jQuery, the way that i pass the data from the
controller to the view is like this

my $obj = [ map { { id => $_->id,  name => $_->name} }
$c->model('tegzDB::Author')->search({ name => { like => '%javier
%' } }) ] ;

$c->res->body(objToJson($opciones));

and it return a json that I work with jQuery.getJSON in the template

> For the moment I am not interested in the most advanced, but in the most 
> simple to use by someone that doesn't know Javascript very well.
> 
> Thank you.
> 
> Octavian
> 
> 
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
-- 
Javier E. Pérez P.
Maracay - Venezuela
http://dvst.wordpress.com

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to