Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Newbie Setting up an app.

$
0
0
I want to create a new app that has two contollers

birdsapp/ 
      index.html
            -> <script type='text/javascript' src='../steal/steal.js?birds'></script>
      birdsapp.js 
      controls/
            birds
                  birds.js
                  action> list
                  ...
            hotspots
                  hotspots.js
                  action> list
                  ...
      models/
            bird.js
            hotspot.js

How do i set up the routes and what would the urls be?
Can I just specify the routes in the controllers and load the controllers via steal in  birdsapp.js ?

I have not had much luck so far.

Viewing all articles
Browse latest Browse all 3491

Trending Articles