Model Documentation
$book = $this->add('Model_Book')
->setSource('MemCached','book')
->load($_GET['id']);
$book['views']++;
$book->save();
Base Class for your Real-Life entities. For use with no-SQL Data Controllers. Implements active record. Compatible with most Views.
Model is a fundamental class in Agile Toolkit which introduces concept of a very basic Active Record mechanism. Models also hold meta-information about your entity fields such as types, captions, validation, etc
Documentation:
Goals and Features of Model
What DSQL is not?
In the spirit of Agile Toolkit — all of it's classes are strictly focused on a one simple task, without trying to do everything. Here are things which Model will not do and why:
Other Resources
Other Resources, Blog posts:
