3 ms·
> good-practice security measures +1 for that. Even for super small projects, I use an ORM, because there is always some user input that needs to go to the dat
by drinchev 9y ago
> good-practice security measures
+1 for that. Even for super small projects, I use an ORM, because there is always some user input that needs to go to the database query string. Life is too short to maintain every single query.
- pllbnk 9y agoI would like to add that this is not a binary choice. Depending on the complexity of the requirements its possible to differentiate between and even mix the levels of abstraction. I personally like to avoid using ORM by its true meaning (mapping object and relational models) but I like using certain facilities an ORM library might provide, such as session management, user input validation, etc.