Most of my projects revolve around real-world applications which utilize complex data architecture in SQL databases. Exposing this data using RESTful approaches (more on that in a later blog post) and JSON consumed by the Sencha Model and Store objects is a godsend in developing robust, responsive web/mobile applications.
The process of taking SQL table and view definitions and converting them by hand to appropriate, well formed Model definitions was, to my lazy programmer side, a royal pain.Especially in an iterative, agile development environment where the under-lying SQL schema was going through as many changes as the front end code.
After finding myself, may times, chasing a bug or behavior that turned out to simply be the lack of synching the SQL data model to the Javascript model, I decided to work up a small time saver: A SQL function to generate the ExtJS/Touch model definition Javascript directly from the table/view definition - ExtjsModelGeneration.
No comment yet.
Sign up to comment
Your new post is loading...