importing existing .js files
I'm happy to see Sencha Architect but:
I'm developing something large and my back-end generates models, stores and views for all my database tables. At the moment I have 83 tables and the number is growing.
Is there a way to import these files into an SA 2 project?
Otherwise SA 2 is pretty useless to me....
This is currently not a feature (might be in the works for a future release, but I'm not the one to ask). If you're those amounts of generated code, it might be worth looking at inserting it at metadata-level. I've never done this, but it's worth a try.
Originally Posted by jash
Words of caution:
- I can't guarantee this will work
- make a backup before even thinking about this
- if your changing metadata, make sure Sencha Architect is closed
- maybe it's smart to wait for a reply from a Sencha teammember on this
We do have the intent to create something to import from tables in the future but it's no where near realization at this time.
Do not take me wrong on the needed functionality.
I'll bring it down to the essense.
Say I have a database, with any number of tables used in another project so all the model and stores definitions are already available.
In my case (with over 80 tables) it is a huge task to enter them into architect to get the new application implemented in that. I have them set up with associations and validations to make things even worse....