Re:Dammit, MySQL
by tomjen3 on Thursday July 22, 2010 @07:06PM
(#1539834)
I made the same argument to my database teacher. He pointed out that isn't going to do you much good when you have more than one application talking to your database, since you would then have to write the code to validate it in each application.
[ Parent
| on HN ]
Re:Dammit, MySQL
by ryanpetrich on Thursday July 22, 2010 @07:46PM
(#1539922)
Better yet, require that all applications call through some common API (such as a library or web service) to access the data.
Why not put that API inside the database (i.e. stored procedures and views)?