1. #1
    Sencha User
    Join Date
    Jul 2008
    Posts
    53
    Vote Rating
    0
    jash is on a distinguished road

      0  

    Default importing existing .js files

    importing existing .js files


    Hi,

    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....

    Jash

  2. #2
    Sencha User joostvanhassel's Avatar
    Join Date
    Jan 2012
    Location
    Rotterdam, The Netherlands
    Posts
    102
    Vote Rating
    1
    joostvanhassel is on a distinguished road

      0  

    Default


    Quote Originally Posted by jash View Post
    Is there a way to import these files into an SA 2 project?
    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.

    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

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,445
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    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.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  4. #4
    Sencha User
    Join Date
    Jul 2008
    Posts
    53
    Vote Rating
    0
    jash is on a distinguished road

      0  

    Default


    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....

    Jash

Thread Participants: 2