You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a real ORM is probably desirable, instead of hand-coding SQL. This would also simplify unit tests for DBO.php, since it wouldn't need to use a real database, insert data, and verify the data coming out is what's expected. Instead, the unit tests could simply confirm that each method in DBO invokes the expected ORM methods.
I don't know much about ORMs in PHP, so I don't know which would be a good fit. Doctrine and Propel seem to be the most popular.
The text was updated successfully, but these errors were encountered:
Using a real ORM is probably desirable, instead of hand-coding SQL. This would also simplify unit tests for DBO.php, since it wouldn't need to use a real database, insert data, and verify the data coming out is what's expected. Instead, the unit tests could simply confirm that each method in DBO invokes the expected ORM methods.
I don't know much about ORMs in PHP, so I don't know which would be a good fit. Doctrine and Propel seem to be the most popular.
The text was updated successfully, but these errors were encountered: