1. #1
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    306
    Vote Rating
    2
    stewardsencha is on a distinguished road

      0  

    Default Deploy to app.html, app.js Shouldn't that be the name of the app?

    Deploy to app.html, app.js Shouldn't that be the name of the app?


    If app=videos, shouldn't SA deploy to videos.html and videos.js ?

    webroot/apps/videos
    webroot/apps/account
    webroot/apps/cart

    Every app is deployed to "apps". But they have different names.
    I told you so in the "app" property?

  2. #2
    Sencha User
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    989
    Vote Rating
    47
    ssamayoa has a spectacular aura about ssamayoa has a spectacular aura about

      0  

    Default


    You should have a different context for each application.

    Regards.
    UI: Sencha Architect 2.x / ExtJS 4 MVC
    Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
    Application Server: Glassfish 3.1.x
    Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5

    If you like my answer please vote!

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    306
    Vote Rating
    2
    stewardsencha is on a distinguished road

      0  

    Default


    I don't understand the answer.

    I do not have "app" folders and I do not have "app.js" files.

    Those are just sample/example names that sencha uses a lot.

    I was assured they were optional, and not hard-coded anywhere in the build.

    Are they hard-coded into SA?

  4. #4
    Touch Premium Member
    Join Date
    Apr 2011
    Location
    Ottawa, Canada
    Posts
    19
    Vote Rating
    0
    Mike Stoddart is on a distinguished road

      0  

    Default


    Quote Originally Posted by ssamayoa View Post
    You should have a different context for each application.

    Regards.
    What is a 'context' in Architect?

  5. #5
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,191
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    Quote Originally Posted by stewardsencha View Post
    Are they hard-coded into SA?
    Yes, app.js is always the application entry point in Sencha Architect. You make valid points as to why you want to rename them, etc. We may look at this down the line.
    Aaron Conran
    @aconran
    Sencha Architect Development Team