Ruby On Rails Goes 1.1
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."
Let me be the first (or not) to say congrats to the dev team. I am sure this will make it easier to connect people, make money, and functionality online.
http://www.digitalmediaminute.com/article/1816/top -ruby-on-rails-tutorials
___ Shout Central - Crushes your nuts!
First, despite what some people say, I think you really have to learn the Ruby language first. Yes, you can get by coding 'by rote' but a deep understanding of this really elegant language will help a lot. Second, there are some great tutorials at the Ruby on Rails site but I think the best is the Agile Web Development with Rails book, though it hasn't yet been updated with the new Rails 1.1 features.
-- "Those who cast the votes decide nothing. Those who count the votes decide everything." -Joseph Stalin
It is nice to see them add the AJAX / JavaScript integration. I would like to see more frameworks include a mature AJAX framework to facilitate more dynamic interaction. To date the best I have seen so far is Echo2 which incorporate an event driven architecture that allows for seamless integration of client side events transmitted to the server side architecture. In all good show, I hope more frameworks will follow suit.
Programming Ruby - a free ruby eBook - http://www.rubycentral.com/book
This is a good place to start: http://poignantguide.net/ruby/ and then perhaps this: http://www.pragmaticprogrammer.com/titles/ruby/ (Either one is good -- I used the latter)
Or, if you're on the lazy side of things, you can try it right within your browser here: http://tryruby.hobix.com/
I hope this helps.
Not trying to insult or anything, but did you RTA? I believe the TFA points to the ruby on rails website which has plenty of resources. One of the links across the top labeled "screencasts" even has videos you can watch.
The book is Programming Ruby. That's the second edition.
The first edition is available online. 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), Agile Web Development with Rails is the book I recommend.
To me, an intermediate PHP coder, it seems like a great way to move forward with developing new apps. Lots of redundancy in my PHP, and so I'm seeking a simpler, more elegant solution. Of course, that's partly due to my non-expert programming skills, but I'm switching over nonetheless. So, I guess you could say that it's gaining a following. The question is, as you point out rightly, how many sites have used it in their framework?
Perhaps there's no good answer, as commercial hosts are only now finally intergrating the Ruby code into their servers. But that they've elected (for example, Site5, my own host) to include the Rails in their hosting options seems to indicate that it's growing...
We're using it for indi with a PostgreSQL back end. It's working pretty well so far, even with a Jabber server hitting the same database.
The Army reading list
the Ruby doc site http://www.ruby-doc.org/
and yes go for the chunky bacon http://poignantguide.net/ruby/
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.
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
I'm not sure what you mean by a website that can show off what the language can do. Ruby, the language is independent of the Ruby on Rails framework.
But if you do mean that you want to see Ruby executed, an online interpreter 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.
Any other former Java programmers relate?
Along with the API documentation, I found the book "Agile Web Development with Rails" highly beneficial. For a while there, it was the only definitive, concise source of Rails examples.
Even if you're skeptical of the Rails hype, I encourage any developer worth their salt to sit down with it for a weekend. The whole concept of convention over configuration can be a bit mind bending, especially if you're use to Java's XML hell. It's always beneficial to force your brain to adapt to new languages; it encourage contrarian thinking when considering new solutions.
Jim http://www.runfatboy.net/ -- Exercise for Web 2.0.
For now Windows-based implementations are a "piece of cake." But in time Mac OS X will be as well. This RoR project is still relatively young so I think the hype is moving forward faster than the underlying technology. Nevertheless a good thing to investigate...
This posting only serves to remind me what an API junkyard web programming has become. Let's see, we need server side Ruby to transmit and execute Javascript that manipulates a DOM to emit HTMP, gracefully degrading features for anachronistic browers. Zowie!
an ill wind that blows no good
I recently finished the Pick Axe book 2nd ed and would highly recommend it. Like one of the other replies notes, it's a Ruby book, not a Rails book, but I agree you should learn Ruby first. The first edition of this book is available for free on the web at various locations (eg: http://www.rubycentral.com/book/). I started using this several years ago but got sidetracked. The recent Rails fuss has grabbed my attention again, so I finally sat down and dug in. It's now my language of choice for most programming tasks (quickly replacing Perl altogether for my needs). I've yet to do any Rails work, but have a few personal projects in mind that might be good testing for it. Ruby definitely stands on it's own as a language, Rails is just a beautiful use of a beautiful language.
Cheers.
-Ben
Penny Arcade is using it since a few weeks. I don't know if the glitches with the site lately have anything to do with that, but Tycho sometimes mentioned them himself. So, a new release should be welcome to them.
Remember when folks ridiculed Java for being a silly, slow, toy that would never be ready for prime-time with no ide's and useless(cr)applets?
It seems like only yesterday, wait, it was.
The OS X problem is that Apple shipped an old and somewhat broken version of Ruby. I'm sure that now that Rails is getting more attention, that will be fixed in the next release of OS X... Ocelot or Liger or whatever it is.
http://developer.apple.com/tools/rubyonrails.html
GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
... May this be yet another nail in the coffin of the life-sucking tedium that is J2EE.
Ruby started to gain popularity about 5 years ago when the following article was published:
Programming in Ruby
Dr. Dobb's Journal January 2001
A freely available pure object-oriented language
By Dave Thomas and Andy Hunt
(you can't read the whole thing without an account so no link)
Granted, it's been around for over a decade, but it took a while before it got attention outside Japan.
Nobody. They're all to busy hyping it and posting on slashdot about how great it is. Meanwhile all us PHP/JSP/ASP/whatever programmers are off actually making web applications.
OSX already has Locomotive for that.
I would suggest 'Programming Ruby'. The first edition can be read online here: http://www.rubycentral.com/book/
:) Ruby is an excellent Windows or Unix sys admin language or a great general purpose programming language or a scientfic/computational language as well. Rails simply demonstrates Ruby's power and flexibility.
Ruby is a wonderful language that is very flexible. I came to it from Python. I enjoy using both languages, but Ruby has replaced Python as my 'home' language. I don't do web devel.... there's much more to Ruby than Rails
Ruby will be around for a long time.
http://developer.apple.com/tools/rubyonrails.html Found that link on the ruby on rails site and it was the best description for a non techie like me that I could find in fast.
OMG Ponies!!! with Glitter!!!! I miss Pink
I haven't heard much about Ruby since the (geek) media blitz of over a year ago. How many people actually use Ruby on Rails? I see the same thing happening with AJAX.
Its the way geeks do things.
It reminds me back in the late 90s when everything was Java!!!
It reminds me of even further back in high school.
Back then, everybody was interested in sex, talked about sex, wanted sex, but nobody was doing sex.
Same thing with Java in the late 90s and Ruby today, and AJAX tomorrow.
If you want Ruby on Rails 1.1:
"The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
The noscript firefox extension lets you forbid execution of javascript/java/flash by default and only enable it again for some sites (whitelist). Internet Explorer has "Trusted Sites" or something.. So all in all that is not that much of a problem..
while (!asleep()) sheep++
I'm not a Ruby developer, the most I've done is just skimmed over some Ruby tutorials. I like the ease and simplicity of the Ruby syntax.
Is it possible to make stand-alone, executable apps in Ruby? What about GUI?
I'm coding a large-scale site in RoR right now. It'll be deployed across three Lighttpd servers with two MySQL servers. I'm about three weeks into the site and I've probably saved a month of work already over how long it'd take me to do the same work in Java or PHP.
Rails' efficiency won't continue to be that high as I get more into the business logic and smaller details, but for the data layers that I'm doing now Rails blows away anything else. I'll still be at least 50% ahead of where I'd be using Java and PHP when it's finished. The code will be way cleaner because Ruby is a better designed language than either Java or PHP. It'll be a snap to add features later, which is the problem we're currently having with our site and its 20,000+ lines of PHP code.
I've coded and managed Java and PHP sites. PHP is easier to work with than Java for most small to medium sites and Java can be easier on large sites. Neither of them are better than Rails for any size site.
I predict that Ruby on Rails will become the big third competitor in the market for building web apps. Java will still be bigger on the very high end because of EJBs and the need to interface with legacy systems and PHP will still be bigger on the low end because it's easier to learn since you don't need to know OOP to get started. Ruby on Rails will be the language/framework that finally fits into that middle market where most medium to large businesses are. PHP's code is too messy to work there without a lot of coder discipline and either a custom or well-done Open Source framework and Java is just too complicated.
The global economy is a great thing until you feel it locally.
You need to work on some performance enhancements. That front page of indi loads unbelievably slow. Rails is really easy. I'm worried about the first time my sites get /.ed though. Ruby needs that JIT interpreter bad.
Everyone raves about the poignant guide, but I found that after reading it for 20 minutes, I hadn't done much except read stories and comic strips. I really didn't have much of an appreciation for the language.
There's something to be said for making a potentially dry subject interesting, but it seems to go too far with it and actually spread the actual information too thin.
Just my opinion, of course.
As I see it , even if GoogleOS will not become the desktop standart , Google is heading in the direction of enabling many of the functions currently availble only as installed applications , through a web browser . Writely and Gmail are both AJAX based , and these are a word processor and a IM/Email application , both clearly target desktop-application dominated markets. To understand it better , you might want to use Gmail through a simple Javascript disabled interface (it is also supported, through basic HTML view) and see how it behaves . I believe that everything that is not content, will be delivered using an AJAX based interface in the near future .
My Starcraft 2 Blog
Interesting comment. I'm curious about how Rails manages to save so much time as compared to PHP and the like. I don't have Rails experience and I've only just messed with Ruby enough to do a few Hello, World type things. What is it about the Rails approach that saves all the time and effort? I frequently see those claims, but it's a little harder to get solid, real-world examples.
Hexy - a strategy game for iPhone/iPod Touch
I tend to agree with you. I found some of it interesting, but in the end I keep going back to my copy of the "pick axe" book. As one of my friends put it, the poignant guide tends to be a little *too* poignant.
> That front page of indi loads unbelievably slow.
Yup, that's just a function of the Rails 1.1 effect - getindi.com is currently sharing a DSL line with rubyforge.org, which is serving the RubyGem index that lets people install Rails with gem install rails. Yikes!
The Army reading list
There has already been several replies pointing to very good resources, so I won't repeat those here. I myself came to Ruby from PHP - I had never used anything else (unless JavaScript counts), and I immediately fell in love. I've never gone back, and I don't think you will, either.
The main difference is that Ruby is a real *language*, not just a collection of Perl scripts (though PHP is maturing now; don't want to start a flame war.) You can alter it in almost any way you like, that's what so great about dynamic languages.
There are things you'll probably find confusing at first (I presume you know basic Object Oriented Programming from PHP 5,) particularly metaprogramming. Once you understand that, you'll be able to do things extremely simple and elegant.
http://it.slashdot.org/comments.pl?sid=181523&cid= 15012418
He said, without having built anything of note in the Ruby or Rails.
You owe it to yourself to go check out some of the screencasts. The two features that have saved me the most time (so far) are:
From there, you start customizing.
As someone who's evaluated various JavaScript frameworks, what do you think of "prototype.js", the AJAX library that Ruby uses?
Does the new version of Ruby continue to use "prototype.js" or has it switched to a better designed and documented JavaScript framework?
How is the documentation of "prototype.js"? Does it have a rigorous test suite? How does "prototype.js"'s documentation and test suite compare with, say, MochiKit?
Does "prototype.js" continue to define additional methods on Object.prototype? How does it deal with the issue that defining extra methods on Object.prototype causes "for (key in obj)" to return those method names for every object, totally breaking a fundamental JavaScript language construct, and making it extremely difficult to integrate other JavaScript libraries and code modules without suffering mysterious bugs and crashes?
A JavaScript framework should NEVER define methods on Object.prototype or Array.prototype, because doing that breaks all JavaScript code that iterates over the keys of objecs or arrays, which is certainly not very friendly nor modular. Why did Ruby choose to use an AJAX framework that makes such a huge mistake? Have the maintainers of "prototype.js" gotten around to cleaning up that mess, and why did they make such a horrible mistake in the first place? Weren't they aware of this horrible JavaScript quirk, and why didn't they work around it in the first place? Isn't that supposed to be why we use JavaScript frameworks: to avoid such problems?
-Don
Take a look and feel free: http://www.PieMenu.com
>Nobody. They're all to busy hyping it and posting on slashdot about how great it is. Meanwhile all us PHP/JSP/ASP/whatever
>programmers are off actually making web applications.
They can afford to do so, afterall writing a web app with those dinosaur languages take 5-10X as long when compared to Rails...
Online backup with Mozy, sounds like Ozzie, but more!
You know a thing is superhyped when v1.1 is mentioned on slashdot.
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, 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 and Django. Various Java technologies, Ruby on Rails, Django, TurboGears and Zope 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, Hibernate and various other Java 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 or Hibernate for this kind of stuff. Very entertaining and informative indeed.
|||||
We suffer more in our imagination than in reality. - Seneca
I wouldn't say the Rails MVC model speeds things up that drastically, but it sure does make sure your app will be maintainable. That's what MVC is all about anyway.
The global economy is a great thing until you feel it locally.
I think an important thing to note here is that Rails is an web application framework for the Ruby programming language whereas PHP is just a programming language (with a few framework-ish features like session management).
You could see similar productivity benefits by using a good PHP framework. The difference is that Rails is a fantasic framework and most of PHP's frameworks are mediocre. Part of this has to do with some of the language features that Ruby offers enabling Rails to be simpler to use and yet more powerful at the same time.
Personally, I love Rails and I really hope that one of the recent PHP5 frameworks gets up to the point where it is comparable. If it doesn't though, I won't feel too bad leaving PHP (mostly) behind me.
------
Where are the slash-groupies? I distinctly remember being promised slash-groupies!
First, scaffolding helps getting started because the programmer can work on code rather than building forms that connect to the database. The trick there is to use the 'generate' script to create the scaffolding in real code rather than use the run-time scaffolding. The generated code is pretty clean and does the bare minimum required, which is a great platform for building on.
Second, with ActiveRecord the code feels very close to the data. When working within Rails' naming conventions it's very simple to do stuff like track back and forth in a data record and figure out what belongs to it (foreign keys referring to your data) and what it belongs to (foreign keys in your data referring to other data). Honestly, it seems heavy, but it works so well you forget about that. There have been a few times where I needed some data and found it already in my model object because the database relationship was there. This stuff has been made even better in Rails 1.1 because it stretches the relationship even more (relationships through other tables).
Everything also gets done with a lot less code both because Rails makes things easy and because Ruby is designed really well.
The global economy is a great thing until you feel it locally.
Hear hear, this is so true. Although I have been writing small Ruby scripts for a few years now, when I first took a look at RoR, I often had to pause to understand what exactly was happening in those very terse lines of code. You really need to understand Ruby's syntax and a lot of the philosophy quite deeply before you can grasp what is going on in RoR code. Without that understanding, you will never advance further in RoR than copying the tutorials.
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.
I want to play Free Market with a drowning Libertarian.
I'm still waiting for C# on Cinderblocks.
Both Typo and the popular Globalize plug-in break down when run on Rails 1.1. So far for seamless backwards compatibility unfortunately.
If you're doing strightforward CRUD database stuff, RoR automagically sets up everything for you. If that's good enough, then you've saved some time. Even if you need to tinker with it, it's often less work than other languages.
Do you even lift?
These aren't the 'roids you're looking for.
You can also use Darwinports to install ruby and ruby-gems and whatever DB you want. Caveats: you have to install swig if you're using sqlite, you have to change a shebang or two to avoid conflicts with the installation of ruby that ships with OS X.
Depends on where you live, I have yet to see a .Net deployment while I came across 10 java projects and several rails projects the last year. PHP on the other hand is slowly dying over here, only one PHP installation or so.
We're dying to use Ruby on Rails. Developers in my group talk about it almost daily. Unfortunately the lack of solid Oracle database support is a showstopper. I'm inquiring about whether we might allocate funding to sponsor development of a stable, complete Oracle driver; my employer has a history of funding open source projects.
What I missed in rails most is proper support -- and that includes decent scaffold generation support -- for what is the most frequent case in nearly every non-trivial database application: many-to-many relationships. Thsi means showing an antry from tableA and in the same screen a scrollable/pageable list of entries from tableB which are connected through a join table with options for inserting or deleting tableB entries from/into the join table (and tableB, if necessary). From the release notes it seems that nothing has been done to make rails support this better. So, essentially, you have to do everything yourself again and you probably have to work around the problems regarding the id column in the join table.
Interesting. Naturally we have no idea who you are, but from what I've seen (admittedly I've only spoken with hundreds of web development and systems teams over the past few years), the insurance industry is a Microsoft shop. That's about it. Most large companies (at least in Europe) are using Java as legacy and many are starting to drop PHP apps on top of them as Java re-usability is proving not to be as easy as it sounds and it takes a long time to get new Java projects out the door.
In addition, contrary to your claim, Open Source is indeed everywhere and mainly on the back of Linux which is replacing proprietary Unix which as you know is present in almost all large companies but also for the largest web clusters around (large web cluster != large company)
For some reason you've neglected to tell us all that in fact most large companies have a selection of technologies for a variety of historical and strategic reasons. I have rarely heard of a company using just one technology, though plenty claim to have only J2EE. What this says to me is that they are still 18 months from weighing alternatives as Java is overkill for many web projects (not my opinion, I'm not an application architect, just saying what I hear from others).
Incidentally, I have rarely seen MS SQL being used for web projects, MySQL is all over the place and serious players use Oracle (for the clustering). DB2 users suffer in general, though from what I've heard, they have bigger installed base than Oracle (just not for web projects).
In short, I have no idea which companies you're working with or where, but my experience is the complete opposite to yours.
I did hear of one Ruby project and that was a porn site in the Czech Republic, but I'm guessing I'm not speaking with the right people. I never heard of whole sites being migrated to Ruby, but I guess from the amount of buzz that some fun new stuff is being done with it.
All in all I'd say that despite techies pet hate for "marketing", Ruby is indeed being marketed loudly and enthusiastically by its community (I wonder why...) which goes to show that developers are no more immune to peer pressure and smart marketing than anyone else, they just think they are because they don't understand marketing.
29 mpg. YMMV.
"The code will be way cleaner because Ruby is a better designed language than either Java or PHP"
Okay, I admit that I don't know Ruby from a bar of soap - but I find it extremely hard to believe that it is a better designed language than Java.
If you mean that Java is hard to write web applications in, then yes, I admit there is a steep learning curve, but as a J2EE developer I can tell you that the last site I setup it took me more time to sort out the layout with style sheets than writing all of the ORM's in Hibernate! :). Admitidly it was a small website with only a handful of tables, but that just goes to show that it can be quick using Java tecnologies for any size site.
I would really like to know what in particular makes Ruby a better designed language, honest question, not flamebait! I am always open to new technologies, but what in particular would make me want to try RoR over other new 'web languages'? No one seems to say why it is so great other than 'it's faster to develop in' or 'it just is' :), but why? excluding the j2ee learning curve of course.
Actually lets sum the situation up: I have done one insurance project, one project for an international corporation, I have been involved in one project for a poltical party and currently working on another big project for a public institution. I have yet to encounter a .net project there.
Most banks over here and insurances use Java due to the connectivity into their RS6000 and AS4000 environments.
Also banks usually are very IBM centric and most people working in banks I have met in the last year were very java centric. What I could gather in the last year however, was a certain shift away from J2EE EJBs towards Spring and servlet runner only installations.
I would say that most of the really big number time comparisons are to java, specifically to J2EE. Compared to PHP, especially PHP under a decent web framework, it does not have the same kind of productivity gains. That said ruby on rails is probably a better environment simply due to the quality of the languages involved.
Slashdot: Where anecdotes and generalizations can be freely substituted for facts, logic, or intelligence
Every language is elegant if you know enough about it to do your job and ,despite that knowledge, don't have the motivation to learn something else. Me, I started coding in python a year ago, being my first 'real' language, I've come to a point where I'm even productive, so for me python is elegant. But I don't rule out the possibility that other languages are more elegant. Perhaps the best way to find out is to (re)do a project or 2 in another language. But I will continue python for a while, I still find it fun to do work with it and I still have to learn tons about the language and programming in general.
I've been dabbling with Rails and Ruby for a couple of months now, and I don't want to get into a big debate on whether it's more efficient, more popular, or whatever semi-quantifiable metric you want to apply to it...
The bottom line for me right now is that I'm having fun with it. I've been really looking forward to the little extra time I've put aside each day to work with Rails; although I think that a lot of the fun I'm having is just pleasure at using Ruby.
Why are you letting these clowns ruin our country?
I would really like to know what in particular makes Ruby a better designed language, honest question, not flamebait!
For starters, here's Steve Yegge of Amazon.com on languages, including Ruby.
Stevey Tours (and bashes) C, C++, Lisp, Perl, Ruby, Python.
Stevey on Languages: A Quick Tour of Ruby
And some more non-Ruby-specific, but interesting articles there, like this one.
Flying is easy, just throw yourself at the ground and miss. -Douglas Adams
but here's something you might be interested in:
l ongs_to_many.pdf
http://jrhicks.net/Projects/rails/has_many_and_be
I agree with you, only it's not that straight forward unfortunately. People are to quick to shoot down Java j2ee before they have actually learnt how to use it succesfully - they make a hash of their first website and move on without giving it a proper chance.
The problem is that most people don't have time to learn it succesfully AND also learn more than a couple of other languages succesfully, and in depth, so that they can make their own judgement. You have to really rely on what others experiences have been, or just choose a techonology you like the sound of and learn it inside out :).
What's more expensive, developer man-hours or an extra server?
You draw your own conclusions.
It's bad for publicity, but a lot of development with the new generation of web frameworks is taking place behind corporate firewalls and under NDAs. Some frameworks do advertise lists of public websites which use them, though. :)
Aaaaaand how is that different from desktop development? Actually, how is that different from any other development?
Maybe it is the switch between 3 languages to run 'Hello World'. Seems a tad overwrought. But I am wasting my time. Get back to your Visual Basic.
an ill wind that blows no good
Who's using Rails? Check out the Rails wiki site for hundreds of example sites
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
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 and Scriptaculous effects, and this developer is the new cool kid on the block.
Crazy
~JoeRails
Poorly. Catalyst is far more flexible, and doesn't force less than ideal choices onto you like rails does.
I've used gems; it's very convenient from a single user who is writing ruby scripts and needs extension X. But say I want to distribute an application written in Ruby. In my Ruby code, I'll have "require 'some_ext' ", which won't work for those who have 'some_ext' installed via gems. Alternatively I could have "require 'rubygems'; require_gem 'some_ext'" which would work for the Gem users but not traditionaly installed extensions. Is there or will there be a solution to this, and what is it?
It seems the major hurdle in making code that uses either the Gem version or, if not there, the traditional version is the fact that Gems allow versioned includes, e.g. "include_gem 'some_ext >= 0.3' I've heard some complain about this and others state that this is a very useful feature.
One possible (but somewhat annoying) solution is to distribute a version with traditional includes and distribute a Gem using version via gems. Can Gems distribute apps (i.e. stuff that would go into /usr/bin) ? And even this would not solve the problem as I imagine much of the standard library would be installed traditionally even for users of gems, so the application would still not know how to require an extension.
Since rails people always trot out this "scaffolding isn't supposed to do X" answer no matter what X is, the question remains: WTF is it supposed to do? Why is scaffolding even in rails, and why is it such a prominent and hyped "feature" when it is totally useless?
XML + HTTP != SOAP
I did a database-oriented web app last year. I found Catalyst http://catalyst.perl.org/ really really useful. The MVC pattern it imposes on you really helped. Ditto for the web framework, plugins, DB access and scaffolding.
From what I can tell, RoR is conceptually pretty close to Catalyst, but me being a perl-head, I chose Catalyst. Anyone tried them both? Any comments?
PHP is an ugly abomination of a language, while Ruby is simple, elegant and fully oo. The reason I've switched to RoR is Ruby, not Rails.
Or maybe we could all get a link to the actual article itself, rather than someones blog linking to the article.
May the Maths Be with you!
Ah yes, I forgot pharmaceutical companies are big Microsoft shops. The types of companies you're dealing with make a lot of sense. TV stations are taking loads of Microsoft stuff as they're pushing IPTV big time. Lets assume the account managers are shoe-horning as much extra as they can into "IPTV" deals.
Petrol company. Interesting. Normally I'm seeing Java there (or outsourced and don't care).
Large retailers is interesting, I normally see Java there too as the projects are done by large System Integrators and let's face it, if you sell services by the day Java is such an obvious choice. Guess it just depends who wins the project.
Longer term I reckon Rails will take from some Java growth, from Python and maybe top end PHP stuff, but despite the buzz, I can't see its sweet spot yet.
29 mpg. YMMV.
http://it.slashdot.org/article.pl?sid=06/03/28/163 4201
perl rulez...
My Rails development firm has been working with Rails for over a year now and as of early last summer... we're exclusively Rails-focused. We've been working with features in 1.1 for several months now and are glad to see that these features are now part of the 1.1 release.
:-)
Ruby on Rails on PostgreSQL = Enterprise Rails!
Robby Russell
PLANET ARGON
Robby on Rails
It should be noted that the book you linked is available for free online at http://www.rubycentral.com/book/ It's very good for learning the language.
Yes, cause new versions of a language fix programming errors ;-)
By the way, are you the same Mirko from the bsd-cert list?
Running "Hello world" on the console calls several different APIs, some in different languages based on the platform you're using.
What a silly fellow! Hello world in C to stdout (you mistakenly refer to it as a "console") is pretty butt simple in C. Even you should be able to understand it. The call graph is:
Nope, no "layers" here, one API. Ding!
Displaying "Hello, world" on a cross-platform framework for client browsers will also go through several initial application layers. These are just things you need to accept as a newbie programmer (which you clearly are).
And what would those be? Be careful, you won't find it in your "Java for Dummies" book. (Ouch, that must have hurt!)
an ill wind that blows no good