views:

88

answers:

3

I am planning a web-based commercial application with front-end RoR and back-end PostgreSQL.

I've some confusion about RoR and PostgreSQL Edition to use. For RoR, I have Aptana RADRails installed. For PostgreSQL, a free variant is also available at EnterpriseDB.

Previously I installed a free EnterpriseDB PostgreSQL variant and it was very smooth and had professional touch. It was quite different from the one available from PostgreSQL website.

I want to know which IDE and RoR variant to use for my project. I have no idea of Ruby and Rails. I will be learning and developing simultaneously. Also, which PostgreSQL variant to use? Can these two technologies be used for a developing a commercial application?

+1  A: 

About PostgreSQL, what do you need? PostgreSQL is a product from the PostgreSQL project, EnterpriseDB is one of the developers and they also make the one-click-installer. Their PostgreSQL Plus Standard Server product, is PostgreSQL plus some extra's. You're not getting a different type of database, just the same but with some extra's. Do you (and your custormers) need these extra's? And do you know the differences in licences and fees? PostgreSQL is free, that's for sure.

We deliver PostgreSQL and pgAdmin to our clients and they like it. At the moment still version 8.2, but later this year the transition to 8.4 will start.

Frank Heikens
@Frank: Sure the product is the same but their GUI programs are too smooth.
RPK
The database doesn't have a GUI (it's a database service on a server) and pgAdmin (just a client) is the same. What GUI are you talking about?
Frank Heikens
@Frank: I am talking about the installer, migration tool and Admin client.
RPK
EnterpriseDB also makes the installer for PostgreSQL. For a new application you don't need a migration tool and pgAdmin is just the same. So, why would use PostgreSQL Plus Standard Server when PostgreSQL is just the same but always for free and flexible? EnterpriseDB is great, don't get me wrong, but only when you need their services and don't want somebody elses services. It is a vendor lockin.
Frank Heikens
@Frank: Agreed.
RPK
+1  A: 

There are plenty of editors and IDEs that support Ruby on Rails, and which one to use is mostly a matter of personal preference. TextMate for OS X and RubyMine are two commercial editors that are popular these days, but there are several others -- check out the list at http://rubyonrails.org/ecosystem and see which one you like best.

As PostgreSQL is included in most Linux distributions, I would probably pick the one that comes bundled with the distribution I'm going to run on the server. I have been running a small-to-medium-sized Rails application on a PostgreSQL 8.3 installation on Ubuntu 8.04 LTS for a little more than a year and haven't had any problems yet.

Pär Wieslander
+1  A: 

You will do fine with either EnterpriseDB or PostgreSQL. EnterpriseDB might have a better Windows install experience, but on Linux installing vanilla PostgreSQL is a very easy process...most distros provide it out of the box. The real benefit of EnterpriseDB over PostgreSQL is Oracle PL/SQL support, some upstream improvements, and commercial support. However, you can purchase commercial support from them for vanilla PostgreSQL as well.

We use vanilla PostgreSQL 8.3 in a large (800 kloc) production ERP system. It handles it extremely well. We also use 8.4 in a number of other applications, including two Rails apps. In my opinion, you can't go wrong with PostgreSQL, and you'll be very pleased with PostgreSQL and Rails.

Regarding IDE and RoR variant...well...assuming you mean RoR version, they all support PostgreSQL. I'd personally start with the 3.0 beta, since it's the way of the future. Regarding an IDE, Netbeans is probably the best free option out there. RubyMine would be great if it weren't so damned buggy. Me, I use vim.

jbwiv
FWIW, EnterpriseDB and PostgreSQL uses the exact same codebase for their installers on Windows, so the experience should be no different.
Magnus Hagander