aspose file tools*
The moose likes Other Application Frameworks and the fly likes New Article: Ruby on Rails in the Enterprise Toolbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "New Article: Ruby on Rails in the Enterprise Toolbox" Watch "New Article: Ruby on Rails in the Enterprise Toolbox" New topic
Author

New Article: Ruby on Rails in the Enterprise Toolbox

Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

A rootin', tootin' new article entitled "Ruby on Rails in the Enterprise Toolbox", written by our own Lasse Koskela, appears in the latest issue of the JavaRanch Journal. You kin check out that there article here. Y'all have anything to say about it? Say it right in this thread!
[ January 18, 2006: Message edited by: Ernest Friedman-Hill ]

[Jess in Action][AskingGoodQuestions]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Lasse,

You write great. I just read couple of paragraphs , I will it read completelty and ask more questions.


Groovy
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

A good article.

Any enterprise application which has been developed in Ruby and successfully running in production environment ? A lot of articles that I have read on rails mentions that it is good for small web applications. I am yet to work on rails even though my signature has a link to rails site

In the development tool support you talked about incremental compliation.What is that ?

I haven't understood the elper function h() and encoding part ?
Thanks.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

One more question -Does ruby have API to interact with OS similar to C,C++
?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Pradip Bhat:
A good article.


Thanks.

Originally posted by Pradip Bhat:
Any enterprise application which has been developed in Ruby and successfully running in production environment ? A lot of articles that I have read on rails mentions that it is good for small web applications.

Yes, most Rails installations I'm aware of are what most would consider "small" applications, although they're often business critical for that specific company.

Examples of the more popular/widely-known applications built with Rails include everything developed by 37signals and several others, such as Strongspace, Odeo, 43 Things, Typo, CD Baby, Fluxiom, Hieraki, Wayfaring, and RForum. There's more in the wiki.

I wouldn't consider these enterprise applications, however, even though some of them certainly equate to the performance requirements of enterprise systems. Then again, many of these applications are also far more complex than what many so-called "enterprise" web applications really are when wiped clean of all the marketing mumbo-jumbo that goes along with the latest BEA/IBM/Oracle/etc. platform.

Originally posted by Pradip Bhat:
In the development tool support you talked about incremental compliation.What is that ?

Incremental compilation means compiling only what's necessary. In other words, the first time you compile your Java codebase, you compile all source files into .class files. Then, you edit one of the files and compile again. This time, if you're using a tool that supports incremental compilation, you only need to compile that one source file instead of all the source files--most of which haven't changed anyway. Eclipse, for example, does incremental compilation unless you explicitly say "do a clean build for me, please".

Originally posted by Pradip Bhat:
I haven't understood the elper function h() and encoding part?

Ok. You have a string "hello & world" that you'd like to print out as the title of your HTML page. I.e. you'd like to render something like "<title>hello &amp; world</title>". You must encode the ampersand character ("&") as "&amp;" or a standards-compliant web browser will curse at you for feeding it invalid HTML. The h() helper function is just a means to do any such encoding automatically--just by saying "<%= h(mystring) %>" instead of "<%= mystring %>".

Originally posted by Pradip Bhat:
One more question -Does ruby have API to interact with OS similar to C, C++?

Yes, you can write Ruby extensions with the Ruby C API. For example, many (most?) of the Ruby database drivers are implemented by integrating with a native C library through the Ruby extension API.


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

Joined: Feb 27, 2002
Posts: 8919

Thanks Lasse for your answers. Do you plan to write more articles on rails with some code samples.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Just finished reading it.
You made nice analysis in your article. I liked the parts where you compared between J2EE, .NET, RoR. Thanks for taking time to write such a useful article.

Message Edited By Balaji:
I actually posted some addtional comments, but i think its more appropriate to post that question in Object oriented scripting forum.

[ January 31, 2006: Message edited by: Balaji Loganathan ]

Spritle Software Blogs
 
jQuery in Action, 2nd edition
 
subject: New Article: Ruby on Rails in the Enterprise Toolbox