Ruby on Rails

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Ruby on Rails

Post by Benjamin »

Comments anyone?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Forum search anyone? :wink:

hehe, just buggin' ya.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

RoR is a great system that really takes advantage of the features of Ruby. It has been a real wakeup call for both Java and PHP developers. A few of the key features in RoR are:

- Using convention over configuration. One of the things that makes is very easy to do many thing in RoR is that they have defined a naming or usage convention that so that the code is, to an extent, self-configuring and self-documenting.

- ActiveRecord. Their implementation (actually ActiveRecord + OR Mapper, not pure ActiveRecord) really simplifies doing the common database stuff of web apps. It is lighter weight than something like Hibernate. Zend in copying RoR (as is every other PHP framework) by implementing ActiveRecord

- Scaffolding. RoR makes it easy to generate CRUD code which get coders building something quickly.

The real question is: will enough people learn Ruby before Java and PHP catch up?
(#10850)
Gambler
Forum Contributor
Posts: 246
Joined: Thu Dec 08, 2005 7:10 pm

Post by Gambler »

I've looked at Rails' source code and read tutorials. There are good ideas there, but in general it recieves much more attention than it deserves. With all that hype I can't find real-life Rails applications, which I could compare to existing Perl and PHP scripts. Can someone give me a link to a standard news-with-comments script?
Zend in copying RoR (as is every other PHP framework) by implementing ActiveRecord
Ahem. Not every other PHP framework.
The real question is: will enough people learn Ruby before Java and PHP catch up?
I'm learning Ruby right now, but it's not because of Rails. I jsut like the language itself.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

A lot of the attention about Ruby (probably RoR specifically for web apps) is pure hype. Talk loud and often and you might just manage to convince people what you're saying is absolute truth.

Ruby is a nice general use language - but I've to see much non-technical mumbo jumbo that will convince me to use it over PHP.

Sometimes I wonder if Ruby is getting too over-hyped for its own good. Last I checked there was a lot more to Ruby than web apps...
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

/. comment amused me this morning..

(on choosing what framework to use on a software project)
Personally, I'd pick Ruby on Rails. Not that I have any technical reason to prefer it, mind you... but man, it's so jam-packed with alliterative goodness and it's all Web 2.0'ed out and <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>. And it has some crap called a scaffold. Do you have any idea how many struts it takes to build just one scaffold? No? Well it takes a lot!!
User avatar
pedrotuga
Forum Contributor
Posts: 249
Joined: Tue Dec 13, 2005 11:08 pm

Post by pedrotuga »

As said before... talk talk talk, but where are products themselves?

To be honest i haven't seen anything... at all. Zero, rien, nada!

Some days ago, i was picking a phorum script for a new community, and i red in some board a guy showind his brand new RoR forums... using that php script... wich he said was great.

Now... isnt it for this kind of aplication ( forums, messageboars, news, portal, blogs, galleies ) that RoR was supose to be used?
sudently all the fast development bla bla bla bends in front of a simple c-based language.

I am not so much into frameworks due to bad experiences, the whole framework thing its a bit of an ilusion...i get to have done what in fact wouldnt cause troubles and take long time to code...
Well... maybe they are the most practical thing... dunno.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

What's with pulling up threads that are months old pedrotuga?
User avatar
pedrotuga
Forum Contributor
Posts: 249
Joined: Tue Dec 13, 2005 11:08 pm

Post by pedrotuga »

Sorry...
didnt notice that, ihave been reading about rails and i used the search to find discussions about rails by php programers... should have check the date, sorry about that... My intention was not to open a thread that already existed.


anyway, this discussion is not daed, i think, and i would like to hear more opinions. I found out that the creator of rails first tryed to use php but then he figured out the language was not suitable for its goal, meanwhile something called phpontrax poped up...

Will rails take theplace of php or something?

Ok... sorry i am pushing the discussion, i am really curious about this.
User avatar
wtf
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 5:27 pm

Post by wtf »

arborint:
Scaffolding, Active Record are features that can be found in CodeIgniter.org / CakePHP / Symfony

pedrotuga:
All applications by http://37signals.com/ are RoR based but again.... nothing impressive IMO.
User avatar
pedrotuga
Forum Contributor
Posts: 249
Joined: Tue Dec 13, 2005 11:08 pm

Post by pedrotuga »

mmm... i tested the whitboard thing.

Too minimalist...

That prety much could be easly developed in any language without any trouble in short time.

As for basecamp... i would really like to try it... but is not free :(
User avatar
wtf
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 5:27 pm

Post by wtf »

you're not missing much, trust me
User avatar
pedrotuga
Forum Contributor
Posts: 249
Joined: Tue Dec 13, 2005 11:08 pm

Post by pedrotuga »

yep... lets wait and see if all this fuzz really gets somewhere.
Post Reply