Frontend Infrastructure with Angular , Typescript and modern frontend
Web development with Javascript, Html and css and without server side template engines add ability to programs to run in any platform. of course this approach have difficulties along with itself such as:
- Lack of structure and pattern for placement of js, css and html files and using them.
- Weakness of Javascript language in order to use in large scale applications. Solution of first problem is using of spa frameworks such as Backbonejs, Emberjs, Knockoutjs and etc. solution of second problem is using of higher level language than Javascript such as Dart, Coffeescript and etc. I have tried to design an infrastructure with the Angularjs and Typescript in order to simplify development of User Interface layer.
The best way to install npm is to install node using the node.js installer. npm is installed as part of node. It's over at nodejs.org
npm install -g gulp
Change current directory to root of repository then run following command:
npm install
In order to build development code to production files change current directory to root of repository then run following command:
gulp all