in reply to Shopping Cart Project - interested?

You had me up to here:
MySQL
Not PostgreSQL? Don't you want the best database for the new century instead of the best database for the late 90's?

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: Shopping Cart Project - interested?
by chromatic (Archbishop) on Feb 26, 2005 at 07:36 UTC

    That argument had as much merit the last time I heard it, when someone recommended PHP 4 over Perl.

    If you'd spent all of the time you've spent making snide remarks about MySQL giving the actual factual technical reasons why PostgreSQL is better than MySQL in those cases where it is, you'd have done a lot more to convince people.

    (Note to anyone else who wants to argue this: linking to MySQL Gotchas doesn't count for much in my book. Also be aware that I have used and still use MySQL, PostgreSQL, and SQLite.)

Re^2: Shopping Cart Project - interested?
by brian_d_foy (Abbot) on Feb 25, 2005 at 21:58 UTC

    Indeed: why any particular database product? or server?

    The answer is probably somewhere around "that's what hosting companies still offer", which is what a lot of people tell me when this topic comes up, but then they use all sorts of other advanced features that hosting companies usually don't support.

    --
    brian d foy <bdfoy@cpan.org>

      Because cross-database portability of SQL is still a myth. There are a lot of very, very similar flavours, and indeed the most basic of functionality is portable across dialects, however if you restrict yourself to factually portable SQL you'll very soon hit on limitations.

      OTOH, a lot of the differences in the DQL and DML areas which concern the set of features common to all database engines are only superficial, ie syntactical. So assuming the database queries are properly encapsulated away from the application in a module as they should be, it wouldn't be hard to abstract away the differences between databases into several flavours of this module, of which one can then be selected by a configuration parameter.

      What all that means is that it's preferrable to target a particular database at first and only refactor the business logic module that encapsulates the queries when time comes for that.

      Makeshifts last the longest.

Re^2: Shopping Cart Project - interested?
by moltar (Novice) on Feb 25, 2005 at 22:08 UTC

    PostgreSQL? Why not?.. Everything is open for discussion! The plan is to build the best shopping cart. If PostgreSQL fits into that criteria, then I am all over it :)