Slashdot Mirror


Ruby on Rails for DB2 Developers

An anonymous reader writes "Ruby on Rails seems to be the new hotness in the world of web development, right up there with Ajax. IBM DeveloperWorks has a helpful howto on how to bring the worlds of Ruby on Rails and your DB2 framework together. From the article: 'Because Rails emerged from the open source world, until recently you had to use MySQL or PostgreSQL to work with it. Now that IBM has released a DB2 adapter for Rails, it's possible to write efficient Web applications on top of your existing DB2 database investment.'"

128 comments

  1. Ruby on rails? by StaticFish · · Score: 3, Funny

    In the UK we've only just got trains to go on rails.

    --
    - There's no place like 127.0.0.1
    1. Re:Ruby on rails? by Anonymous Coward · · Score: 0

      In the UK we've only just got trains to go on rails.

      Har! Out here in the U.S. Wild West I almost fell off my pony laughing at that one.
      Out here we ride varments out of town on rails.

    2. Re:Ruby on rails? by rjmars97 · · Score: 1

      I must be thinking of the wrong Ruby.

      --
      Heuristically programmed ALgorithmic computer
  2. Ruby could be packaged better by bogaboga · · Score: 4, Insightful
    I have read about the beauty of Ruby and how it's better than Python or Perl. I'd not like to start flames but I wonder why Ruby does not have an IDE like that of SmallTalk. Yes, SmallTalk is old time stuff, but this absence does not help Ruby's popularity.

    Many times, I have tried learning it on my own and have been frustrated by missing or conflicting versions of components. I'm waiting for some folks to develop a one install package that will take care of all packages needed to develop serious apps on Ruby. An IDE like Access on the JET database engine would be very welcome.

    There is some effort to this end. These folks http://www.railslivecd.org/ have started some work in this direction.

    1. Re:Ruby could be packaged better by Aladrin · · Score: 1

      It's simple. It hasn't been out as long.

      There ARE Ruby IDEs out there, btw, you just have to search a lot harder to find them and they aren't nearly as complete as what you are used to, because of their young age.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    2. Re:Ruby could be packaged better by ricardo_nz · · Score: 3, Informative

      You should try Ruby Gems to solve your packaging woes. As for an IDE, there are plenty available: http://freeride.rubyforge.org/wiki/wiki.pl and http://www.mondrian-ide.com/ though I can't say much about them...

    3. Re:Ruby could be packaged better by flipper65 · · Score: 4, Informative

      Actually, if you are looking for a rails IDE I strongly suggest that you check out http://radrails.org/ available both as stand alone and as an eclipse plugin.

    4. Re:Ruby could be packaged better by 12ahead · · Score: 5, Informative

      Not sure what system you are on, but for osx there is Locomotive. You will get a magnitude of libraries (I guess the DB2 stuff won't be in there just yet) plus a nice gui to start/stop webservers for your Rails projects. Not sure if you were after Rails or plain Ruby, but anyway.

      On the IDE front you could check out RadRails. Again, this focuses on Rails instead of "just" Ruby.
       
      However, I do believe that Ruby is one of those languages that you can learn by just using it from command line. You do not need an IDE or huge framework to do fun stuff. You can at least get a feel for how Ruby does stuff to put you off it or to keep investigating.

    5. Re:Ruby could be packaged better by daybyter · · Score: 1

      But I wonder about the quality of this packaging. As an example: I'm trying to get FeedTools going for a week now. There's a gem installation available, but it seems even the developers don't trust it and recommend a manual installation. It seems there are several installation methods available (like copying the source files to your vendor directory), but so far no luck for me...'Feed constant not initialized' is my best result so far... :-(

    6. Re:Ruby could be packaged better by Anonymous Coward · · Score: 0

      What a useless reply. Why don't you name some of them?

    7. Re:Ruby could be packaged better by masklinn · · Score: 2, Informative

      Mostly because Smalltalk came from PARC and was built to work in an environment (BTW there is no Smalltalk "IDE", they're environment and you work in an image within the environment, it's a much more impressive concept than the simple concept of IDE which is merely a beefed up text editor)

      Ruby was built as a programming language and as a language only, it wasn't built with the idea of environments in mind and the editors/ides therefore have to be bolted on. Plus Ruby only recently started to get widespread adoption in occident (and fyi Python doesn't have many good IDEs and it's been popular for a much longer time in occident than Ruby).

      About the packages issue, I can't help but tell you to learn how gems work, as it automagically handles dependencies and package versioning...

      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    8. Re:Ruby could be packaged better by masklinn · · Score: 2, Informative

      As an example: I'm trying to get FeedTools going for a week now. There's a gem installation available, but it seems even the developers don't trust it and recommend a manual installation.

      Uh? I find pretty much the opposite statement on the front page of the FeedTools project:

      However, the preferred method of obtaining FeedTools is with RubyGems because of FeedTools' dependancies on other gems.

      Works like a charm too:

      $> gem install FeedTools -d -y
      Attempting local installation of 'FeedTools'
      Local gem file not found: FeedTools*.gem
      Attempting remote installation of 'FeedTools'
      Successfully installed feedtools-0.2.24
      Successfully installed uuidtools-1.0.0
      Installing RDoc documentation for feedtools-0.2.24...
      Installing RDoc documentation for uuidtools-1.0.0...
      $> irb --simple-prompt
      >> require 'feed_tools'
      => false
      >> slashdot_feed = FeedTools::Feed.open('http://www.slashdot.org/inde x.rss')
      => #
      >> slashdot_feed.title
      => "Slashdot"
      >> slashdot_feed.description
      => "News for nerds, stuff that matters"
      >> slashdot_feed.link
      => "http://slashdot.org/"
      >> slashdot_feed.items.length
      => 10
      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    9. Re:Ruby could be packaged better by MarkWatson · · Score: 4, Informative

      Actually, I find the Eclipse RDT and RadRails plugins to be very good (I work in this environment 8 to 15 hours a week).

      I had another more radical thought yesterday: just for fun, I installed the latest stable build of Squeak Smalltalk - years ago, I had done some natural language processing work with Squeak and I wanted to look at a newer version. Any, the idea: Smalltalk and Ruby are similar enough, that for non-GUI applications it would not be so hard to write a translater from Smalltalk to Ruby for deploying small utility applications.

      The performance of Ruby is not so great (I just had to switch part of my current project from Ruby to Common Lisp for performance), but it would be neat to be able to use a Smalltalk enviroment, and "compile to Ruby". Anyway, this is an idea that probably lacks merrit because professional versions of Smalltalk like VisualWorks have very good deployment tools (small size, low memory requirements) and even with the free Squeak system, with some effort you can build smaller "headless" applications.

      Back to Ruby: I find Ruby installation to be easy, and the rubygems system is great. The Ruby community is friendly and helpfull.

    10. Re:Ruby could be packaged better by MarkWatson · · Score: 1

      BTW, I set up a Ruby news scraper for my own use, but then made it public:

      http://rubyplanet.net/

      This site was a one night hack, including getting a domain name and deployment, but it does let me see what is happening in the Ruby community.

    11. Re:Ruby could be packaged better by Cryp2Nite · · Score: 2, Interesting
    12. Re:Ruby could be packaged better by daybyter · · Score: 1
      I followed the tutorial links to the textdrive forum, where nrbrookes recommended this strategy:
      This is what I did to get feed tools working...

      a) unpacked feedtools and the uuid gems
      b) edited the feed_tools.rb changing require_gem( 'uuidtools' ) to plain ol' require( 'uuidtools')
      c) copied the feed_tools.rb, feed_tools folder and uuidtools.rb into my vendor directory (don't put the whole of the unpacked gem, the stuff you are interested in is in lib)

      and then it works.
      but no luck so far...I'll go on trying...
    13. Re:Ruby could be packaged better by mini+me · · Score: 1

      Ruby has been around for a long time. It was released over ten years ago.

    14. Re:Ruby could be packaged better by jsnipy · · Score: 1

      Try using eclipse with the plugin ... http://sourceforge.net/projects/rubyeclipse @least eclispe does more than thing rather than dozen crappy ides someone has cobbled together

      --
      -- if you mod me down, I will become more powerful than you can possibly imagine
    15. Re:Ruby could be packaged better by Guy+De+Bideux · · Score: 1

      You should take a look at Starter Toolkit for DB2 on Rails. It is a complete package of everything that you will need including a copy of DB2 Express - C that is absolutely free to distribute as part of your finished application and it does not limit the size of your data like the other database servers do. It is a complete one-click installer for everything. The integrated installer is for Windows at this point but the one for Linux is in the works. Bookmark http://db2onrails.com/ if you are interested in watching this very fast evolving space. As for the IDEs, there are quite a few really good ones out there RadRails that just got an award as the best Open Source Eclipse-based Tool. Matt Kent, Marc Baumbach, and Kyle Shank have done an amazing job on the tool and a nice presentation at the RailsConf 2006 in Chicago. There is also RDT. There is even a set of add-ins called Saphhire in Steel for Microsoft Visual Studio 2005. I can just see all the sladhdotters rushing to get this one :-) and flame to death in the process.

    16. Re:Ruby could be packaged better by mbadolato · · Score: 1

      Activestate's Komodo supports Ruby, and it's a pretty mature product. While I haven't used it for Ruby development (only Perl), I would imagine it is just as robust. Granted it isn't on the scale of a Visual Studio, but it does the job.

    17. Re:Ruby could be packaged better by misleb · · Score: 1
      Many times, I have tried learning it on my own and have been frustrated by missing or conflicting versions of components. I'm waiting for some folks to develop a one install package that will take care of all packages needed to develop serious apps on Ruby. An IDE like Access on the JET database engine would be very welcome.


      Oh come on. Settting up a Rails environment isn't that hard. And that is all you need to start developing "serious" (web) apps in Ruby. Get a Mac and run Textmate and you are set. I tried RADRails for an IDE and found it to be slow (Java GUIs suck ass) and didn't offer much over Textmate.app + Terminal.app.

      -matthew
      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    18. Re:Ruby could be packaged better by Anonymous Coward · · Score: 0

      Don't give fish, learn how to fish. Not that I'm approving that kind of an answer but still...

    19. Re:Ruby could be packaged better by Decaff · · Score: 2, Insightful

      However, I do believe that Ruby is one of those languages that you can learn by just using it from command line. You do not need an IDE or huge framework to do fun stuff. You can at least get a feel for how Ruby does stuff to put you off it or to keep investigating.

      There is very strong evidence based on decades of research (such as with Smalltalk in the 70s) that says that the best way to learn and use OOP languages is with a good GUI. There is nothing to match browsing classes and dynamically inspecting objects during the execution of a program.

      I am very skeptical whenever I hear 'you don't need a GUI'. This seems to me to be an argument along the lines of 'if we don't implement it, you don't need it'.

    20. Re:Ruby could be packaged better by Anonymous Coward · · Score: 0

      I'm just now leaving the Rails conference in Chicago. I have a fresh insight on your question.
      the people who are out there using Rails, are not seeing the *need* for an IDE. They pretty much all use Textmate. And, yes, Rails developers almost universally are Macbook users. This does not appear to be a coincidence. (I saw more Macbooks at the Rails Conference than I've seen anywhere except for Apple events. No lie.)

      There are some tooling initiatives going on, and RadRails is coming along quite nicely.
      But the fact is, many programmers, MANY of whom are "recovering" Java programmers, are reporting less of a *need* for an IDE. Part of this is because the application domain of Rails is tailored in a highly opinionated frame -- to do anything besides database-backed web apps is going to hurt -- and this is part of Rails design philosophy and the developers will not compromise that or apologize for that. There's a strong community consensus to say "no". Understanding this is fundamental to understanding where Rails lives in the general, err, um, scheme of things.

      So every Rails project has the same structure, they all have the framework for testing built into the project in a way that is idiomatic to the language, and, pretty much every one of the thousand or so really serious Rails developers is happily, *blissfully* using Textmate on a Mac to do it, and for big deployments they are using tools like Capistrano and Mongrel. There's perhaps a case to be made for more "I", I suppose, but the Rails developers are not generally finding a need.

      I'm not going to try to claim that Rails is *really* different from the dozen or so disruptive technologies that were supposed to be revolutionary, in the last few years, but I must report that, for the first time since the '90s, I'm seeing people with ideas for genuinely *different* things to do on the web, able to put those ideas into action (to a revenue stream) without much effort. The stuff works really well for what it's designed for.

      I'm now putting Rails in the category of glue languages, but in the sense that, Rails is to web apps what perl is to unix file and process administration. It doesn't really bring anything new to the table, but it certainly is a strong enabler. I suspect Rails will gain some importance for the simple reason that it encourages people to *do* stuff, and it does not bog them down in the hell that we have in certain frameworks we've been using.

      One other point. There's not really enough *to* Rails to make a huge deal about it. If you brought me a Java programmer who couldn't get up to speed on Rails in the space of 4 hours with a book or tutorial, I would laugh. It's ridiculously easy to learn enough rails to put together the typical form-based webapp that does CRUD transactions for your data. And your app, from the start, encourages a test-driven approach (VERY strongly rooted in the culture), and, love it or hate it, the layout of your project will be understandable from the beginning to any other Rails programmer.

      On the *other* hand, Rails is Rails, it is a DSL built out of Ruby, which is a language that is well-suited to DSLs. You program Rails in Ruby, and to program Rails you do need to know enough Ruby to be dangerous, but you must *must* think of Rails as a separate context from Ruby. The designers of Rails are well aware that it will be hard to deal with some situations, DHH puts it like, "insanity *SHOULD* be painful*. You can of course do *anything* in the language, but it's going to be highly opinionated. And the community has already shown a commitment to reject the criticism which comes with assertions that it should be extended to serve as a more general purpose language, or that it should be made to enable things like composite primary keys in legacy databases. It's not going to do that sort of thing, not even going down that road at all. Vehemently. This is an important to be aware of. Rails might become pretty compelling as an enterprise technology, but what's differ

    21. Re:Ruby could be packaged better by Sovok · · Score: 1

      If you have Mac OS, you should try TextMate (http://macromates.com/).

      Ruby is preinstalled with Mac OS, you write your script in TextMate, press Apple+R and the results pop up in a seperate window. Very nice and fast.
      There are also 'Bundles' for Ruby and Rails, which let you develope stuff very quickly. Code completion, easy switching between model, controller and template etc.

    22. Re:Ruby could be packaged better by colmore · · Score: 1

      IDE? You mean like vim and an xterm?

      Honestly, I've never liked IDEs, or any tool so specific to a given language / environment, that the experience won't generalize to my next project. I'd rather climb a steeper learning curve and learn a piece of software that I can be reasonably sure I will still be using for whatever language and system I'm working in in 2030.

      --
      In Capitalist America, bank robs you!
    23. Re:Ruby could be packaged better by aCapitalist · · Score: 1

      He's talking about a Smalltalk-like development environment. Freeride and Mondrian don't even come close. Of course that begs the question of whether it would have been a good idea to have Ruby be image-based. Smalltalk is defined by its powerful development environments and it certainly wouldn't hurt Ruby to have one too.

    24. Re:Ruby could be packaged better by aCapitalist · · Score: 2, Insightful

      I am very skeptical whenever I hear 'you don't need a GUI'. This seems to me to be an argument along the lines of 'if we don't implement it, you don't need it'.

      Actually, it's "You don't need it until we actually implement it". That's pretty typical of the linux-type crowd though that have always screamed that Vi and Emacs are the epitomy of advanced development environments.

    25. Re:Ruby could be packaged better by aCapitalist · · Score: 1

      Oh come on. Settting up a Rails environment isn't that hard. And that is all you need to start developing "serious" (web) apps in Ruby. Get a Mac and run Textmate and you are set.

      Oh come on, Edlin is all you need to start developing serious web apps in Ruby. Get a DOS machine and you are set. For the sarcasm-impaired the parent is typical of the "We haven't implemented it, so you don't need it" crowd.

    26. Re:Ruby could be packaged better by aCapitalist · · Score: 1

      IDE? You mean like vim and an xterm?

      Honestly, I've never liked IDEs, or any tool so specific to a given language / environment, that the experience won't generalize to my next project. I'd rather climb a steeper learning curve and learn a piece of software that I can be reasonably sure I will still be using for whatever language and system I'm working in in 2030.


      No, we mean modern development environments that aren't stuck in some 1980s barley-above-console world. And "honestly", your personal preferences are irrelevant to other people's development tools preferences. Nobody is going to take away your precious vim if a kick-ass Smalltalk-like environment was developed for Ruby.

    27. Re:Ruby could be packaged better by misleb · · Score: 1
      Oh come on, Edlin is all you need to start developing serious web apps in Ruby. Get a DOS machine and you are set. For the sarcasm-impaired the parent is typical of the "We haven't implemented it, so you don't need it" crowd.


      More like the "Quit your whining and start coding if you are really that interested in it" crowd. He's complaining about not having a "single installer." And he goes on to wish Ruby was more like MS Access, of all things. MS Access!? What kind of point of comparison is that?

      -matthew
      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    28. Re:Ruby could be packaged better by h4ck7h3p14n37 · · Score: 1
      There is very strong evidence based on decades of research (such as with Smalltalk in the 70s) that says that the best way to learn and use OOP languages is with a good GUI. There is nothing to match browsing classes and dynamically inspecting objects during the execution of a program.

      Just a short anecdote from my college days. I took a grad-level course in object oriented programming languages that covered both C++ and Smalltalk where all of the machine projects included a GUI and were implemented in both languages. I found that I spent much more time trying to get the GUI to work than I did with the object related pieces.

      I never really had a problem understanding what OOP was all about. I think too many texts focus on breaking problems down into too many objects/classes instead of teaching people the reasons for using them, mainly code re-use. I find that if you're good at decomposing problems and structuring programs intelligently, then you should be good at the implementation no matter what paradigm is used.

    29. Re:Ruby could be packaged better by Decaff · · Score: 1

      I never really had a problem understanding what OOP was all about. I think too many texts focus on breaking problems down into too many objects/classes instead of teaching people the reasons for using them, mainly code re-use. I find that if you're good at decomposing problems and structuring programs intelligently, then you should be good at the implementation no matter what paradigm is used.

      I think there is nothing to compare with the experience of being able to dynamically debug and inspect a running OOP program, particularly a good Smalltalk. The ability to see the impact of code changes immediately and without any edit/compile/run cycle is incredibly powerful (and fun!).

    30. Re:Ruby could be packaged better by colmore · · Score: 1

      A keyboard gives you ten simultaneous points of input.

      If you have even a small amount of experience, it's faster than using a mouse. Sit an experienced vim / emacs hacker next to someone using Visual Studio, Code Warrior, Smalltalk whatever, Ecclipse, etc. and I'll give you ten to one odds I can predict who is going to be working more efficiently and spending lest time copying pasting and navingating four tier deep menus.

      --
      In Capitalist America, bank robs you!
    31. Re:Ruby could be packaged better by aCapitalist · · Score: 1

      If you have even a small amount of experience, it's faster than using a mouse. Sit an experienced vim / emacs hacker next to someone using Visual Studio, Code Warrior, Smalltalk whatever, Ecclipse, etc. and I'll give you ten to one odds I can predict who is going to be working more efficiently and spending lest time copying pasting and navingating four tier deep menus.

      Yeah, the guy with the Vi plugin for Eclipse or VS;) But seriously, if you're using Vim or Emacs for a language like Java then, no, you're not going to be more efficient at your work. You're going to be way less efficient. In fact, we almost fired a guy (who otherwise was a very talented developer), but who refused to stop using Vim for Java development. He was lagging behind the rest of the team. Eventually we bought him a Vi plugin for Eclipse and all was good.

      But please tell Smalltalk programmers that they should give up the environments that they have had for a couple decades now, and watch them laugh in your face. I've been using Vi/Vim for the better part of a decade now and I know the power of the keybindings. But the key here is the keybindings themselves, and not the actual editors themselves, which are pretty antiquated. It's good to know Vim/Vi because it's going to be on just about every Unix box in the world, and I use it all the time for quick file reading and quick edits, but as far as a good development environment for a large code base, it's severely lacking.

    32. Re:Ruby could be packaged better by Anonymous Coward · · Score: 0

      I think too many texts focus on breaking problems down into too many objects/classes instead of teaching people the reasons for using them, mainly code re-use.

      It's more about hiding implementation details to make changing the software manageable. We still suck at reuse.

  3. DB2... The only change? by Aladrin · · Score: 4, Insightful

    I can understand wanting to get news of the DB2 adapter out to the public... But to attach a tutorial to it that is basically just another RoR tutorial seems pointless. The only differences in this article from every other RoR article were in the paragraph that describes how to install the DB2 adapter for RoR.

    -yawn-

    --
    "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
  4. Re:DB2... The only change? by Anonymous Coward · · Score: 5, Insightful

    But to attach a tutorial to it that is basically just another RoR tutorial seems pointless.

    It's called "jumping onto the bandwagon"; you may have heard of it. It's what all of IBM's "cutting-edge" developerworks-articles (written by some sophomore pimply FOSS-monkey intern) are about.

  5. Really good news. by marcello_dl · · Score: 5, Interesting

    Getting the likes of IBM to recognize the usefulness of the Rails framework is a little more than just another DBMS supported: rails used to be bashed, especially by java people, for not being "enterprise ready". They criticised the limitations of the active record ORM (but it's open source, you can either extend it or make your custom sql calls), or the relative immaturity of ruby and libraries.

    Now such claims will sound less credible so more dubious people might give it a try.

    --
    ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    1. Re:Really good news. by Decaff · · Score: 4, Insightful

      Getting the likes of IBM to recognize the usefulness of the Rails framework is a little more than just another DBMS supported: rails used to be bashed, especially by java people, for not being "enterprise ready". They criticised the limitations of the active record ORM (but it's open source, you can either extend it or make your custom sql calls), or the relative immaturity of ruby and libraries.

      Now such claims will sound less credible so more dubious people might give it a try.


      IBM has been hosting articles about RoR for some time - this is not a major change in attitude - it is indeed simply getting just annother DBMS supported. Rails is bashed for not being enterprise ready for more than just the range of databases supported. This additional support does nothing to change the limitations of the Active Record approach (and the ability to extend the system does not make it enterprise ready).

      There are many aspects of Ruby and Rails that remain a significant barrier to much enterprise use - performance, for one thing (Ruby VMs that might address this problem seem stuck in permanent beta), the ability to handle international characters is another.

      To assume that these issues are somehow fixed simply because IBM has provided DB2 support is nothing more than wishful thinking.

    2. Re:Really good news. by marcello_dl · · Score: 1

      I should have been more explicit. You made some points about ruby that can be crucial indeed. But those emerge after you tried the technology and see it unfit for your needs. Many other people just swallow up the opinion by java lovers (trolls?) that I was referring to and don't bother to give it a try. You probably meant enterprise ready as "advanced feature-rich", I meant "useful in business". I also never implied that limitations of rails would go away on their own, ideally a frameworks limitation should be apparent as early as possible to avoid people making wrong choices. But this is a completely different problem. Anyway I didn't notice that IBM was already interested in rails, so my comment is indeed exaggerated.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    3. Re:Really good news. by Decaff · · Score: 1

      You probably meant enterprise ready as "advanced feature-rich", I meant "useful in business".

      Not really - for me, features like support for internationalisation are not just useful, but crucial for any large-scale (enterprise) applications. This is, of course, different from smaller-scale applications, for which RoR may well be suitable.

    4. Re:Really good news. by FooAtWFU · · Score: 1
      the ability to handle international characters is another.

      Wait. I don't develop Ruby. But you're not honestly telling me that it doesn't at least have support for UTF-8, are you? I would have thought that UTF-8, at least, would have been a given for such a project. Is the support only partial, or is it limited, or... something?

      --
      The World Wide Web is dying. Soon, we shall have only the Internet.
    5. Re:Really good news. by jizmonkey · · Score: 2, Informative
      Wait. I don't develop Ruby. But you're not honestly telling me that it doesn't at least have support for UTF-8, are you? I would have thought that UTF-8, at least, would have been a given for such a project. Is the support only partial, or is it limited, or... something?

      The (Japanese) creator of Ruby thinks that Unicode sucks, and therefore Ruby has only half-baked support for Unicode. There are patches to make Rails work with Unicode but they're a little flaky.

      --
      With great power comes great fan noise.
    6. Re:Really good news. by Decaff · · Score: 0

      Wait. I don't develop Ruby. But you're not honestly telling me that it doesn't at least have support for UTF-8, are you?

      Yes, I am.

      I would have thought that UTF-8, at least, would have been a given for such a project.

      Indeed.

      Is the support only partial, or is it limited, or... something?

      No, it is absent. There is work going on to help fix this.

    7. Re:Really good news. by MrWa · · Score: 1
      the ability to handle international characters is another.

      I do not know the full extent of internation character lack of support, but that seems quite ironic since Ruby is from Japan

    8. Re:Really good news. by Decaff · · Score: 1

      yes, it is!

    9. Re:Really good news. by fishbowl · · Score: 1

      >Getting the likes of IBM to recognize the usefulness of the Rails framework is a little more than
      > just another DBMS supported: rails used to be bashed, especially by java people, for not being
      >"enterprise ready".

      Others of those Java people gave Rails a try, and quite a few of them have just showed off their successes in Chicago.

      For all the talk, pro or con, there's the pesky matter of *results*.

      Too many applications are built using very cumbersome frameworks, especially web presentation stuff, database binding, and scaling up to production levels, and of course some of these applications probably justify such architectures, but many can be developed, quite competently and successfully, using Rails. The people who are doing it, aren't really doing advocacy... they are just happily using it to go from idea to revenue stream, way faster and more consistently than they ever did with Java.

      There's not really an excuse not to add Rails to your toolbox and personal knowledge base. Any competent Java programmer who has ever touched a webapp, should be able to go from tabula rasa to deployed application inside of 4 hours. It leaves a lot of time (and money!) available for *design*, which is (and should be) the expensive part that takes work...

      --
      -fb Everything not expressly forbidden is now mandatory.
    10. Re:Really good news. by jrockway · · Score: 1

      > that seems quite ironic since Ruby is from Japan

      The story goes that the Japanese were upset about the whole Unicode thing. They had their own charsets that had all the Japanese characters necessary... so why bother with all these other languages?

      There was also the "Han Unification" (as part of the Unicode "transition") where all CJK characters that were the same were mapped to the same code points. Again, this upset the Japanese for some reason; I'm not sure about the details. Apparently some language experts disagree about which characters are and aren't the same; dictionaries have lost details over the years and it's hard to say what's right and what's wrong.

      OTOH, I learned most of this in the context of Ruby, so maybe it's just the Ruby guy that's upset about all of this. I read debian-users-jp, and there are certainly a lot of questions about setting up a proper UTF-8 environment. So maybe one loud person, that speaks English, is not fairly representing the entire country, while everyone else is happy to embrace UTF-8. (Even I use en_US.UTF-8 exclusively, and it makes for a nice computing experience; or at least a music library that's multi-lingual :)

      --
      My other car is first.
    11. Re:Really good news. by Guy+De+Bideux · · Score: 1
      "IBM has been hosting articles about RoR for some time - this is not a major change in attitude - it is indeed simply getting just another DBMS supported."

      I think there is a very important point that you are missing in your argument. IBM DB2 is now the only database platform that has been enabled for Ruby on Rails by the database vendor. DB2 is not relying on drivers/adapters to be provided by someone in the community. As good as some of the community-provided enablement can be it is no match to what a database vendor would provide.

      Another important point. New technologies like Ruby on Rails are typically rejected by the IT managers until they see evidence of a major IT provider committing to the technology. IBM release of enablement for DB2 on Rails http://alphaworks.ibm.com/tech/DB2onRails will go a long way in bringing Ruby on Rails in the enterprise ... a heck of a long way further then "just another database".

      As for Ruby on Rails not being "enterprise ready" ... isn't the same thing that just a few years ago people were saying about Linux and Java? No doubt Ruby on Rails still has some growing up to do but it is ready for a lot of applications in the enterprise today. The question is "is the enterprise ready for Ruby on Rails?". Having IBM put DB2 on Rails and posting these articles on developerDomain can go a long way to getting enterprises there. For my money, everybody should try to do a small project now in RoR if for no other reason then to see what their programming job is going to look like in a couple of years :-)

    12. Re:Really good news. by MrWa · · Score: 1
      Thanks!

      Can you point to a good site explaining how to setup en_US.UTF-8? Preferably for FreeBSD if possible. I have a lot of music folders and files that are named "????" now!!!

    13. Re:Really good news. by jrockway · · Score: 1

      just export LC_ALL="en_US.UTF-8" and LANG="en_US.UTF-8" and everything should work. This might be a Linux-ism though; you have to make sure that your system as the en_US.UTF-8 locale around somewhere. (Debian uses locale.gen; but I don't know about *BSD.)

      --
      My other car is first.
  6. Ruby on Rails for DB2 Developers by stud9920 · · Score: 1
    Ruby on Rails for DB2 Developers
    Does that mean Ruby is derailed for Oracle, mysql and postgres developers ?
    1. Re: Ruby on Rails for DB2 Developers by MoeDrippins · · Score: 1

      > Does that mean Ruby is derailed for Oracle, mysql and postgres developers ?

      What would give you that idea? The DB2 adapter is part of Rails, and can be used outside the web-stack if you like. Your question is akin to asking if Java using Oracle is no longer relevant since someone has come out with a type 4 JDBC driver for Sybase.

      If you were trying to be funny here, then I apologize for not getting it.

      --
      Before you design for reuse, make sure to design it for use.
  7. RoR vs Django? by Poromenos1 · · Score: 1

    I was wondering if anyone has used both RoR and Django. Having only used the latter myself, I am a bit curious on how they compare. Can anyone fill me in on that?

    --
    Send email from the afterlife! Write your e-will at Dead Man's Switch.
    1. Re:RoR vs Django? by necaris · · Score: 1

      AFAIK it's not just Django, there's stuff like TurboGears out there as well that does the same sort of thing. I believe Django was developed for a publishing environment and still has newspaper-y assumptions built in, whereas Rails was designed to be more general-purpose, but I haven't encountered Django recently so this could all be old news...

      --
      "Never attribute to malice that which can be attributed to stupidity." - Anonymous
    2. Re:RoR vs Django? by Anonymous Coward · · Score: 0

      Django looks nice but, from reading their light tutorial, there's at least a big difference: you have to describe your models in the code. RoR reads all it can from the database, so you just need to add a "foo" column to your table and voila, you get a "foo" attribute of the correct type, that can be used even without restarting anything.

    3. Re:RoR vs Django? by nstlgc · · Score: 1

      I still don't understand why people consider this a good thing...

      --
      I'm Rocco. I'm the +5 Funny man.
    4. Re:RoR vs Django? by Poromenos1 · · Score: 1

      I know there are more, but Django's what I'm familiar with :). I don't know about the assumptions, I haven't noticed any, but then again, I have nothing to compare it to...

      --
      Send email from the afterlife! Write your e-will at Dead Man's Switch.
    5. Re:RoR vs Django? by amaupin · · Score: 3, Interesting

      Haven't tried Django, but while Ruby on Rails is making progress, it's still no match for the power and flexibility of Zope.

    6. Re:RoR vs Django? by Anonymous Coward · · Score: 0

      It's not good, it's RAD.

    7. Re:RoR vs Django? by teg · · Score: 2, Interesting

      Haven't tried Django, but while Ruby on Rails is making progress, it's still no match for the power and flexibility of Zope.

      I've been programming python for many years now - I've not used Django, but after reading the docs etc. it looks like yet another "Ruby on rails is popular, let's make something!" which is nowhere near finished. One nice thing about Ruby on Rails is focus - the entire ruby community seems to be on the bandwagon, driving it forward and integrating nicely with it. This means that docs, libraries etc are there for you.

      Zope is way too complex... when you know easily how to get most of what you want to do in python scripts from straight database tables, you'll hit your head against the wall for ages converting this from python code to Zope and its evil ZoDB[1]

      [1] The one good reason for using ZopeDB is that Python's database libraries need a large overhaul. Consistency is badly needed (making things like quoting etc. driver dependent... which sick mind thought that was a good idea?), and why are there so many drivers? There shouldn't be a need for much more than one for each database - and e.g. in the case of PostgreSQL, that should be the bundled one. pyPgSQL, PyGreSQL, Psycopg, PoPy, Proboscis.... and I'm sure I forgot some. The perl DBI interface was more pleasant to use almost 10 years ago than the python DB interface is today. JDBC also got it right. A de-facto standard python ORM would be nice too.

    8. Re:RoR vs Django? by masklinn · · Score: 5, Informative

      I've tried a bit of both, and from what I've seen:

      • Rails does more user-related stuff automagically, but doesn't build your administrative interfaces (you have to do that yourself). Django's admin interfaces are dead-easy to build and gorgeous to boot (as far as admin interfaces can be I mean).
      • Rails does a lot of things by itself, but you have to follow the Rails Path/Rails Way/whatever. It's name means it all, if you veer too far from how DHH intended Rails to work it breaks (in the sense of "it makes your life a living hell), while Django is much more flexible. If you don't like the way Rails work you're screwed while with Django you can recover. The plus side is that Rails does a lot of things for you if you follow The Rails Way.
      • I quite like the ActiveRecord ORM pattern. On the other hand i'll repeat the last point: if you want to switch to another ORM pattern or ORM period, you're going to have a hard time. Django makes it much easier to switch to a non-default ORM engine (the impressive SQL Alchemy for example)
      • Rails' quite static (directories) structure make it... well.. structured. You don't want to bend the directory structure too much (see point 2), but it's usually well thought of and gives a very clean feeling. Django "feels" much less structured out of the box.
      • Testing is strongly emphasized in Rails, and it goes a long way towards helping you write as many Unit (for models) and Functional (for controllers) tests as you can write. And every time you generate models or controllers Rails will create test stubs that you just have to fill.
      • ERb. Basically, you write your templates (views) in Ruby. This means that Ruby's templates are much more powerful than Django's (out of the box) templates, and you don't have to learn another language and switch between Ruby and your-template-language. On the other hand, Django's templating language makes it much simpler to use by designers (ERb is much more fit to coders, and the Django team considered that coders didn't know jack about web pages and weren't supposed to go near the stuff). The downside of ERb is -- of course -- that since it's much more powerful (you have the full power or Ruby available) you can turn your templates into a PHP-like crapfest with whole bunches of application/model logic in them.

      I haven't build any big application with either yet, I don't have any real preference yet (I know more about Rails than Django though), but how I see it ATM is that way: if I need an extremely extensive admin interface, I'll just go with Django, the admin scaffolds just save too much time. If I don't need that extensive admin interfaces I'll go for the most well-known language in the team (if I have Pythonistas I'll pick Django, if I have rubyists I'll go with RoR).

      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    9. Re:RoR vs Django? by masklinn · · Score: 2, Interesting

      after reading the docs etc. it looks like yet another "Ruby on rails is popular, let's make something!" which is nowhere near finished

      It's not, both are extremely different from one another (and even more since the Django guys went the magic_removal route). And while Django is not finished (nor is rails) it's very much production ready.

      why are there so many drivers? There shouldn't be a need for much more than one for each database - and e.g. in the case of PostgreSQL, that should be the bundled one. pyPgSQL, PyGreSQL, Psycopg, PoPy, Proboscis.... and I'm sure I forgot some. The perl DBI interface was more pleasant to use almost 10 years ago than the python DB interface is today. JDBC also got it right. A de-facto standard python ORM would be nice too.

      I hear you, that's probably the biggest issue with the Python community, this "No tool does exactly what I want, so I'll just build a new one, no point in extending an existing one" attitude.

      Brings some interresting stuff to the table though (have you tried SQL Alchemy in your Quest For An ORM?)

      Another Python issue is that the community can hardly bring itself to standardize things, and even then people usually try to build even more tools (sometimes better though, see py.test versus STL's unittest, or effbot's ElementTree which will finally be part of the STL with Python 2.5 versus the whole xml package crapfest)

      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    10. Re:RoR vs Django? by Poromenos1 · · Score: 1

      Ah, that was very informative. Based on what you said, there's not THAT much more that RoR does that one has to learn a new language + framework to use over Django.

      And I agree, the admin interface is a lifesaver :)

      --
      Send email from the afterlife! Write your e-will at Dead Man's Switch.
    11. Re:RoR vs Django? by masklinn · · Score: 1

      Based on what you said, there's not THAT much more that RoR does that one has to learn a new language + framework to use over Django.

      While it's true, I consider that broadening your horizons and knowing more if only for the sake of widening your field of vision is always a good thing.

      Plus neither are Rails nor Django static, they're both under heavy development (likewise for Turbogears, but I don't know that one at all).

      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    12. Re:RoR vs Django? by jcroft · · Score: 1

      Nevermind the fact that there have been production sites built on Django FAR longer than there have been production sites built on Rails, I guess. *rolls eyes*

      Rails was open-sourced first, but Django has been in existence and working well longer.

      --
      ----------
      Jeff Croft
      http://jeffcroft.com
    13. Re:RoR vs Django? by jcroft · · Score: 2, Informative

      Django did start out in publishing (I should know, I'm the senior designer for the publishing company that created it). But, since then, it's been developed greatly to work well in other application-type environments. While Django still excels at content-heavy sites, and you can see the roots are in publishing, I would contend it's every bit as capable for more transaction-based web apps as Rails is.

      --
      ----------
      Jeff Croft
      http://jeffcroft.com
    14. Re:RoR vs Django? by jcroft · · Score: 2, Insightful

      I would say this is a bit of the Python philosophy showing up in Django: Explicit is always better than implicit. Obviously Rails doesn't share this philosophy, and that's fine. But Django definitely intends to be very Pythonic, and model definitions are no exception.

      --
      ----------
      Jeff Croft
      http://jeffcroft.com
    15. Re:RoR vs Django? by Poromenos1 · · Score: 1

      Ah, I would much like to learn Ruby. If only I could find a tutorial that is not a zillion pages long :(

      --
      Send email from the afterlife! Write your e-will at Dead Man's Switch.
    16. Re:RoR vs Django? by potHead42 · · Score: 1

      In case you haven't seen it yet, check this out. It's also rather long, but so hilarious you'll not want to stop reading.

  8. Re:DB2... The only change? by masklinn · · Score: 1

    IBM has been jumping on multiple bandwagons for a while now, I think I've already seen at least a pair of Rails tutorials and at least one or two Django tutorials on DeveloperWorks.

    They're usually fairly bad too..

    --
    "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
  9. migrations by Zugot · · Score: 0, Redundant

    too bad it doesn't support migrations. better luck next time ibm.

    --
    -- Bryan
    1. Re:migrations by Anonymous Coward · · Score: 0

      The IBM DB2 adapter does support migrations. There are little things that are not implemented yet, but you can still use migrations.

  10. Re:DB2... The only change? by Anonymous Coward · · Score: 0

    Your sarcasm isn't too far from the mark: IBM is a tad too slow to respond on this one.

    I am also suprised by their attention. I work in banking and my experience has seen DB2 used to support very heavy applications (e.g. internet banking with 1+ million customers). Is rails being used in enterprise for heavy web apps (not my field)?

  11. Re:DB2... The only change? by osgeek · · Score: 1

    IBM doesn't want to point their customers and potential customers to web sites that describe how to use MySQL, then have to tack on a "... and then here's how you can use OUR product with it."

    They want to keep the user firmly in their court for the entire exercise, so this approach makes sense from their perspective.

    Plus, it's easier to follow one tutorial than to have to skip around multiple ones.

  12. Not as hot by nostriluu · · Score: 0, Flamebait

    Sorry, RoR is not nearly as "hot" as Ajax. RoR people may think it is, but Ajax applies equally to all different technologies and RoR's adoption, aside from a few notables, and many small projects and hobbyist tinkering, is very low. Some RoR led concepts have made it into other languages, but it's still by far a minority player in a vast field, and very likely to succumb to a variety of factors - not being possible to be "all that" and people getting turned off, an existing or new solution comes out that's even better, and so on.

    I heard one speaker saying RoR invented MVC (when it at least originated with Smalltalk way back when), so you know there's a certain amount of hype at work here.

    1. Re:Not as hot by masklinn · · Score: 1, Insightful

      The big difference is that Rails is an actual tool, with a of buzz around it, while AJAX is wankery for marketroïds and is only buzz.

      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    2. Re:Not as hot by nostriluu · · Score: 1

      Nah, AJAX is a general description of the technique of using "asynchronous javascript and xml" (although it may be synchronous, doesn't have to use javascript, which should properly be called ecmascript, you shouldn't capitalize the 'a' in an acronym, and xml is optional as well, so maybe "discreet content updating" would be a better term but isn't very catchy) and is being widely used so it is in fact an identifible thing and by the amount of attention/adoption "hot."

    3. Re:Not as hot by SilentBob0727 · · Score: 2, Interesting

      As an example of the hype machine in action, I recently interviewed for a web developer position. When the subject of my AJAX experience came up, I said that I had extensive experience. He then asked about my Ruby experience, which I said was limited. He then laughed -- LAUGHED -- and said "What are you talking about? AJAX is a *part* of Ruby!" Clearly I had no experience in either technology and was lying "because otherwise I would know this", and the interview went downhill from there.

      --
      Life would be easier if I had the source code.
    4. Re:Not as hot by Anonymous Coward · · Score: 0

      what are you talking about
      GMail
      Google Calendar
      and now Picasa Web Albums

      They don't use AJAX simply for marketing, they use AJAX to make the web apps responsive enough to finally rival and surpass their corresponding desktop apps.
      Oh yeah they don't use RoR at all.

    5. Re:Not as hot by I+Like+Pudding · · Score: 2, Interesting

      I would actually consider this a good thing. This guy let on that he didn't know what the hell he was talking about right up front at the interview, on top of demonstrating a lack of professionalism - a great time to walk, assuming you weren't hurting for the money. I wish every company were so forthcoming about their flaws.

    6. Re:Not as hot by domukun367 · · Score: 2, Interesting

      It sounds like you were saved from having to work with morons there SilentBob.

      I view a job interview as a chance not just for them to find out about me, but a chance to find out whether they are a group of people worth working for.

      --
      Please don't send a Word document when a text file will do the job.
  13. RoR programmer ? What are your websites.. by J4nus_slashdotter · · Score: 1

    Ror programmers, could you step out your websites ? What are the main advantages and disadvantages of Ror ? Thank you

    1. Re:RoR programmer ? What are your websites.. by Anonymous Coward · · Score: 1, Informative

      Advantages:

      - Ruby
      - Speed / Efficiency (about 1:3 - 1:5 ratio over other environs)
      - Routing (Pretty URLs)
      - Test-Driven Development

      Disadvantages:

      - Internationalization
      - Integration with Compound Primary Keys (legacy databases)

      RoR is best used as a front-end for a new (or significantly refactored) application. The approach of "convention over configuration" that RoR uses is magnificent, but if your existing application you want to port doesn't do things the "RoR way" (example, ActiveRecord expects a single-column integer primary key 'id'), then it's more difficult to port. (A counter-argument could be stated that multi-column or intelligent keys have no place in a DB -- my stance.)

      If you can, for the most part, follow the RoR conventions in your application the speed of development is consideribly faster. Performance is pretty good when you understand how it works (there are separate environments -- development vs production) which significantly effect performance. It supports sophisticated caching as well.

      Finally, the things I listed in the disadvantages column are partially-solved by "plugins" which are easily downloadable and available to any app that needs it. The community is very active and new OSS plugins / generators are making their way onto the scene every day.

    2. Re:RoR programmer ? What are your websites.. by jbplou · · Score: 1

      about 1:3 - 1:5 ratio over other environs

      How do you prove this?

    3. Re:RoR programmer ? What are your websites.. by Anonymous Coward · · Score: 0

      check the screencasts at rubyonrails.org

  14. Re:DB2... The only change? by kpharmer · · Score: 1

    > I work in banking and my experience has seen DB2 used to support very heavy applications (e.g. internet banking with 1+ million customers).
    > Is rails being used in enterprise for heavy web apps (not my field)?

    Massive databases often support multiple presentation layers - ecommerce, internal administration, parter access, internal reporting, etc, etc. Even if you're doing one in Java/websphere there's no reason another couldn't be in RoR.

  15. Re:DB2... The only change? by Decaff · · Score: 4, Insightful

    Massive databases often support multiple presentation layers - ecommerce, internal administration, parter access, internal reporting, etc, etc. Even if you're doing one in Java/websphere there's no reason another couldn't be in RoR.

    There is good reason why you may not want it to be. The Java/J2EE/Websphere approach often uses clustering and cacheing to give high performance and scalability. You would not want to let a small RoR application (or any other type of application) loose on such such a system.

  16. I find it hard to believe that by Mofaluna · · Score: 3, Insightful
    Now that IBM has released a DB2 adapter for Rails, it's possible to write efficient Web applications on top of your existing DB2 database investment.
    While much can be said in favor of RoR, especially the fact that the approach is the best thing since sliced bread for a certain 'niche' market, non-enterprise applications, the above quote is wrong. There is a huge difference between efficiently writing web applications, that which Ror is good at, and writing efficient web applications, that which RoR traded of in favor of efficiently writing web applications.
  17. Re:DB2... The only change? by Anonymous Coward · · Score: 0, Troll

    You are wrong. Edd Dumbill is everything but a sophomore pimply FOSS-monkey intern. Search him on google.

  18. Re:DB2... The only change? by kpharmer · · Score: 2, Interesting

    > There is good reason why you may not want it to be. The Java/J2EE/Websphere approach often uses clustering and cacheing to give
    > high performance and scalability. You would not want to let a small RoR application (or any other type of application) loose on such such a system.

    It depends:
      - I'd bet that 9 out of 10 websphere/weblogic implementations don't use clustering
      - many massive databases have relatively modest websites, ie the heavy-lifting is all backend not presentation
      - many massive databases have small related "helper" applications that also need presentation layers
      - even clustering & caching applications should be able to handle changes to reference data through simple cache-refresh methods.

    Fortunately for me, most of my massive databases get php front-ends these days. And hopefully RoR soon.

  19. Re:DB2... The only change? by Decaff · · Score: 1

    It depends:
        - I'd bet that 9 out of 10 websphere/weblogic implementations don't use clustering
        - many massive databases have relatively modest websites, ie the heavy-lifting is all backend not presentation
        - many massive databases have small related "helper" applications that also need presentation layers
        - even clustering & caching applications should be able to handle changes to reference data through simple cache-refresh methods


    This is irrelevant. Of course the heavy lifting is backend - but that is where websphere/weblogic/j2ee come in - they are systems designed for this kind of heavy lifting. Where such high-performance and cacheing goes on (and this may not be simple), you can't just attempt to connect a PHP or RoR application to the same tables and expect everything to work right.

    Fortunately for me, most of my massive databases get php front-ends these days. And hopefully RoR soon.

    Then they probably aren't the kind of substantial applications being discussed. Large high-transaction-rate systems tend to use considerable amounts of in-memory storage and avoid falling through to the database where possible, as the database can be the slowest part of the system. The 'let the database store everything' approach of PHP and RoR doesn't scale to the highest levels of performance.

  20. Re:DB2... The only change? by jcnnghm · · Score: 1

    Personally, I think IBM should be commended. Their developerworks articles are usually of good quality, easy to find, well thought out, timely, and free. When I'm searching for some tech topic (specifically implementation instructions/tutorials) with Google if anything from IBM shows up, that's the first place I'll go. Just the other day I used their ssh keychain piece when I was working on setting that up.

    I just wish more companies would follow there lead and provide something of value.

    --
    You don't make the poor richer by making the rich poorer. - Winston Churchill
  21. Re:I imagine... by kpharmer · · Score: 3, Informative

    > I imagine that all three people who use DB2 are quite pleased with this development :)
    > What kind of market share does it have?

    Depends on how you count it. I think by revenue IBM databases account for about 1/3 of the market. This primarily consists of db2 but also includes numbers from informix and ims.

    > Seriously, I haven't seen any person or development shop in my area using DB2. I've never heard of it being used at all.

    It's used heaviest on the mainframes, but also works very well on windows & unix/linux. After having spent decades developing databases using db2, oracle, informix, sybase, sql server, postgresql, mysql, access, clipper, ims-db, vsam, etc - I've grown to like db2 quite a bit (and Informix the most). DB2 is far faster than mysql or postgresql, and about 1/2 the cost of oracle.

    The primary reason it doesn't have a larger marketshare is that IBM isn't very good at marketing, and until about four years ago its unix/windows version was a little clunky.

    DB2 works fine for small projects where it is very cost effective, but you typically see it the most on very large projects. It especially shines when your data volumes keep growing - then it gives a ton of different scalability options - all the way up to very robust beowulf-like clustering capabilities in which you can spread your database across hundreds of separate servers. For large projects like this its only real competition is Informix or Teradata.

  22. RoR Question from JAVA newbie... by Zaphod2016 · · Score: 1

    I need to code a simple app to interface with a forex trading system. Their API has been designed for JAVA/.NET and I am unfamiliar with both. I figure this would be a good excuse to learn RoR, but I am not sure how flexibile it is.

    As far as function goes, this is all math based. No fancy-pants GUI elements required.

    Am I better off designing a full-fledged JAVA app, or can RoR do this sort of thing and save me time?

    1. Re:RoR Question from JAVA newbie... by mr_rattles · · Score: 3, Interesting

      The API is designed for Java/.Net and you think it's a good excuse to learn Ruby? Wouldn't it be a better excuse to learn Java or .Net? Also, you said it yourself that it's a simple app so I don't think you need to bend over backwards "designing" a "full-fledged" Java app either. Just write the simple app using whichever API makes most sense for whatever you're interfacing with. On one side you say you have a Java/.Net API but what do you need to interface that with, another Java/.Net app? If that's the case your decision should be obvious.

  23. Unicode? by jopet · · Score: 2, Interesting

    Does it already properly support Unicode? Not everyone uses just English texts and the best and most common way to use characters of other languages is UTF-8.

    1. Re:Unicode? by RegularFry · · Score: 2, Interesting

      Which? DB2 or Rails? I'm assuming that DB2's got multilingual wrapped up pretty well. As far as Rails goes, there are a couple of handshakes to perform (set headers, set $KCODE, prod the DB in the right way if necessary), but once they're done, everything's just a bunch of bytes. Ruby's Unicode support isn't great (there's an active discussion about the best way to fix it up on ruby-lang right now), but 95 times out of 100 it doesn't cause a problem.

      By the way, one of the sticking points about the Unicode issue with Ruby is that the opinion that "the best and most common way to use characters of other languages is UTF-8" is not universally held. It might be the most common, but many learned and respected individuals think it's not the best.

      --
      Reality is the ultimate Rorschach.
    2. Re:Unicode? by jopet · · Score: 2, Interesting

      Since this was essentially about Rails getting DB2 support I implicitly addressed Rails/Ruby - sorry for

      In the meantime I did some research myself and found the sobering fact that Ruby/Rails essentially does NOT support Unicode in any usable way.

      A string of Unicode characters is NOT just a bunch of bytes: take the simple operation of finding the length of a word or reversing it: both string functions return nonsense in Ruby, if there is any character encoded in more than one byte in the string.
      That Ruby does not know anything about the encoding of its strings is causing lots of other problems, especially in context where one has to work with strings in different encodings (e.g. multilingual applications, applications based on texts derived from web sites).
      Ruby makes it unnecessarily difficult to do things in those cases.

      I have the impression that people tend to highly *underrate* this problem: for many of those applications I have written yet, support for Unicode and encodings like UTF-8 were quite essential.

      Regarding your statement about whether UTF-8 is the best way to encode characters I have to say: it depends - on the language and the source of your data. E.g. when your data comes from UTF-8 encoded database fields, it is not very pretty to re-code it into some one-byte encodig just to work around the Ruby shortcoming -- and in some cases this is not even possible.

      I really love the design of Ruby, but this is one of the biggest shortcomings in a modern programming language (unfortunately shared by several other more current languages).

      As much as I hate Java, at least they made it possible to do these things right from the start.

    3. Re:Unicode? by kahei · · Score: 1

      everything's just a bunch of bytes.

      Or, to put it another way, no, it still doesn't.


        the opinion that "the best and most common way to use characters of other languages is UTF-8" is not universally held. It might be the most common, but many learned and respected individuals think it's not the best.


      Indeed. For example, I prefer UTF-16 for most purposes, and I see that the MS and Java worlds agree with me; UTF-8 is primarily for Ugly Old Unix compatibility.

      Unfortunately, Ruby's issue is not so much with UTF-8 as an encoding as with a perception that Unicode as a character set is insufficiently Japanese.

      I know I have plugged this once before in a Ruby discussion, but anyway, my thoughts on attitudes to Unicode in Japan.

      --
      Whence? Hence. Whither? Thither.
    4. Re:Unicode? by RegularFry · · Score: 1

      Unfortunately, Ruby's issue is not so much with UTF-8 as an encoding as with a perception that Unicode as a character set is insufficiently Japanese.

      To a certain extent, I'm sure that's true. However, there's also the opinion I've heard voiced that restricting Ruby's String class to a single representation internally completely ignores the fact that there are other encodings out there. Java is *not* thought to have got string encoding right by several Ruyists, but I don't know how much of that impression comes from changing encodings mid-stream. There is also the belief that it's not necessary to have a single internal representation, but that tagging and dynamic conversion is what would make things easiest for the largest number of people.

      --
      Reality is the ultimate Rorschach.
    5. Re:Unicode? by RegularFry · · Score: 1

      In the meantime I did some research myself and found the sobering fact that Ruby/Rails essentially does NOT support Unicode in any usable way.

      That depends on what you mean by 'usable'...

      A string of Unicode characters is NOT just a bunch of bytes: take the simple operation of finding the length of a word or reversing it: both string functions return nonsense in Ruby, if there is any character encoded in more than one byte in the string.

      My point was that for the vast majority of cases, you don't need to care (because a string from the database will be seen the right way by the browser without Ruby needing to get in the way), and when you do, it's not impossible. The official stance right now is "We're getting it right next time, until then use regular expressions."

      Ruby makes it unnecessarily difficult to do things in those cases.
      Absolutely agreed.

      Regarding your statement about whether UTF-8 is the best way to encode characters I have to say: it depends - on the language and the source of your data.

      I find myself coming down on the side of those who believe that assuming any single encoding will fix everyone's problems are wrong.

      --
      Reality is the ultimate Rorschach.
    6. Re:Unicode? by kahei · · Score: 1


      I know, I can remember going through those conversations in about 1999 (when it appeared superficially at least as if there were a case for trying to support characters outside of unicode).


      However, there's also the opinion I've heard voiced that restricting Ruby's String class to a single representation internally completely ignores the fact that there are other encodings out there.


      That's the kind of opinion that seems to make sense until it's written down. A single internal representation is a usful starting point for allowing for the various external encodings that need to be dealt with. Unless you do something incredibly clever, of course...


      There is also the belief that it's not necessary to have a single internal representation, but that tagging and dynamic conversion...


      Getting that to work _would_ be incredibly clever. But the fact that it was a Ruby hot topic in 1999 and that there has been no change since then -- and Japanese encodings, as distinct from every other language's encodings, are still special cases! argh! -- suggests that it might take more cleverness than actually exists :)

      --
      Whence? Hence. Whither? Thither.
  24. Why Ruby? Why Rails? by mangu · · Score: 2, Insightful
    In all these articles about Ruby and RoR people always mention how great Ruby is and how great RoR is. After trying both, I must assume that I must be pretty stupid, because I fail to notice all that greatness. Let's see some case studies:


    1) I work for an aerospace company, and I recently needed some way to get NORAD TLEs from Celestrak. Never mind what TLEs are, I went to CPAN and found what I needed in a few minutes. How does Ruby compare to Perl in available libraries and utilities? If I have to get the TLE specifications and code my own functions in Ruby, sorry, but I'd rather cope with Perl's shortcomings.


    2) Occasionally I have to do some web applications to access corporate databases in Oracle, Ingres, and Postgres. The data contains international characters, which may be in UTF or ISO-8859, I need support for both and an easy way to shift between them, often in the same application. For this kind of work I use PHP together with the eGroupWare suite. I have no need for very complicated code here, these are mostly simple web forms and tables, which PHP+eGroupWare handle quite well. Using the built-in etemplates utility I can code applications very quickly.


    3) For really complex work I use C, or C++ with Qt if there is need for a GUI. I often create prototypes for my C code, using either Perl, Python, or Matlab to develop some of the algorithms. After I have the algorithm, I reimplement it in C using the many libraries available, such as GSL, Lapack, or FFTW, for instance.


    With all that, I have yet to find a reasonable niche where Ruby would fit, with or without Rails. I can see how someone who wants to learn only one language would think Ruby is the best, but I cannot imagine being more productive in Ruby than in the languages I use for each of the jobs I described.


    And the attitude one finds in Slashdot "hey stupid, Ruby is 'teh' language, you must be a troll" doesn't help either. For any other language I can find websites that give detailed descriptions of its good and bad points, but I have seen very little on comparing Ruby with other languages. From the little I have seen, it gives the impression of being somewhat remotely related to Lisp, like Python. How about creating a site that shows some examples comparing code written in Ruby with the same program in Python, Perl, C, PHP, Java, etc?

    1. Re:Why Ruby? Why Rails? by Anonymous Coward · · Score: 0

      yes you do seem like a stupid person, and working for an aerospace company doesnt make you smart.
      1. why would you rather deal with perl's shortcomings rather than quickly code it in ruby? seems like you just dont want to spend tiem in learning ruby. hence you are not qualified to complain about ruby.
      2. again, yes i am sure PHP+eGroupware can do he job, and so can 100s of other tool combos. but i dont see why thats a reason not ot use ruby?
      3. again i dont see your point. ruby is not designed to run cpu intensive jobs. its designed for developers to do development intensive jobs.

      i like to see ruby as macos of languages. its beautiful and elegantly designed. if you look at individual components, then yes macos is no different form windows. but its how all these components talk to each other.
      code written in ruby is easy to read, its fun to play with. this is after years of tinkering with so many other languages.
      its the perfect balance between lisp, smalltalk and perl

      Ruby is not THE language. its THE language, when the goal is to make somethin quickly, not when the goal is to makesomething which RUNS quickly.

    2. Re:Why Ruby? Why Rails? by RegularFry · · Score: 1

      1) CPAN has the advantage of being stupidly huge, and is one of the best things about Perl, or indeed any language. I don't know of a library set like it. Ruby's libs aren't as comprehensive, but there is a lot of useful stuff out there.

      2) There are two separate issues here. Character set conversion is happily handled by the Iconv library, which is part of Ruby's stdlib. Without being intimately familiar with eGroupWare, I'm not entirely sure what functionality it provides. On the other hand, I can say that a) building something equivalent in Rails would *probably* not be difficult, and b) something equivalent in Rails *probably* hasn't been built yet.

      3) Ruby isn't fast, by any stretch of the imagination. However, it is drop-dead simple to integrate native code, so you get the triple benefits of fast developer time for prototyping, fast hotspot-finding for identifying which bits really *need* to be native, and fast integration of the minimum of native code that you actually need, so that your code remains as flexible as possible.

      In terms of comparisons to other languages, you're right - Ruby is a sort of Lisp-without-macros. For comparisons many and varied, try here.

      --
      Reality is the ultimate Rorschach.
    3. Re:Why Ruby? Why Rails? by Anonymous Coward · · Score: 0
      I am an experienced J2EE developer and independent consultant, who is using Ruby/Rails/PostgreSQL for a major enterprise application. I have years of J2EE experience building applications using EJBs, Struts, Applets (the early years), Swing, etc. The RoR application we have built has a public financial services component complete with account management and point-of-sale, a private reseller component, and a private tracking/admin system. For several reasons, I cannot be too specific as to the actual application and customer, but I can give you some of my opinions based upon months of actual RoR development and years of J2EE development. Before beginning development, I tried 2 separate Rails tutorials and then compared the following 3 options:
      • J2EE stack using Tomcat/JoNAS/JBoss with no significant libraries
      • J2EE using WebObjects and its prodigious frameqork
      • Ruby on Rails

      We had a very short development schedule (a few months), a tiny budget (less than $50k including labor), and a small team (1-2 developers). I narrowed the choices to WebObjects and RoR, but shied away from the former due to concerns that WebObjects will only run on Apple hardware. While I use Apple hardware, I was hesitant about committing the server-side of the business to vendor lock-in (it would commit us to purchasing hardware and self-installing at the colo). I was also very impressed with the speed of development I was achieving in the tutorials for RoR. We ended up going with RoR on Apple hardware. My impressions to date :

      1. Deviating from the simple RoR tutorials requires some reading and learning time; however, I have found convenient APIs for every one of the things we have needed to date. It took a little while to figure out the nuances of the ORM mapping scheme for many-to-many associations.
      2. Learning the Ruby syntax and API was the most difficult part of the transition. While Ruby is OO, it is very different from programming in Java, and one must understand the language well to easily read the elegant Rails source code.
      3. Ruby is slower than compiled Java -- but that is a trade-off I expected. Basically, one is doing a text screen scrape for each application request plus interpreting the source code: the result is more latency compared to a compiled language. The good news is that the latency is still well within acceptable limits for a webapp and that buying more 1U servers is an inexpensive way to scale the app.
      4. Use the :active_record_store for session management. You'll need to create the db table a certain way, but it is scalable and easy to use.
      5. Use PostgreSQL. In case someone out there is considering using MySQL for an enterprise app, be very careful about the later. An ACID compliant db with full referential integrity built-in (yes, I know MySQL can use InnoDB) is the way to go.
      6. The ActiveMailer API is not intuitive. It took me 2 days and copying several examples to figure out what I was doing incorrectly.
      7. RHTML is very easy to use. I have the full power of Ruby to handle the annoying little tasks that tend to end up in the view layer. Personally, I prefer RHTML to the Struts way of doing things though I think Struts is an impressive framework that blazed the trail for every other view framework.
      8. One thing I would like to add to the Rails wishlist is the built-in abiliity to map your application to multiple, independent databases OR one database with multiple roles. We currently run different Rails apps if we need to have someone with one db role that has increased priveleges.
      9. Absolutely, and I mean absolutely, take the time to harden your production server and test your RoR application for the usual security exploits (and all the others in the OWASP top ten). If you use good programming conventions you will be protected against SQL-injection from the start. Adding h() escapes for model variables used in the view to protect against XSS is
    4. Re:Why Ruby? Why Rails? by finnif · · Score: 1

      3) Ruby isn't fast, by any stretch of the imagination. However, it is drop-dead simple to integrate native code

      This is a good indication that Ruby's implementation is flawed.

      There are real time applications that always need multiple languages (e.g games). But when there are alternatives that give you a single, fast language base up front (e.g. Java, IronPython), it seems pointless to go in a direction that would require writing C when that's not desired. Java is no panacea, far from it, but it certainly provides a lot of the benefits of what I'm talking about. The CLR is even better.

      What I'm getting at is: the reality is that Ruby could be running on top of either of these VMs right now. In fact, there was an effort to get Ruby on the JavaVM, which got scrapped, and there is a new effort to get Ruby on the CLR. I commend these efforts, but wonder why on earth Matz is spending time writing yet another VM (Rite)?

    5. Re:Why Ruby? Why Rails? by RegularFry · · Score: 1

      This is a good indication that Ruby's implementation is flawed.
      Not perfect, certainly. I'd go for 'immature' over 'flawed', though.

      In fact, there was an effort to get Ruby on the JavaVM, which got scrapped
      No it didn't. Here it is.

      But when there are alternatives that give you a single, fast language base up front (e.g. Java, IronPython), it seems pointless to go in a direction that would require writing C when that's not desired.
      It depends on which you value more: developer time or processor time.

      I commend these efforts, but wonder why on earth Matz is spending time writing yet another VM (Rite)?
      One word: continuations. I'm no expert by any means, but the impression I have is that continuations are mindbogglingly difficult to get right on a VM that's not designed with them in mind. The question in *my* mind is why Ruby hasn't been implemented on top of a Common Lisp runtime yet.

      --
      Reality is the ultimate Rorschach.
    6. Re:Why Ruby? Why Rails? by finnif · · Score: 1

      It depends on which you value more: developer time or processor time.

      I like how Rubyists propose that Ruby is the only language out there that has any potential developer time benefit. Java certainly does have that over C, and Python has that over Java. Having used Python and Ruby considerably, I think the two are pretty much on an equal footing for developer efficiency... except one major difference: Python runs well on the CLR.

  25. Re:DB2... The only change? by kpharmer · · Score: 1

    >>Fortunately for me, most of my massive databases get php front-ends these days. And hopefully RoR soon.

    > Then they probably aren't the kind of substantial applications being discussed. Large high-transaction-rate systems
    > tend to use considerable amounts of in-memory storage and avoid falling through to the database where possible, as the database
    > can be the slowest part of the system. The 'let the database store everything' approach of PHP and RoR doesn't scale to the highest levels of performance.

    Keep in mind that "substantial applications" take a variety of forms. Some have high transaction rates with relatively simple queries and many concurrent users. Perhaps J2EE is well-suited here, though I suspect that the complexity it incurs isn't worth the benefit, and there are a variety of ways to cache database data, including within the database of course. And of course, most people don't need "the highest theoretical levels of performance" - they need reasonable performance.

    Other substantial applications have low to no transaction rates with extremely complex queries and fewer users. In this latter situation j2ee is no better suited than RoR, actually worse in a variety of ways such as complexity & cost. Enterprise reporting and information dashboards & consoles are perfect examples in which applications may have just a few hundred simultaneous users running thousands of extremely complex queries.

    Back to RoR & DB2 - i'm currently working on a multi-terabyte DB2 database application that supports hundreds of large customers running extremely complex queries around the clock. It worked fine in php, there's no reason to believe that it won't work even better in RoR. Saying that this isn't an enterprise app, isn't a substantial app, or doesn't apply to anyone else is highly misleading.

  26. DB2 Disappointing by Anonymous Coward · · Score: 0

    Searching for a better database engine, I tried DB2 Personal Edition. Bletch. It's big and fat, but worst of all it's got a very badly designed user interface. Twenty odd gidgets. Which one do you run to create a table? I did eventually create a table, but it took ages and heaven help me if I can remember how I did it. Plus, it had many background processes doing I have no idea what, and the GUI was slow as hell (Java) - Write once, run nowhere :-). The DB2 ppl seem to have a crap understanding of writing Windoze apps too, because it threw away all my customizations (keys, menus) in Visual Studio when they "integrated it." Yeah - this is a problem with VS - but by convention an installing app asking you whether or not you want to install it in VS too (and thus kill your customizations). DB2 sat on my PC for ages before I eventually deleted it. A pain because you need the original install disk, and when it runs it takes forever. Despite IBM's name, DB2 is a dog.

    It is a bummer. Where do you turn? MySQL - popular but buggy. Firefox - less buggy but not so popular. Oracle - an extremely popular dinosaur that doesn't even bundle a GUI.

    Wherever you turn, I found DB2 a real letdown. Someone make the IBM ppl read joelonsoftware.com. He knows far more than that soon-to-be-extinct organization ever will.

    1. Re:DB2 Disappointing by Anonymous Coward · · Score: 0

      > Searching for a better database engine, I tried DB2 Personal Edition. Bletch. It's big and fat, but worst of all it's got a very badly designed user interface.

      1. DB2 isn't really designed for handling tiny databases like bowling team stats. It can do it, but it comes with a lot of overhead that you might not want for tiny projects. Now, lets say you want to manage a hundred little tiny databases - all having rich features - then it can do it very economically since that overhead is spread out. Or, more commonly, lets say you want to manage a 5-50,000 gbytes of data. Now that overhead is not a big deal.

      2. DB2's GUIs aren't very wonderful. They're usable, but slow and consume a lot of memory. On the plus side they generate the code so that you can run the commands manually (and document exactly what you ran, etc). There's also a great third-party tool called AQT, but that costs about $150 and is windows only.

      3. Database GUIs in general aren't very wonderful. Don't get me wrong, I use them all the time - but almost all of the real work is done at the command line via scripts. Haven't seen a GUI on *any* database that would make me want to give up programmable admin access via scripts.

      > Wherever you turn, I found DB2 a real letdown.

      4. Doesn't sound like you tried out its scalability & performance. Features like MDC partitioning, query rewrite and a great optimizer means that you don't need to give the engine "hints" - it almost always runs queries in the fastest ways.

      5. Or try out its adminstration. That's too bad. Personally, I like features like being able to add a volume to a tablespace online and having DB2 automatically rebalance data across it and its peers. Features like that make real-world administrative work so much easier.

      6. Note that db2 is created primarily by a database organization - and it shows. Its strengths are definitely all in the database, not the application tools. But it sounds like you only looked at the application tools.

    2. Re:DB2 Disappointing by finnif · · Score: 1

      It is a bummer. Where do you turn? MySQL - popular but buggy. Firefox [ed: I assume you mean Firebird] - less buggy but not so popular. Oracle - an extremely popular dinosaur that doesn't even bundle a GUI.

      I assume you already know the answer you're looking for here is SQL Server, right?

      I don't write databases for banks or anything, but coming from MySQL I've been very impressed with Yukon. Since SQL Server Express finalized, I've moved over to it -- it's a much better environment to work in if you use C# and/or Visual Studio at all. I imagine Microsoft's new strategy of C# Express, SQL Server Express, plus the $300 Windows 2003 Web Edition are going to create a lot of ASP.NET converts out there.

  27. There is a package already by pedrotuga · · Score: 1

    At least one. It's recomended for begginers on RoR's website. It comes out of the box... just unzip it and there you go.

  28. Re:I imagine... by Anonymous Coward · · Score: 1, Informative

    Unfortanly many parts of DB2 is buggy, slow and bloated. That means that you need several years of DB2 experience to work around all the issues. Our national bank had tons of issues with DB2 crashing under load (Websphere AS too), which could only be resolved by using JBoss and Oracle instead. I'm not fond of either Oracle or DB2, so I couldn't really care which they use. Horrible when even the experts IBM send in to assist can't fix the issue and claim it's an OS issue, even when the same problem arise on both Linux and Windows.

  29. But otherwise its not interesting by ndg123 · · Score: 1

    The readers of the article are likely to be developers in DB2 shops who haven't touched RoR yet. They may not have bothered downloading the software stack, installing and configuring when they saw 'MySQL', but now there is DB2 support, they would likely appreciate the complete getting started guide. Besides, they'd rather have the version written by someone who works for one of their major suppliers rather than a pimply sophomore in his blog (to borrow a phrase from a sibling poster).

  30. Re:I imagine... by Anonymous Coward · · Score: 0

    Rails has had Oracle support for quite a while - I was using it commercially last September, and it's gotten quite a bit better since (e.g. there's now support for oracle migrations). Much more interesting to most everyone than DB2...if only ActiveRecord would support bind variables.

  31. Re:I imagine... by kpharmer · · Score: 1

    > Unfortanly many parts of DB2 is buggy, slow and bloated.

    Not the core database. Like anything else, the fringe functionality that fewer people use or that is newer has tends to have more problems. Stuff like table inheritance, xml, replication, cube views, etc, client tools, etc. But the engine works very well. That ultimately is what I focus 99% of my time on.

    And back to how it was clunky a few years ago: anyone on the 7.* versions really needs to upgrade. v8 is a very good product, and now v9 is going to be out in a couple of months.

    Note also that in my experience most problems in which people "had to switch to oracle" started out because they had an oracle staff that did everything the "oracle way" - using oracle-style partitioning, etc. Then discovered that db2 didn't work as well as oracle in doing things the oracle way. Then they switched. However, it was a foregone conclusion that they would switch. With v9 coming out and oracle-style partitioning built-in perhaps those that insist in developing for oracle will find it much easier to get their code to work with db2.

  32. Re:DB2... The only change? by Paradise+Pete · · Score: 1
    You are wrong. Edd Dumbill is everything but a sophomore pimply FOSS-monkey intern. Search him on google.

    Why in the world is this moderated as trolling? Taking the parent post's advice, here's a bit more on the author.

  33. Re:DB2... The only change? by h4ck7h3p14n37 · · Score: 1

    *LOL* I've seen some poor ImageMagick tutorials also. I think DeveloperWorks is trying to be a newer, poorer version of O'Reilly.

  34. Re:DB2... The only change? by Decaff · · Score: 1

    Back to RoR & DB2 - i'm currently working on a multi-terabyte DB2 database application that supports hundreds of large customers running extremely complex queries around the clock. It worked fine in php, there's no reason to believe that it won't work even better in RoR. Saying that this isn't an enterprise app, isn't a substantial app, or doesn't apply to anyone else is highly misleading.

    No, it is misleading to generalise. You have something that supports hundreds of users and runs complex queries. Some of us write applications that support tens of thousands of users (with hundreds of concurrent sessions) but with relatively simple queries. With your use the database can pick up the load, and PHP and RoR are entirely suitable. With my use, I am intending to migrate to a clustered system with considerable in-memory cacheing and J2EE is far better.

    I would agree that the term 'enterprise' is confusing, but to take one specific case and assume that this indicates that PHP and RoR are general purpose enterprise tools is definitely mistaken. After all, J2EE can work very efficiently over a far wider range of types of enterprise app.

  35. Re:I imagine... by Anonymous Coward · · Score: 0


    Hi,

    I'm the original AC. Now Imagine my surprise when I found a real informative reply to my post. Thanks!

    I literally had no idea - I guess DB2 generally lives in closely parallel alternate universe to mine. Er, well, maybe _I'm_ in the alternate :). Thanks again.

    (Found a clue, thanks to you, in Ohio)

  36. Re:DB2... The only change? by Guy+De+Bideux · · Score: 1

    I think before calling authors names like "sophomore pimply FOSS-monkey intern" you ought to at least do a search on the author's name. http://www.xml.com/pub/au/Dumbill_Edd Edd Dumbill is a very respected guy in his field and has some very serious Ruby on Rails projects behind his belt. He is neither "sophomore" nor "pimply" and has quite a bit of integrity.

  37. Re:I imagine... by Guy+De+Bideux · · Score: 1

    Do you bank, buy insurance, shop at Home Depot, go to hospital, have your packages delivered by UPS, fly major airline, make telephone calls, get IRS audit notices, go to hospital, buy groceries, pay for electricity fill up at the gas station ...? Let me give you a hint ... you are not most likely using DB2. So, other then to be the backbone of commerce it is not used much :-)