CrossFront uses these frameworks: -TypeScript -Backbone -Underscore -Require -jQuery -jQuery Mobile -jQuery Mobile Router -Cordova (PhoneGap) -Modernizr
CrossFront glues all these frameworks together in a boilerplate project to allow for Large Scale Javascript development. It allows you to code once and run everywhere (Desktop Browsers, Mobile Browsers, Tablet Browsers, Phones, Android, iOS ... etc). CrossFront is a great front-end solution for app development that provides good structure and organzation of code using AMD and MVC design patterns. It the ideal compliment to a RESTful backend.
Here are the steps to get this project working.
- Download Visual Studio 2012 (I downloaded the premium release version, not sure if these instruction will work with express, RC , or Beta. Let me know if it does!)
- Install the visual studio add-in for TypeScript here: http://www.microsoft.com/en-us/download/details.aspx?id=34790
- If your using git then clone my project: git clone https://github.com/ntheile/CrossFront-Simple.git
- *Note: I had to turn off VS2012 from compiling my code because I needed to to compile as ADM. To do this, Right click the .ts file > goto properties > build action > change to "none"
- Now compile each manually using the commands in compile-notes.txt. Example> tsc app.ts --module AMD
- *Hint: Run the commands from the Package Manager Console in Visual Studio to avoid having to switch out to a DOS prompt