[Catalyst] Ajax
Javier E. Perez P.
templeofdvst at gmail.com
Sun Aug 5 03:44:30 GMT 2007
El vie, 03-08-2007 a las 10:47 +0300, Octavian Rasnita escribi=F3:
> 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 =3D [ map { { id =3D> $_->id, name =3D> $_->name} }
$c->model('tegzDB::Author')->search({ name =3D> { like =3D> '%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: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.or=
g/
> Dev site: http://dev.catalyst.perl.org/
-- =
Javier E. P=E9rez P.
Maracay - Venezuela
http://dvst.wordpress.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =3D?ISO-8859-1?Q?est=3DE1?=3D firmada
digitalmente
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070804/6281=
0869/attachment.pgp
More information about the Catalyst
mailing list