Results 1 to 4 of 4

Thread: Architect Integration - Project Setup

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default Architect Integration - Project Setup

    Hi,
    I am trying to integrate Architect 4.2.4 (wtih extjs 6.6) into an existing php project. The project directory structure (I am simplifying it for clarity) looks similar to:

    PHP Code:
    /MyProject
      
    /application
          
    /Views
             
    /Users
               index
    .php
      
    /public
        
    index.php
        
    /js
          
    /users
            main
    .js
      
    /webdev
        index
    .php
        
    /js
          
    /users
            main
    .js 
    Currently our process is very simple. The local development server shows "webdev" directory as the root while the production server shows "public" directory as the root. We develop our javascript files under "webdev" directory, test, minify, move to public and all would work as expected. The visitor lands on the index.php in the web root (either public or webdev) and the application renders the view ("/application/Views/Users/index.php"), which look like:
    PHP Code:
    <!doctype html>
    <html>
    <head>
      <title>Users</title>
      ...
    </head>
    <body>
    ...
    <?php echo $this->auth->links?>
    ...
    <script src="/js/users/main.js" type="text/javascript"></script>
    </body>
    </html>
    Well, I am trying to adapt Architect. There is really not much room for customization and it's difficult to find your way around. For example, we have custom data sets printed within the view pages when the page is rendered, which is way before the javascript files are loaded. When I created the Architect project under "/webdev/js/users" and point the "bootstrap.js" file from "/application/Views/Users/index.php", it gives 404 for all the resources because it can't locate the files under "build/development" directory ..etc.. etc..

    Question 1: How can this integration be done?
    Question 1: How does "/application/Views/Users/index.php" would look like for development and production?

    I would really appreciate some help on this.

    Thank you.

  2. #2
    Ext Team Member
    Join Date
    Sep 2017
    Posts
    500
    Answers
    2
    Vote Rating
    -201
      -2  

    Default

    Good afternoon and thank you for your questions. I will send this over to the support team immediately. They will look into this for you and get back with a resolution. Thank you for your patience!

    Michele

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Thank you. Generally, how long would it take to get an answer from the support team? I noticed most of the questions have not been answered recently. I know I'm not a premium member but I can be if I am able to integrate Architect and ext js to our project.

  4. #4
    Ext Team Member
    Join Date
    Sep 2017
    Posts
    500
    Answers
    2
    Vote Rating
    -201
      -2  

    Default

    Ideally we would like to have an answer for you within a day or two however it can take longer. There are some issues that have to be coordinated with other support groups in order to get an answer. We will make sure we get back with you very soon!

Similar Threads

  1. iBooks Widget Project Setup
    By webreality_ny in forum Sencha Animator Feature Requests
    Replies: 2
    Last Post: 12 Aug 2013, 4:16 AM
  2. How to setup sencha 2.0 project in eclipse?
    By naveenkumargupta in forum Sencha Touch 2.x: Q&A
    Replies: 3
    Last Post: 7 May 2012, 4:43 AM
  3. eclipse project setup gwt 1.7.1+ gxt2.1.0
    By avilanchee in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 25 Nov 2009, 9:10 PM
  4. Something Missing from the Project Setup?
    By EvilTed in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 9 Jul 2008, 7:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •