Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

Need more stuff for HTML::Ajax!

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


sriatoook.de

Apr 7, 2005, 1:30 AM

Post #1 of 7 (723 views)
Permalink
Need more stuff for HTML::Ajax!

Hi,

You may have noticed that i released HTML::Ajax and
Catalyst::Plugin::Ajax to CPAN.
HTML::Ajax actually just contains a oo ajax implementation and a helper
to observe single fields.

I would like to add much more!

So if you've got something cool lying around, post it here.

Very nice would be an ajax link generator or even a extended observer
for whole forms with all fields... ;)

--
sebastian


alan.humphreyatcomcast.net

Apr 7, 2005, 1:49 AM

Post #2 of 7 (688 views)
Permalink
Need more stuff for HTML::Ajax! [In reply to]

And if you're wondering what the heck the big deal is about Ajax, here's
a primer:

http://www.adaptivepath.com/publications/essays/archives/000385.php


-----Original Message-----
From: catalyst-bounces [at] lists
[mailto:catalyst-bounces [at] lists] On Behalf Of Sebastian
Riedel
Sent: Wednesday, April 06, 2005 3:31 PM
To: catalyst [at] lists
Subject: [Catalyst] Need more stuff for HTML::Ajax!

Hi,

You may have noticed that i released HTML::Ajax and
Catalyst::Plugin::Ajax to CPAN.
HTML::Ajax actually just contains a oo ajax implementation and a helper
to observe single fields.

I would like to add much more!

So if you've got something cool lying around, post it here.

Very nice would be an ajax link generator or even a extended observer
for whole forms with all fields... ;)

--
sebastian


_______________________________________________
Catalyst mailing list
Catalyst [at] lists
http://lists.rawmode.org/mailman/listinfo/catalyst


sriatoook.de

Apr 8, 2005, 8:32 PM

Post #3 of 7 (684 views)
Permalink
Need more stuff for HTML::Ajax! [In reply to]

Am 07.04.2005 um 01:30 schrieb Sebastian Riedel:

> Hi,
>
> You may have noticed that i released HTML::Ajax and
> Catalyst::Plugin::Ajax to CPAN.
> HTML::Ajax actually just contains a oo ajax implementation and a
> helper to observe single fields.
>
> I would like to add much more!
>
> So if you've got something cool lying around, post it here.
>
> Very nice would be an ajax link generator or even a extended observer
> for whole forms with all fields... ;)

Ok, i've updated HTML::Ajax... :)

SYNOPSIS
use HTML::Ajax;

my $ajax = HTML::Ajax->new;
print $ajax->library;
print $ajax->form_tag( $id, $url, $update );
print $ajax->observe_field( $id, $url, $frequency, $update,
$param ); print $ajax->observe_form( $id, $url, $frequency,
$update );
print $ajax->link_to( $url, $text, $update );
print $ajax->link_field( $id, $url, $text, $update, $param );

DESCRIPTION
Some stuff to make Ajax fun. It's just a good beginning, more
little
helpers will come soon.

METHODS

$ajax->library

Returns our library of Javascript functions and objects, in a
script
block.

$ajax->form_tag( $id, $url, $update )

Returns a opening form tag using ajax instead of POST.

id = DOM id for form
url = url to request
update = DOM id to change innerHTML with responseText

$ajax->observe_field( $id, $url, $frequency, $update, $param )

Observes a field and makes a request for changes.

id = DOM id of field to observe
url = url to request
frequency = frequency for observation (defaults to 2)
update = DOM id to change innerHTML with responseText
param = name of parameter for request (defaults to value)

$ajax->observe_form( $id, $url, $frequency, $update )

Observes a whole form with all fields and makes a request for
changes.

id = DOM id of form to observe
url = url to request
frequency = frequency for observation (defaults to 2)
update = DOM id to change innerHTML with responseText

$ajax->link_to( $url, $text, $update )

Creates a link that makes a request when pressed.

url = url to request
text = link text or html
update = DOM id to change innerHTML with responseText

$ajax->link_field( $id, $url, $text, $update, $param )

Creates a link that submits a field value when pressed.

id = DOM id of field to observe
url = url to request
text = link text or html
update = DOM id to change innerHTML with responseText
param = name of parameter for request (defaults to value)

$ajax->raw_library

Returns our library of Javascript functions and objects.

--
sebastian


josenyimiatskynet.be

Apr 8, 2005, 8:48 PM

Post #4 of 7 (689 views)
Permalink
Need more stuff for HTML::Ajax! [In reply to]

> -----Message d'origine-----
> De?: catalyst-bounces [at] lists [mailto:catalyst-
> bounces [at] lists] De la part de Sebastian Riedel
> Envoy??: vendredi 8 avril 2005 20:33
> ??: Catalyst List
> Objet?: Re: [Catalyst] Need more stuff for HTML::Ajax!
>
>
> Ok, i've updated HTML::Ajax... :)

Where ? :)


sriatoook.de

Apr 8, 2005, 9:03 PM

Post #5 of 7 (687 views)
Permalink
Need more stuff for HTML::Ajax! [In reply to]

Am 08.04.2005 um 20:48 schrieb Jose Nyimi:

>
>
>> -----Message d'origine-----
>> De?: catalyst-bounces [at] lists [mailto:catalyst-
>> bounces [at] lists] De la part de Sebastian Riedel
>> Envoy??: vendredi 8 avril 2005 20:33
>> ??: Catalyst List
>> Objet?: Re: [Catalyst] Need more stuff for HTML::Ajax!
>>
>>
>> Ok, i've updated HTML::Ajax... :)
>
> Where ? :)

svn, but should reach the cpan mirrors soon... ;)

--
sebastian


jc5826atgmail.com

Apr 11, 2005, 4:34 PM

Post #6 of 7 (684 views)
Permalink
Need more stuff for HTML::Ajax! [In reply to]

> So if you've got something cool lying around, post it here.
>

This is the first time I've heard the term Ajax. Without knowing it
I've also been influenced by some of the stuff by Google and had
started to do Ajax things using XMLHttpRequest;

One thing I found very useful was the Data::JavaScript CPAN module,
where I'm able to supply a Perl data structure and get back a
Javascript output from it. This was important in creating a more
generic Javascript middle tier which made a request to the server and
simply provided the output to a calling javascript application. I
started thinking of this middle tier in the same way I view XML::RPC
requests. I think this interaction can be formalized a bit more --
especially since now that I'm aware of the concept of Ajax.


josenyimiatskynet.be

Apr 14, 2005, 11:46 PM

Post #7 of 7 (687 views)
Permalink
Need more stuff for HTML::Ajax! [In reply to]

> -----Message d'origine-----
> De : catalyst-bounces [at] lists
> [mailto:catalyst-bounces [at] lists] De la part de
> Alan Humphrey
> Envoy? : jeudi 7 avril 2005 01:50
> ? : 'Sebastian Riedel'; catalyst [at] lists
> Objet : RE: [Catalyst] Need more stuff for HTML::Ajax!
>
>
> And if you're wondering what the heck the big deal is about
> Ajax, here's a primer:
> http://www.adaptivepath.com/publications/essays/archives/000385.php

I would like also to add:
https://bpcatalog.dev.java.net/nonav/ajax/ajax.html
And this discussion on the same at
http://theserverside.com/news/thread.tss?thread_id=33319

BR,
Jos?.

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.