Ruby On Rails Goes 1.1 255
MrByte420 writes "The Ruby On Rails team today released version 1.1 of the web framework. From the announcement: 'Rails 1.1 boasts more than 500 fixes, tweaks, and features from more than 100 contributors. Most of the updates just make everyday life a little smoother, a little rounder, and a little more joyful.' New features were examined back in February at Scottraymond.net and include Javascript/AJAX integration, enhancements to active record, and enhanced testing suites. Not to mention upgrading this time promises to be a piece of cake."
Ruby Tutorials (Score:5, Informative)
Re:Getting started (Score:5, Informative)
Re:Getting started (Score:2, Informative)
Re:Getting started (Score:5, Informative)
Or, if you're on the lazy side of things, you can try it right within your browser here: http://tryruby.hobix.com/ [hobix.com]
I hope this helps.
Re:Getting started (Score:2, Informative)
The first edition is available online [rubycentral.com]. You don't need to buy the second edition unless you are really serious about learning Ruby. The first will do for evaluating the language and playing around with Rails. And if you really want to learn Rails (after going through the tutorials [digitalmediaminute.com]), Agile Web Development with Rails [pragmaticprogrammer.com] is the book I recommend.
Javascript is insecure - AJAX is security hole (Score:3, Informative)
The problem isn't that you can't write secure Javascript code - you can. The problem is that if anybody wants to *use* your nice secure AJAX/RAILS/etc. application, they need to turn Javascript ON in their browser, which means they're vulnerable to maliciously-written Javascript on any other web pages they visit.
There's no easy way around the problem if you want to run the new cool AJAX applications, and there's a lot you can do with a programming model that makes it easy to distribute functions between the client and the server. For Mozilla users, it's probably possible for somebody to implement per-site permissions for Javascript the way they do for cookies, images, etc. For IE, though, you're just toast.
Re:Getting started (Score:2, Informative)
But if you do mean that you want to see Ruby executed, an online interpreter [hobix.com] is available.
If you're asking for examples of what Rails can do, it can do only what you can do using any other language on the server-side, only much faster and with cleaner code.
Re:Javascript is insecure - AJAX is security hole (Score:5, Informative)
Re:Upgrading (Score:4, Informative)
http://developer.apple.com/tools/rubyonrails.html [apple.com]
This seems good for layman understanding (Score:5, Informative)
Re:Upgrading (Score:3, Informative)
If you want Ruby on Rails 1.1:
No problem / Noscript (Score:5, Informative)
Re:Ruby Apps (Score:5, Informative)
Re:Kudos to RoR... (Score:2, Informative)
I also question your use of the term "mainstream." One person's niche technology is the next person's mainstream one. There are different market segments for development frameworks and technologies. Ones that require the sort of transaction, security, and connectivity capabilities that exist in Java EE would find RoR severely lacking. As you found out, stand-alone web apps with low numbers of concurrent users don't need the security, transaction, and connectivity support in Java EE, so those developers don't use it.
Zope - What RoR wants to be when it grows up. (Score:3, Informative)
Mind you RoR is cool compared to j2EE. Then again, it's allmost as if C is cool when compared to J2EE. J2EE sucks big time for server side web - even the Java Gurus agree on that. End of discussion, no news here.
But RoR isn't the end all of ssi frameworks. Django is at least as good (I'd say better and cleaner than RoR) and Zope has been around since the ninties and still is years ahead of the rest. People with an overview over the technologies generally agree on that. I had a story submission (rejected) on that the other week. Check out the linked webcast, it's a very interessting analysis of a set of technologies and solutions:
|||||
Nasa/JPL Web Framework Shootout
In an educative and entertaining webcast [nasa.gov], Sean Kelly, a Nasa/JPL software engineer, goes into the details of a project based comparsion between a set of web application frameworks and servers. Including the much hyped Ruby on Rails [rubyonrails.org] and Django [djangoproject.com]. Various Java technologies, Ruby on Rails, Django, TurboGears [turbogears.org] and Zope [zope.org] are covered. Details and traits of each are mentioned. For people involved with web developement there are not to many suprises though, yet the presentation and Kellys commenting are fun to watch.
In a nutshell: EJB [sun.com], Hibernate [hibernate.org] and various other Java [sun.com] flavours fail spectacularly, Zope scores a clear victory with Django, RoR and TurboGears relatively close behind. Development speed, error-gotchas, the need for hand-tweaking and the requirement of handwritten SQL and available documentation go into the measuring. As does an overall tongue-in-check "fun-factor". The details are interessting though. TurboGears 'error-driven' developement gets a positive review, RoRs automated controller generation aswell and Zope gets a complete rundown on it's astounding set of features. In the end long-time Java developer Kelly convinces us that - no matter what we do - we really, positively, don't want to use EJB [softwarereality.com] or Hibernate for this kind of stuff. Very entertaining and informative indeed.
|||||
Re:Getting started (Score:3, Informative)
This is an example of a more general syntax-vs-semantics tradeoff in programming languages. Sure it's impressive how little code you have to write, but the other side of this is that the required understanding per line of code density is higher.
Upgrading IS painful (Score:1, Informative)
Re:Javascript is insecure - AJAX is security hole (Score:2, Informative)
Re:I haven't heard much (Score:2, Informative)
Re:Zope - What RoR wants to be when it grows up. (Score:5, Informative)
Except he got more than a few things wrong. To pick one example, he seems to be under the impression that Django doesn't support i18n/l10n when, in fact, we ship all the core Django applications with support for twenty-odd languages, and Django uses an extensible gettext-based system to make it easy to translate third-party apps and add new languages. We even include an i18n JavaScript library to make translation strings available to JS code. Our admin app even has a setting that chooses which language to render a page with based on the incoming Accept-Language header.
Moral of the story: nice video, but the guy hasn't necessarily done his homework.
See it & Try it & You're a Star? (Score:4, Informative)
And if you want a free cPanel/SSH account to download the new Rails version in to see what the craziness is all about - check out www.HostingRails.com [hostingrails.com]
I think its safe to say that Ruby on Rails is the fastest growing Web 2.0-friendly framework - and for good reason. I mean c'mon - the average developer can pick up a few Rails tutorials and have a working demo app (w/ CRUD scaffold action and such) on their local box in a few minutes. Throw in some easily-incorporated Prototype [conio.net] and Scriptaculous [aculo.us] effects, and this developer is the new cool kid on the block.
Crazy
~JoeRails