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

Steal + Can - is there a solution that doesn't require JMVC

$
0
0
EDIT: Using steal tagged at v3.2.3   latest "working" steal.

I am getting started on my first app-like project in a while and would like to use CanJS and Steal: CanJS for all it's goodness and StealJS for dependency management, code generation, and build tools.  The app is not really complex enough to warrant unit tests or documentation and would prefer to avoid the bloat of full-on JMVC.  Here are the questions I have so far:

1) Can I get jmvc-like code generation for controllers and models?  I am trying to avoid building my own generators.
2) It appears Bitovi is using grunt some build process.  Does this marry well with steal?  It appears so...
3) Using the file structure below, how do I get steal to load stealconfig.js, or how should I define/remap certain paths (steal.config for stealjs v3.2.3)?

/myapp
    /steal
    /can
    index.html ( <script src="steal/steal.js?startup.js"></script> )
    startup.js ( steal('can').then( function() { console.log('loaded'); } );
    stealconfig.js


Thanks for your help.  Any other words of advice would be great.  I'll even take a simple "use jmvc" response if that's what it takes.  Thanks.


Viewing all articles
Browse latest Browse all 3491

Trending Articles