appcelerator/alloy — pull request #55 by killix (2012-08-25 00:23:06+00:00)
Title: Persistance : ref(Issue #54)

I wanted to do a proof of concept to illustrate issue#54.
But I was taken by the games, so I revised the whole system continuing to take into account the latest issue (collection extend, sync or store).

With this commit, the model definition in one file (export.M is redefine for this). This file contains :
- definition of model
- model extend
- collection extend

I add a test in test/apps/model_sql/controllers/newpersistance.js for illustrate new possibilities.
All work fine for sql and properties.
I have not been able to test for local storage, because I have some problems with my simulator (browser).

The generate model command has also updated for include new system.

This fact can be a lot of changes for a commit, but I was really taken by the game :)