I'm curious what fails and how when you use UJS with Haml. Can you give 
an example?

s.ross wrote:
> Thanks for the reply. That post was what originally got me looking at 
> jQuery and at UJS. I created test jQuery project that implemented a 
> small subset of zippy effects from one of my recent "real" projects. I 
> then redid the exact same project in Prototype/Scripty using the same 
> unobtrusive techniques. I'm not sold on jQuery. Prototype 1.6 does all 
> the selector magic that jQuery does and has the singular strength that 
> it almost feels like Ruby so I'm not constantly doing vocabulary 
> shifting. Also, and perhaps more important, Prototype implements 
> support for some measure of object-oriented programming.
>
> UJS just does a bit of cool magic under the covers. Heck I can do it 
> myself in Proto/Scripty like I would have to with jQuery. I just 
> figured if it was supported by a plugin and if the plugin was 
> worthwhile and if there was any reason Haml should work with the 
> plugin, maybe it should be looked into end end end.
>
> Cheers,
>
> --s
>
>
> On Jan 15, 2008, at 1:03 PM, Evgeny wrote:
>
>> UJS is a fairly old plugin, and I am not sure about how it's 
>> maintained regarding the latest updates that come to rails.
>>
>> For a powerful unobtrusive javascript that does not get outdated, you 
>> might want to read this:
>> http://errtheblog.com/posts/73-the-jskinny-on-jquery
>>
>>
>> On Jan 15, 2008 8:49 PM, s.ross < [EMAIL PROTECTED] 
>> <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>
>>     The UJS plugin rewrites a bunch of Rails helpers. Unfortunately,
>>     this
>>     breaks Haml -- and probably every other templating language. Has
>>     anyone had any experience with UJS? Is it worth looking into creating
>>     an optional set of Haml helpers to dovetail with their functionality?
>>
>>     Thx
>>
>>     --s
>>
>>
>>
>>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to