The "ORM"

Traq 4 development discussion.
Post Reply
User avatar
Advanced Member
Posts: 668
Joined: Fri Mar 27, 2009 7:37 pm
Location: Australia

The "ORM"

Post by Jack » Mon Dec 09, 2013 11:21 am

While the framework in 4.0 is based off the one used for 3.x, it has changed quite a lot and the model / ORM features differ in ways that make it easier to use but run an extra query to fetch the table schema the first time the model is called.
To save time and resources, database models will be used when needed, such as creating, editing and when methods in the model class are needed, otherwise the query builder or even plain old manual queries will be used for the more simpler things.
I've already started doing this in 3.x, as evident by the user delete method.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest