When dealing with large amounts of data, with mysql you need to do alot of tweaking to get it just right (database engines, etc etc...), and postgres works great out of the box.
Negated logic in if statements when not necessary is against "politically correct" software engineering standards. I used to use negated logic alot when not needed before college, but when I made an B on my first few projects because my if statements could be re-written, I soon learned the wisdom of only using negation when necessary to the logic. This is one of those cases where using if not DEV would get 10 points taken off. Perhaps I just had an anal proffessor :) -Thadeus On Sun, Nov 1, 2009 at 12:02 AM, Wiiboy <jordon...@gmail.com> wrote: > > I like using DEV_MODE, so I've got: > > DEV_MODE = request.env.http_host.startswith("localhost") > > if DEV_MODE: > DAL("sqlite://bla") > else: > DAL("postgres://bla") > > I'm debating MySQL vs Postgres, actually. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---