dev lab 1 today
play

DEV LAB 1 TODAY MP1 Overview Setting up a development environment - PowerPoint PPT Presentation

CS 498RK FALL 2016 DEV LAB 1 TODAY MP1 Overview Setting up a development environment Setting up a server Brief overview of important tools MP 1 was released yesterday. http://uiuc-web-programming.github.io/sp2016/MP-1/ MP 1 Setup


  1. CS 498RK FALL 2016 DEV LAB 1

  2. TODAY MP1 Overview Setting up a development environment Setting up a server Brief overview of important tools

  3. MP 1 was released yesterday. http://uiuc-web-programming.github.io/sp2016/MP-1/

  4. MP 1 Setup http://uiuc-web-programming.github.io/sp2016/Lab-1/

  5. SETUP AND WORKFLOW Development Machine Server Web applications end up on a server Development is generally done on a local machine http://webdesign.about.com/od/servers/qt/web-servers-and-workflow.htm

  6. SETUP AND WORKFLOW Push Pull Development Machine Server http://codehenge.net/blog/2013/02/automate-your-development-environment-with-vagrant/

  7. VAGRANT Tool for creating virtual development environments A Vagrantfile contains all the information about the environment All developers on a project use the same exact environment for development https://www.vagrantup.com/

  8. GITHUB Everyone should have an account Pointers to tutorials on Resources page Apply for student developer pack Watch important class related repositories https://github.com/uiuc-web-programming

  9. ADDITIONAL WORKFLOW OPTIONS Have a development git branch Add a staging environment Example of a fairly elaborate git branching model Use git-hooks for automation Use git-hooks for deployment to server

  10. TOOLS

  11. WEBSTORM Powerful IDE for JavaScript Free for students Alternative: Sublime Text 3 Learn to use Emmet - Demo https://www.jetbrains.com/webstorm/

  12. NODEJS Platform that enables server side JavaScript Built on Chrome's JavaScript runtime Event-driven, non-blocking I/O model http://nodejs.org/

  13. EXPRESS Web server for Nodejs We use express to serve static files for MP 1 Details in app.js in MP1 starter code http://expressjs.com/

  14. NPM Node package manager package.json file contains list of packages needed for a project npm install <package_name> npm install -g <package_name> npm install --save <package_name> npm install https://www.npmjs.com/

  15. BOWER Package manager for front-end packages bower.json file contains list of packages needed for a project bower install <package_name> bower install --save <package_name> bower install http://bower.io/

  16. GRUNT JavaScript task runner Define tasks in Gruntfile.js grunt <task> http://gruntjs.com/

  17. NEXT CLASS: JAVASCRIPT II courses.engr.illinois.edu/cs498rk1/

Recommend


More recommend