This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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 ]
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.
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.
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 & world</title>". You must encode the ampersand character ("&") as "&" 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.