Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.24 KB

efficient-webdev.md

File metadata and controls

46 lines (34 loc) · 1.24 KB

Efficient Web Development

Project Setup

Make use of these helpful tools to maximize efficiency when creating a new project


___

Use a package manager for web assets

Bower is a package manager for web assets. It's incredibly useful for downloading common files such as jQuery.js and normalize.css.

  1. Install Bower globally: npm install -g bower
  2. Navigate to the project folder in Finder
  3. For example, install jQuery: bower install jquery
  4. Get the file location of each bower install: bower list --paths

___

Keep code clean and uniform

StandardJS ensures that code follows a strict standard so that it always looks uniform. This helps to alleviate bugs and makes code easier to follow.


___

Add a variety of tags to the <head> element

Code samples for everything that could possibly go in the <head> tag, such as mobile responsive and facebook related tags.


___

Use a CDN to host content

A CDN is useful to store larger files, such as images and videos.


___