Win a flower (🌹) or copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java (📚) this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
master stewards:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
garden masters:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
gardeners:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

New Article: Ruby on Rails in the Enterprise Toolbox

 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • 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 ]
 
pioneer
Posts: 8943
Firefox Browser Spring Java
  • 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
pioneer
Posts: 8943
Firefox Browser Spring Java
  • 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
pioneer
Posts: 8943
Firefox Browser Spring Java
  • 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++
?
 
author
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
pioneer
Posts: 8943
Firefox Browser Spring Java
  • 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.
 
author and deputy
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 ]
 
I wish to win the lottery. I wish for a lovely piece of pie. And I wish for a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!