Posts Tagged ‘joR’
jQuery on Rails, pt 3
Well, jQuery 1.1 is out.
It has native jQuery.noConflict to simplify the integration into other systems.
Unfortunately, I don’t think joR is out yet. The launchpad still doesn’t point anywhere.
On a related note, my other two posts on joR are in the top 5 for a google search for ‘jQuery on Rails’! Somehow! I don’t know how! Yea!
Sorry.
You there, Steve? No more jQuery.js hacking necessary!
jQuery on Rails, pt 2
There ya go. Steve, over at b.lesseverything.com, has given to the public the secret to unlocking the awesome power of jQuery within the also awesome power of Ruby on Rails.
He has an excellent quote which I would like to reproduce in all its excellence here:
[P]rototype now makes me feel like I feel when I am writing c# code, I’ll leave it to your imagination what that feels like.
Go. Read the post. And then chuckle to yourself as you imagine all the new, cool stuff you can do.
Ha… world domination, here I come!
[Edit] Part three of this saga is at jQuery on Rails, pt 3
jQuery on Rails
So, I really like jQuery and it’s clever extensions of bad old javascript. So, obviously, I’ve been looking at ways to integrate it with Ruby on Rails.
Now, me being a RoR newbie, I didn’t realize that it has it’s very own ajax-y extension to Javascript, namely, Prototype. And while I’m sure it’s very powerful and extensible and all that, my thoughts on it can be summed up in a quote from Yehuda Katz’s excellent blog post on this topic:
In fact, the difference in sensibilities [between Prototype and jQuery] is very similar to the difference in sensibilities between Java and Ruby, so it’s ironic that the Rails community has embraced Prototype so completely.
Ya.
So, of course, I now need to find a way to integrate jQuery with Rails. Katz’s jQuery on Rails project mentioned in the above post seemed promising, but I couldn’t find any live examples anywhere. So I turned to the always,-well-not-really-but-usually useful IRC.
stevenbristol on #jQuery said that no, no ones’s sure of what happened to joR (that abbreviation, as far as I can tell, is new. It should be interesting if it takes off in the same way RoR did.) He walked me through getting jQuery and Prototype to play nicely, and pointed me to his (brand-spanking) new blog, http://b.lesseverything.com/. As of posting, it has exactly one post, which is his introduction. He says those steps for getting jQuery to play nicely with Prototype will be posted there in a few days, so I won’t steal his thunder.
Anyway, I have just committed revision 12 of my ITGS project, now with jQuery, a cleaned up stylesheet, and a global application layout.
To finish off, some very basic jQuery goodness!
[Edit] WordPress doesn’t allow me to use Javascript. I understand their reasons, but still…
[Edit*2] Part two of this saga is at jQuery on Rails, pt 2
On svn and jQuery
So I’ve been fooling around with svn for a while, but yesterday I decided to start my own svn repository.
This repo contains my project for ITGS, which is currently in a state the exact opposite of near completion (thank you, NTFS bugs when resizing a partition). I will be working on that majorly over the holidays, and I hope to have it in a pretty, usable, state by the time I go back to school. I’ve been reading the SVN book, which is actually available from an svn repo. They eat their own cake. Mmm, cake.
Anyway, the SVN book is very useful and interesting. SVN seems extremely powerful, though not limitless. (Branching and merging seem to be two situations where they could use some abstraction.)
Any of you know Draicone? I met him in real life yesterday. Um.. the difference between us can be expressed as ‘Where I [don't] lurk, he works’.
He pointed me to an interesting newfangled thing called jQuery. It looks very useful for AJAX-y effects, and I’m probably going to be using it now.
….oooh, slidy showing with realtime wrapping!



