This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Ruby and the fly likes What is Rails ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "What is Rails ?" Watch "What is Rails ?" New topic
Author

What is Rails ?

Ayub ali khan
Ranch Hand

Joined: Oct 20, 2005
Posts: 380
    
    2
Hi,

What is Rails (scripting language ?) Why do any java developer need Rails?
What are the other alternative/Competitive languages for Rails?
I heard about Ruby on Rails, what does this mean ?

Lot of questions Please feel free to skip any questions.

Thanks and Regads
Ayub.

[Edit to provide a meaningful topic - Dave]
[ January 29, 2007: Message edited by: David O'Meara ]

SCEA part I,TOGAF Foundation
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Ayub ali khan:
What is Rails (scripting language ?)
(...)
I heard about Ruby on Rails, what does this mean ?

Ruby on Rails is a web application framework that has gained a lot of attention recently from the software and web development communities. You might want to read the first couple of links from the above URL to get a better idea.

Originally posted by Ayub ali khan:
Why do any java developer need Rails?

One size doesn't fit all. There are systems that can be better implemented with a Java EE technology stack or a .NET technology stack and there are systems that are better implemented with something more lightweight that doesn't get in your way that much. That's where frameworks like Rails have their sweet spot. In other words, yes, you can do the same stuff with Java and Java EE as you can with Ruby and Rails--it's just that sometimes Ruby and Rails let you do it faster and without too many trade-offs.

Originally posted by Ayub ali khan:
What are the other alternative/Competitive languages for Rails?

There are other web frameworks based on scripting languages, which could be considered "similar" to Rails. For example, Django (Python) and Nitro (Ruby). None of these have the kind of momentum Rails has, though. (although that doesn't mean Rails is necessarily better than those other frameworks)

Originally posted by Ayub ali khan:
Please feel free to skip any questions.

Don't worry--we'll all volunteers here and nobody's expected to answer any post against their own will...


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
sanker san
Ranch Hand

Joined: Dec 17, 2004
Posts: 56
When we say Java on Rails, will we write java programs in the Rails framework and take advantage of the framework.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by sanker san:
When we say Java on Rails, will we write java programs in the Rails framework and take advantage of the framework.

There's no such thing as "Java on Rails" as far as I know.

At some point in the future, JRuby will be able to run Rails in which case we could theoretically start building Rails applications by writing Ruby code that makes use of libraries written in Java.
Ben Verbeken
Greenhorn

Joined: Jul 14, 2005
Posts: 4
There's no such thing as "Java on Rails" as far as I know.

Well there is Grails, of course, which essentially is Rails for Groovy. And Groovy, in its turn, is a scripting language which compiles to bytecode, meaning you have all your java libs available from within your Groovy code.

But I do admit I like Rails better
Ayub ali khan
Ranch Hand

Joined: Oct 20, 2005
Posts: 380
    
    2
Thank you Lasse !! I will update my knowledge on Rails. Thank you for pointing the quick link.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8903

Originally posted by Ben Verbeken:

Well there is Grails, of course, which essentially is Rails for Groovy. And Groovy, in its turn, is a scripting language which compiles to bytecode, meaning you have all your java libs available from within your Groovy code.

But I do admit I like Rails better


Is Rails like a generic framework which I can use for Ruby , groovy etc.


Groovy
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Pradip Bhat:
Is Rails like a generic framework which I can use for Ruby , groovy etc.

No. "Rails" is Ruby on Rails. Grails, Trails, and whatever other clones there are are just that--clones that mimick the design of Rails (and wish to identify with their influence through a similar name).
 
Don't get me started about those stupid light bulbs.
 
subject: What is Rails ?
 
Similar Threads
What are the most common antipatterns in Rails?
What are migrations in Rails?
Which is the hottest Java Technolgy?
Is Rails easy to learn
Authors Ruby learning curve and things that are of interest to them now