Note that there are some explanatory texts on larger screens.

plurals
  1. POSetting up EmberJS project directory structure?
    primarykey
    data
    text
    <p>I have been working with EmberJS online guides, and it has been somewhat of a hit or miss process. With Sproutcore2 I could generate the project directory structure via commandline command and be done with it. Well with Ember, it is rather manual. I would like to be able to set up a project's director structure where I am able to separate the model(s),view(s), and control(s) into their own folders. I have been trying to do so but require statements aren't importing correctly from MVC folders. I have downloaded the "todos" app, but it is no help, because the directory structure is not demonstrated as I had expected.</p> <p>I would like to start with a simple "HelloWorld" application where "app" will be my facade, and I can then import my models,views, and controls from their folders which will be placed under mvc folder within the "HelloWorldApp" folder. Appreciate all your help.</p> <p><strong>HelloWorldApp (project directory)</strong><br /> &nbsp;&nbsp; ->js (directory)<br /> &nbsp;&nbsp; ->lib (directory)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ->ember-0.9.5<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ->ember-0.9.5.min<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ->jquery-1.6.1.min<br> <br/> &nbsp;&nbsp;->template (directory)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;->main-view-template<br /><br /> &nbsp;&nbsp;->mvc (directory)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;->model (directory)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;->view (directory)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;->control (directory)<br /><br /> &nbsp;&nbsp;->css (directory)<br /><br /> app (app.js)<br/> index.htm</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload