10 Jul 2012 3:32 AM #1
Best way to structure re-usable code with sencha?
I'm looking for a good way to structure code that will be used in several different sencha apps.
Let's say I have a few controller, model and view .js files that I would like to re-use across different Sencha Touch apps. How can I set this up without having to copy those files to each of those apps' app/controller, app/model and app/view folders.
I would like to do this in a way that allows me to modify those files in 1 central place, and then automatically have the modified files in all projects/apps without having to copy them.
Any ideas on how to do this?
10 Jul 2012 3:48 AM #2
10 Jul 2012 4:09 AM #3
I think you misunderstood my question.
I wrote a few re-usable classes, using the Sencha MVC architecture.
The point of my question was: how can I maintain these MVC classes in a central place and have them distributed to several different apps without having to (re-)copy them every time a modification is made?