PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > Re: AJAX without Rails
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: AJAX without Rails

Réponse
 
LinkBack Outils de la discussion
Vieux 20/11/2007, 18h06   #1
Deepak Vohra
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: AJAX without Rails

Note: parts of this message were removed by the gateway to make it a legal Usenet post.

Ruby on Rails is the only Ajax framework for Ruby.
http://ajaxpatterns.org/Ruby_Ajax_Frameworks

Miki Vz <mikisvaz@yahoo.com> wrote:
Isn't this precisely a rails tutorial? I'm trying not to use rails,
since I really have no database or anything.


Deepak Vohra wrote:
> http://www.regdeveloper.co.uk/2007/0...ails_tutorial/
>
> Miki Vz wrote: Actually, I'm not sure I'm using
> eruby, I'm using mod_ruby and
> generating the html with markaby. I'm a bit lost with all the technology
> :p.


--
Posted via http://www.ruby-forum.com/.



  Réponse avec citation
Vieux 20/11/2007, 18h14   #2
Alex Young
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: AJAX without Rails

Deepak Vohra wrote:
> Ruby on Rails is the only Ajax framework for Ruby.
> http://ajaxpatterns.org/Ruby_Ajax_Frameworks

I don't think that's quite true - doesn't Nitro have AJAX support?

--
Alex

>
> Miki Vz <mikisvaz@yahoo.com> wrote:
> Isn't this precisely a rails tutorial? I'm trying not to use rails,
> since I really have no database or anything.
>
>
> Deepak Vohra wrote:
>> http://www.regdeveloper.co.uk/2007/0...ails_tutorial/
>>
>> Miki Vz wrote: Actually, I'm not sure I'm using
>> eruby, I'm using mod_ruby and
>> generating the html with markaby. I'm a bit lost with all the technology
>> :p.

>



  Réponse avec citation
Vieux 21/11/2007, 01h54   #3
John Joyce
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: AJAX without Rails

AJAX is simply what the name implies:
Asynchronous Javascript And Xml
It means using Javascript for DOM scripting (changing the structure
of the document or web page) and using Javascript to send xml
requests to a remote location (the server the site comes from)
That's it.
You can implement AJAX with or without Rails.
With or without Ruby.
Ruby and AJAX are not aware of each other.
Ruby is on the server responding to requests.
Javascript and html are sent to the client.
Javascript can send requests to the server.

You can totally do this without Rails or Nitro or whatever.
It is about serving pages with Javascript in them.
Check out Scriptaculous, Prototype, Mochikit, etc...
On Nov 20, 2007, at 12:14 PM, Alex Young wrote:

> Deepak Vohra wrote:
>> Ruby on Rails is the only Ajax framework for Ruby.
>> http://ajaxpatterns.org/Ruby_Ajax_Frameworks

> I don't think that's quite true - doesn't Nitro have AJAX support?
>
> --
> Alex
>
>> Miki Vz <mikisvaz@yahoo.com> wrote:
>> Isn't this precisely a rails tutorial? I'm trying not to use
>> rails, since I really have no database or anything.
>> Deepak Vohra wrote:
>>> http://www.regdeveloper.co.uk/2007/0...ails_tutorial/
>>>
>>> Miki Vz wrote: Actually, I'm not sure I'm using eruby, I'm using
>>> mod_ruby and
>>> generating the html with markaby. I'm a bit lost with all the
>>> technology
>>> :p.

>
>



  Réponse avec citation
Vieux 21/11/2007, 08h57   #4
Alex Young
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: AJAX without Rails

John Joyce wrote:
> AJAX is simply what the name implies:
> Asynchronous Javascript And Xml
> It means using Javascript for DOM scripting (changing the structure of
> the document or web page) and using Javascript to send xml requests to a
> remote location (the server the site comes from)
> That's it.
> You can implement AJAX with or without Rails.
> With or without Ruby.
> Ruby and AJAX are not aware of each other.
> Ruby is on the server responding to requests.
> Javascript and html are sent to the client.
> Javascript can send requests to the server.
>
> You can totally do this without Rails or Nitro or whatever.
> It is about serving pages with Javascript in them.
> Check out Scriptaculous, Prototype, Mochikit, etc...

This is true; however I understood the question to be asking whether
there were any Ruby frameworks that specifically with the
server-side part of the equation. Rails' integration with Scriptaculous
and Prototype is one example, but the OP mentioned that wasn't
appropriate. I was attempting to provide an alternative - I understand
that Nitro's AJAX support is comparable.

--
Alex

> On Nov 20, 2007, at 12:14 PM, Alex Young wrote:
>
>> Deepak Vohra wrote:
>>> Ruby on Rails is the only Ajax framework for Ruby.
>>> http://ajaxpatterns.org/Ruby_Ajax_Frameworks

>> I don't think that's quite true - doesn't Nitro have AJAX support?
>>
>> --
>> Alex
>>
>>> Miki Vz <mikisvaz@yahoo.com> wrote:
>>> Isn't this precisely a rails tutorial? I'm trying not to use rails,
>>> since I really have no database or anything.
>>> Deepak Vohra wrote:
>>>> http://www.regdeveloper.co.uk/2007/0...ails_tutorial/
>>>>
>>>> Miki Vz wrote: Actually, I'm not sure I'm using eruby, I'm using
>>>> mod_ruby and
>>>> generating the html with markaby. I'm a bit lost with all the
>>>> technology
>>>> :p.

>>
>>

>
>



  Réponse avec citation
Vieux 22/11/2007, 00h00   #5
James Britt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: AJAX without Rails

Alex Young wrote:
> Deepak Vohra wrote:
>> Ruby on Rails is the only Ajax framework for Ruby.


That's a laughable claim.

>> http://ajaxpatterns.org/Ruby_Ajax_Frameworks

> I don't think that's quite true - doesn't Nitro have AJAX support?



Yes.

And it's easy enough to do in Merb, Camping, Ramaze, et al if they do
not also have it baked in.

--
James Britt

"Every object obscures another object."
- Luis Bunuel

  Réponse avec citation
Vieux 27/11/2007, 21h44   #6
Benjohn Barnes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: AJAX without Rails


On 22 Nov 2007, at 00:00, James Britt wrote:

> Alex Young wrote:
>> Deepak Vohra wrote:
>>> Ruby on Rails is the only Ajax framework for Ruby.

>
> That's a laughable claim.


That expression always makes me think of this:

http://xkcd.com/123/





  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h23.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,16057 seconds with 14 queries