sloppy application code from poor programmers ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,  PHP programmers
have you seen this ?

http://www.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=MySQL+toy+marston

I think I need something more than PHP in order to solve
any database problem.

Sure we can use C++  for accessing MySQL,
but my question is can all this be done, only with PHP ?

Shifting relational logic from MySQL to PHP ?
I think it must be an exaggeration.

Anyway the PHP coding presented here

http://www.tonymarston.co.uk/php-mysql/index.html

is crisp and helpful.  Especially the article about many to many
relationships.

If this is true we never need any newer versions of MySQL.
PHP can do it as well.


Yours Sincerely

Morten Gulbrandsen

========
http://www.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=MySQL+toy+marston

Subject: Re: Can MySQL table handle 3 million+ entries?

Newsgroups: comp.lang.php
Date: 2003-04-11 15:20:10 PST


MySQL is NOT a toy database - it is far superior to many I have used in my
long career. The lack of constraints is NOT a weakness. It is eminently
possible to create reliable applications without the need for database
constraints - I should know because I have designed and built many
applications that did not use database constraints (mainly because they were
not available). Developers only rely on database constraints to circumvent
their sloppy code. Anything that can be done within the database can also be
done within application code. I have seen what happens when poor programmers
try to shift logic from their code into the database - they get it wrong and
then blame the database for their incompetence.

I am used to designing and building applications without relying on database
'features', so I write my code accordingly. It also means that the logic is
maintained in one place and not it bits and pieces here and there.

Tony Marston

http://www.tonymarston.co.uk/php-mysql/index.html

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux