I gov. организация-фронтед-части.

12
iGov - frontend infrastructure

Transcript of I gov. организация-фронтед-части.

Page 1: I gov. организация-фронтед-части.

iGov - frontend infrastructure

Page 2: I gov. организация-фронтед-части.

General Overview

Page 3: I gov. организация-фронтед-части.

Service Layer. Proxy. Router.

Page 4: I gov. организация-фронтед-части.

Client Application

✓ AngularJS

✓ AngularUI

✓ Twitter Bootstrap

✓ Yeoman + Angular-Fullstack

✓ Grunt

Page 5: I gov. организация-фронтед-части.

Client Application. Theme and skins.

✓ Old good app.scss

✓ No skins

✓ No themes

✓ Twitter Bootstrap

✓ SCSS

Page 6: I gov. организация-фронтед-части.

Client Application. Builder.

✓ Yeoman http://yeoman.io/

✓ Angular-Fullstack generator

✓ Grunt

grunt serve

./central-js/_/_1_build_run.sh

./_1_build_run.sh

Page 7: I gov. организация-фронтед-части.

Client Application. Angular-Fullstack

✓ https://github.com/angular-fullstack/generator-angular-fullstack

✓ Common development style

✓ Naming conventions

✓ Generator features. yo angular-fullstack:route pagename

✓ Workflow was modified to support modules

✓ MEAN Application

Page 8: I gov. организация-фронтед-части.

MEAN. Mongo, AngularJS, Express, Node.js

✓ http://mean.io ✓ Is a framework for an easy starting point with MongoDB, Node.js, Express,

and AngularJS based applications. ✓ It is designed to give you a quick and organized way to start developing✓ MEAN based web apps with useful modules like Mongoose and Passport

pre-bundled and configured. ✓ Take care of the connection points between existing popular frameworks

and solve common integration problems.

Page 9: I gov. организация-фронтед-части.

Client Application. AngularJS

✓ Directives

✓ Controllers

✓ Services

✓ Viewes/Partials

Page 10: I gov. организация-фронтед-части.

Client Application. AngularUI.

✓ AngularJS

✓ AngularUI

✓ Twitter Bootstrap

✓ Yeoman + Angular-Fullstack

✓ Grunt

Page 11: I gov. организация-фронтед-части.

Client Application. AngularUI. Router.

✓ States and Routes

✓ Examples central-js/client/app/journal central-js/client/app/documents

✓ https://scotch.io/tutorials/angular-routing-using-ui-routerhttps://github.com/angular-ui/ui-router/wiki

Page 12: I gov. организация-фронтед-части.

Questions