Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New Article: Ruby on Rails in the Enterprise Toolbox

 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lasse,

You write great. I just read couple of paragraphs , I will it read completelty and ask more questions.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more question -Does ruby have API to interact with OS similar to C,C++
?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Lasse for your answers. Do you plan to write more articles on rails with some code samples.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic