Quote:I’m working on a fairly important update to DMZ
Good news. I am waiting forward to see it. Maybe this next release will reduce the number of database queries that DMZ make. For instance CI Profiler tells me 5 queries were made when i only expect 3 of them. I am talking about this kind of queries :
Code:
SELECT * FROM `users` LIMIT 1
(when I instantiate new model <-- I know what is the goal of this query, but I rarely access to the first row right after I instantiate a model).
Quote:I’m curious as to why you don’t use the built-in validation routine, though. Is there something wrong with the way DataMapper validates for you ?
Not at all. It's just that I am not used to give models the data validation task. Since I discovered CI, I have always seen the validation in the controller. And by the way, i have been playing with DMZ for only 2 days
Quote:I was able to easily add your recommendation to the next release
Great ! I don't know if many people will benefit from this tiny change, but it's usefull to me so thank you again