On 7/1/07, Mathew <[EMAIL PROTECTED]> wrote:
cldmismgr wrote:
> On Jul 1, 1:05 am, [EMAIL PROTECTED] (Mathew Snyder) wrote:
>> Does anyone know what the best route to creating graphs using AJAX and Perl
>> would be? I've been running various searches on this and haven't found any
>> solid information on how to make this happen.
>>
>> Thanks
>> Mathew
>> --
>> Keep up with me and what I'm up to:http://theillien.blogspot.com
>
> search.cpan.org
> enter graph in the search field
>
>
I'm aware of that but, it doesn't address my request. I'm not
interested in just graphing modules. I'm interested in knowing about
using Perl's graphing capabilities as a backend for AJAX.
Mathew
Keep up with my goings on at http://theillien.blogspot.com
Matthew,
I think the point there was to find a graphing module you like, and go
from there. As far as the back end is concerned, and "AJAX" (a.k.a.
xmlhttp) request is just like any other http request. the client--in
this case a javascript script--requests information from the server.
Any server technology can handle AJAX, from plain old CGI.pm to the
big frameworks like Catalyst. Any of the templating systems like TT or
Mason can output data data in any format you need.
So, find a graphing system you're comfortable with. Then decide if
this is a small project you wat to code directly as CGI or mod_perl,
or a largr project you want to use a framework or CMS to build. Then
decide which framework wnd which templating system, if any.
Personally, I like the combination of Maypole and Template Toolkit.
but that's just a personal preference. Anything that can send data to
a web browser can serve XML or JSON data to and AJAX script.
For graphing, I think most AJAX application actually use javascript to
draw in the client, rather than passing pre-made images from the
server, but if you're doing complex graphing, any thing that produces
an image format browsers can read will work.
HTH,
-- jay
--------------------------------------------------
This email and attachment(s): [ ] blogable; [ x ] ask first; [ ]
private and confidential
daggerquill [at] gmail [dot] com
http://www.tuaw.com http://www.downloadsquad.com http://www.engatiki.org
values of β will give rise to dom!