*
The moose likes Ruby and the fly likes look and feel in rails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "look and feel in rails" Watch "look and feel in rails" New topic
Author

look and feel in rails

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

From Ruby on rails website the look and feel of web pages look similar. Does rails provide some default look and feel.


Groovy
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Well, it depends. Do you consider "no look and feel" being a look and feel?


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

Joined: Feb 27, 2002
Posts: 8919

Originally posted by Lasse Koskela:
Well, it depends. Do you consider "no look and feel" being a look and feel?


No I don't. I was under the impression (after seeing screen shots here http://www.rubyonrails.org)that Rails provide easier way to create GUI like tabs, tables etc
Matthew Taylor
Rancher

Joined: Jun 13, 2004
Posts: 110
I think Pradip has a good question. I remember taking a ROR tutorial online and finding that there are a lot of things built in that take advantage of HTML and styling. There must be some standard ROR way of doing this, right? I didn't write any HTML during the tutorial, yet there was a web display.


Grails Consultant
http://dangertree.net
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Peter Glass:
I think Pradip has a good question. I remember taking a ROR tutorial online and finding that there are a lot of things built in that take advantage of HTML and styling. There must be some standard ROR way of doing this, right? I didn't write any HTML during the tutorial, yet there was a web display.

Well, there's this thing called scaffolding, which basically generates an initial (ugly) HTML template for displaying and editing your model objects, based on the database schema.

I also wouldn't call that a "look and feel", though, because what scaffolding generates is hardly a "design."
Justin Gehtland
author
Ranch Hand

Joined: Jan 30, 2007
Posts: 31
No, Rails doesn't really supply any look and feel support. It is very easy to do the right thing in Rails (using helpers and good, factored CSS files) to create flexible designs, but Rails itself doesn't do much in the regard. The scaffolding referred to earlier is a classic example of "just enough to show off functionality but not enough to be appealing" design.

You will see a lot of Rails apps that have a similar look and feel, but that has more to do with the "Web 2.0" movement, and not Rails itself.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: look and feel in rails