Front-end Web Development: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
(138 intermediate revisions by 2 users not shown)
Line 3: Line 3:
<div class="hero__hgroup">
<div class="hero__hgroup">
<h1>Front-end Web Development</h1>
<h1>Front-end Web Development</h1>
<h2>A free, weekly class on HTML, CSS, and JavaScript</h2>
<h2>A free, weekly class on HTML, CSS, and JavaScript taught by [http://jeffreyatw.com/ Jeffrey Carl Faden]</h2>
</div>
</div>
<div class="hero__details">
<div class="hero__details">
Line 9: Line 9:
<div class="hero__detail hero__detail--what">
<div class="hero__detail hero__detail--what">
<h2>What</h2>
<h2>What</h2>
Learn HTML, CSS and JavaScript - and put them to good use! This free class, taught by [http://jeffreyatw.com/ Jeffrey Carl Faden], is aimed at beginners who are interested in web development, as well as seasoned professionals looking to brush up on the latest and greatest.
Learn HTML, CSS and JavaScript - and put them to good use! This free class is aimed at beginners who are interested in web development, as well as seasoned professionals looking to brush up on the latest and greatest.


Front-end web development is all about making code that runs in the browser (versus code that runs on the server). This class focuses on writing interactive web applications, taking designs and turning them into code, and much more.
Front-end web development is all about making code that runs in the browser (versus code that runs on the server). This class focuses on writing interactive web applications, taking designs and turning them into code, and much more.
This class can be attended in-person, or it can be viewed online. Videos/material for previous classes can be found on the [[Front-end_Web_Development/Notes|previous classes]] page.
</div>
</div>
<div class="hero__detail hero__detail--who">
<div class="hero__detail hero__detail--who">
<h2>Who</h2>
<h2>Who</h2>
This class is for '''everyone'''! Computer users unacquainted with programming, as well as experienced developers, are welcome at any time. If you're new to the class, consider coming to the [[#Lecture|lecture]] at 7:30 for a recap.
This class is for '''everyone'''! Computer users unacquainted with programming, as well as experienced developers, are welcome at any time. If you're new to the class, consider attending the [[#Lecture|lecture]] at 7:30 for a recap.
 
The space and the class are entirely '''free''' to attend. You do not have to be a Noisebridge member. Upon arriving at Noisebridge, state that you're here for the class and you'll be allowed in as a guest.
This class is entirely '''free''' to attend. You do not have to be a Noisebridge member. If you are coming to Noisebridge to attend the class in-person, state that you're here for the class and you'll be allowed in as a guest.


If you appreciate this class and the space that enables it to be taught, please consider [[Donate or Pay Dues|donating to Noisebridge]].
If you appreciate this class and the space that enables it to be taught, please consider [[Donate or Pay Dues|donating to Noisebridge]].
Line 42: Line 44:


Read up on [[Getting_In|getting in]] to the space. Again, you do not need to be a member!
Read up on [[Getting_In|getting in]] to the space. Again, you do not need to be a member!
If you're attending online, look for the link to watch the latest class in the [[#Lecture]] section.
</div>
</div>
</div>
</div>
</div> <!-- end hero__details -->
</div> <!-- end hero__details -->
</div> <!-- end hero -->
</div> <!-- end hero -->
<div class="section new-series">
<div class="section new-series new-series--new">
<div class="container">
<div class="container">
<h2>New Series</h2>
<h2>New Series</h2>
<div class="new-series__calendar new-series__calendar--no-months"><span class="new-series__calendar__month">July</span> <span class="new-series__calendar__date">27</span></div>
<div class="new-series__calendar new-series__calendar--no-months"><span class="new-series__calendar__month">July</span> <span class="new-series__calendar__date">11</span></div>


Remember that you can start coming to class at any time during the series! You can catch up by watching videos from [[Front-end_Web_Development/Notes|previous classes]], doing [[Front-end_Web_Development/Assignments|assignments]], or attending [[#Lab|lab]].
Remember that you can start coming to class at any time during the series! You can catch up by watching videos from [[Front-end_Web_Development/Notes|previous classes]], doing [[Front-end_Web_Development/Assignments|assignments]], or attending [[#Lab|lab]].
RSVP for the new series on [https://www.facebook.com/events/1737110849904894/ Facebook] or [http://www.meetup.com/noisebridge/events/231976708/ Meetup]!
</div>
</div>
</div>
</div>
Line 58: Line 64:
<h2>Keep Informed</h2>
<h2>Keep Informed</h2>
<ul class="keep-informed__buttons">
<ul class="keep-informed__buttons">
<li>[https://www.noisebridge.net/mailman/listinfo/webdev WebDev]</li>
<li>[https://www.noisebridge.net/mailman/listinfo/webdev WebDev email list]</li>
<li>[https://www.noisebridge.net/mailman/listinfo/noisebridge-announce Noisebridge-announce]</li>
<li>[https://www.facebook.com/groups/noisebridgefwd/ Facebook group]</li>
<li>[https://www.noisebridge.net/mailman/listinfo/noisebridge-announce Noisebridge-announce email list]</li>
<li>[http://www.meetup.com/noisebridge/ Noisebridge on Meetup]</li>
</ul>
</ul>
'''Join one of the above lists to be notified of upcoming classes via email.'''
'''Join one of the above to be notified of upcoming classes.'''


If you can't make it, subscribe to a mailing list to be notified when you can watch a live stream of the lecture! If you missed it, previous lecture streams are available for viewing on the [[Front-end_Web_Development/Notes|Previous Classes]] page!
If you can't make it, subscribe to a mailing list to be notified when you can watch a live stream of the lecture! If you missed it, previous lecture streams are available for viewing on the [[Front-end_Web_Development/Notes|Previous Classes]] page!
</div>
</div>
</div>
</div>
<div class="section get-set-up">
<div class="section get-set-up" id="setup">
<div class="container">
<div class="container">
<h2>Get Set Up</h2>
<h2>Get Set Up</h2>
Line 83: Line 91:
<ul>
<ul>
<li>
<li>
Make sure you are running [http://www.apple.com/osx/ OS X 10.10 Yosemite]
Make sure you are running [http://www.apple.com/osx/ OS X 10.11 El Capitan]
</li>
</li>
<li>
<li>
Line 106: Line 114:
<li>GNU/Linux users: Text Editor (gedit), Kate, vim, emacs, etc...</li>
<li>GNU/Linux users: Text Editor (gedit), Kate, vim, emacs, etc...</li>
<li>Windows: '''don't use''' Notepad or WordPad</li>
<li>Windows: '''don't use''' Notepad or WordPad</li>
<li>OS X: '''don't use''' TextEdit</li>
<li>macOS: '''don't use''' TextEdit</li>
</ul>
</ul>
</li>
</li>
Line 115: Line 123:
</p>
</p>
<ul>
<ul>
<li>OS X: Open Terminal and type <code>git</code> to begin installation</li>
<li>macOS: Open Terminal and type <code>git</code> (or possibly <code>sudo git</code>) to begin installation</li>
<li>Windows: Install [https://git-for-windows.github.io/ Git for Windows] with all default options</li>
<li>Windows: Install [https://git-for-windows.github.io/ Git for Windows] with all default options</li>
<li>Sign up for a [https://github.com GitHub] account</li>
<li>Sign up for a [https://github.com GitHub] account</li>
Line 123: Line 131:
Get the class materials
Get the class materials
<p>
<p>
The lectures and labs have some materials and assignments, all of which can be found in the [https://github.com/JeffreyATW/fwd fwd] repository.
The lectures and labs have some materials and assignments, all of which can be found in the [https://github.com/JeffreyATW/fwd fwd] repository. In the first few weeks of class, we'll explain how to use Git, but if you're familiar:
</p>
</p>
<ul>
<ul>
Line 132: Line 140:
</li>
</li>
<li>Create a separate folder in which to do your own work</li>
<li>Create a separate folder in which to do your own work</li>
<li>If you already have the materials, <code>cd</code> into the <code>fwd</code> directory and run <code>git pull</code> to update your copy to the latest version.</li>
</ul>
</ul>
</li>
</li>
Line 143: Line 152:


<div class="classes__current">
<div class="classes__current">
==== Class for 2015-08-31: jQuery ====
==== Class for 2016-06-27: back-end web development ====
We'll introduce jQuery, a JavaScript library that makes web programming a whole lot easier. jQuery is the most popular of many libraries that allow us to interact with the document easily, while also providing us with a few tools that are missing from the base language.
This class is all about the seedy underbelly of web development: the backend! It is tailored toward front-end developers wanting to get a taste of how things come together on the server. We'll talk about PHP, then Express.js, then Rails.
 
During the recap period, we will set up your computers. But it's best to do this before arriving if possible. Here are the steps used for class preparation:
 
----
 
===== THE EASIEST WAY =====
Come to the class in person and get the USB stick from Jeffrey. Then follow the below "easy" steps without having to download anything.
 
===== THE EASY WAY =====
If you would like to follow along, the easiest option is to run a virtual machine.
* Install [https://www.virtualbox.org/wiki/Downloads VirtualBox AND the Extension Pack]
* [http://jeffreyatw.com/static/frontend/Ubuntu.ova Download this preconfigured Ubuntu virtual machine (2.89GB)]
* Double-click the .ova file. You should check the "reinitialize the MAC address" step.
* Start the machine after installation and you're all set!
* System username and password are both "'''front-end'''". Feel free to change them if that's uncomfortable.
 
===== THE HARDER WAY =====
If you don't want to use a virtual machine, or would like to set your computer up for further work on your own.
 
====== Linux ======
* To set up Node.js installation, run:
** <code>curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -</code>
* Install required packages: <code>sudo apt-get install -y nodejs lamp-server^ ruby ruby-dev zlib1g-dev libsqlite3-dev</code>
** (Press Enter at any prompts.)
* Install Express: <code>sudo npm install -g express-generator</code>
* Install Rails: <code>sudo gem install rails</code>
 
====== OS X ======
* Upgrade to at least OS X 10.9, preferably the latest (currently 10.11 El Capitan).
* Install the Xcode developer tools:
** <code>xcode-select --install</code>
* For Node.JS:
** Install Node.JS: http://nodejs.org/
** Install Express: <code>npm install -g express-generator</code>
* To install Rails, run:
** <code>sudo gem install rails</code>
* For PHP, install MAMP: http://www.mamp.info/en/index.html
 
====== Windows ======
 
(I recommend sticking with the aforementioned virtual machine setup, or installing a Linux partition, as it is somewhat difficult to set things up on Windows.)
 
In all cases where there is a choice, choose 64-bit (x64).
* Install Git for Windows: http://www.git-scm.com/ (all default settings)
* For Node.JS:
** Install Node.JS: http://nodejs.org/ (all default settings)
** Install Express by opening Git Bash and running:
*** <code>npm install -g express-generator</code>
* For Rails:
** Install the latest Ruby from http://rubyinstaller.org/downloads/
*** When installing, choose to "add Ruby executables to your PATH".
** Install the Ruby Development Kit by following these instructions: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
** Install Rails by opening Git Bash and running:
*** <code>gem install rails</code>
* For PHP:
** Install the Visual C++ 2012 Redistributable: https://www.microsoft.com/en-us/download/details.aspx?id=30679
** Install WampServer: http://www.wampserver.com/en/
 
===== THE HARDEST WAY =====
Install Node.JS, NPM, Express, Apache, PHP, Ruby, and Rails individually. Good luck!


To learn what jQuery can do, we'll add some scripting to [https://github.com/JeffreyATW/fwd/tree/master/series8/class6/start this sample web app].
[https://plus.google.com/events/cflv98a1l7ck1p18l67cca6pa1c Join the Google+ Event to watch the video livestream.]


[https://plus.google.com/events/c8es32iir2rr8ug833thh43btg0 Join the Google+ Event to watch the video livestream.]
[https://www.facebook.com/events/1751964791753361/ Join the Facebook event if you'd like to RSVP.]
</div>
</div>
<h3>[http://docs.google.com/present/view?id=dfjgtf36_41hmtj2td2 Intro presentation]</h3>
<h3>[http://jeffreyatw.com/fwd-slides Intro presentation]</h3>


<h3>[[Front-end_Web_Development/Notes|Previous Classes]]</h3>
<h3>[[Front-end_Web_Development/Notes|Previous Classes]]</h3>
Line 162: Line 231:
<div class="classes__current">
<div class="classes__current">


==== [https://github.com/JeffreyATW/fwd/blob/master/series8/class5/assignment.md Assignment for 2015-08-27] (JavaScript functions) ====
==== <span style="color: red">NO LAB 2016-06-16 or 2016-06-23</span> ====
 
==== [https://github.com/JeffreyATW/fwd/blob/master/series9/class19/assignment.md Assignment for 2016-06-09] (CSS backgrounds) ====
</div>
</div>



Revision as of 08:02, 26 June 2016

Front-end Web Development

A free, weekly class on HTML, CSS, and JavaScript taught by Jeffrey Carl Faden

What

Learn HTML, CSS and JavaScript - and put them to good use! This free class is aimed at beginners who are interested in web development, as well as seasoned professionals looking to brush up on the latest and greatest.

Front-end web development is all about making code that runs in the browser (versus code that runs on the server). This class focuses on writing interactive web applications, taking designs and turning them into code, and much more.

This class can be attended in-person, or it can be viewed online. Videos/material for previous classes can be found on the previous classes page.

Who

This class is for everyone! Computer users unacquainted with programming, as well as experienced developers, are welcome at any time. If you're new to the class, consider attending the lecture at 7:30 for a recap.

This class is entirely free to attend. You do not have to be a Noisebridge member. If you are coming to Noisebridge to attend the class in-person, state that you're here for the class and you'll be allowed in as a guest.

If you appreciate this class and the space that enables it to be taught, please consider donating to Noisebridge.

Please bring any kind of laptop.

When

Lectures start promptly at 8pm on Mondays and go for up to two hours. There is a half-hour recap starting at 7:30pm. Please try to arrive early as physical space is limited.

Labs start at 7pm on Thursdays and end two hours later.

This class runs in a weekly series, and the curriculum takes about 6 months from start to finish. Don't let it discourage you if you're starting from the middle - attend recaps and labs and you should be able to catch up!

Where

Noisebridge, 2169 Mission St., San Francisco, 94114 (at 18th St., near 16th St. BART station). Getting Here

The lecture is held in the Church classroom, which is in the back of the space.

The lab is held in the Turing classroom, the room past the wood shop.

Read up on getting in to the space. Again, you do not need to be a member!

If you're attending online, look for the link to watch the latest class in the #Lecture section.

New Series

July 11

Remember that you can start coming to class at any time during the series! You can catch up by watching videos from previous classes, doing assignments, or attending lab.

RSVP for the new series on Facebook or Meetup!

Keep Informed

Join one of the above to be notified of upcoming classes.

If you can't make it, subscribe to a mailing list to be notified when you can watch a live stream of the lecture! If you missed it, previous lecture streams are available for viewing on the Previous Classes page!

Get Set Up

  1. Get a web browser

    Most web browsers keep themselves up to date. You'll have to take extra steps with the built-in browsers.

  2. Get a text editor

    There are a number of great free (or free to use) text editors that include helpful features like syntax highlighting and code completion.

    • Atom
    • Brackets
    • Sublime Text
    • GNU/Linux users: Text Editor (gedit), Kate, vim, emacs, etc...
    • Windows: don't use Notepad or WordPad
    • macOS: don't use TextEdit
  3. Get Git

    In order to save your work and put it on the web, you'll need to set up Git, a version control system.

    • macOS: Open Terminal and type git (or possibly sudo git) to begin installation
    • Windows: Install Git for Windows with all default options
    • Sign up for a GitHub account
  4. Get the class materials

    The lectures and labs have some materials and assignments, all of which can be found in the fwd repository. In the first few weeks of class, we'll explain how to use Git, but if you're familiar:

    • Run git clone https://github.com/JeffreyATW/fwd.git in your terminal
      • Windows: use Git Bash as your terminal
    • Create a separate folder in which to do your own work
    • If you already have the materials, cd into the fwd directory and run git pull to update your copy to the latest version.

Lecture

Weekly classroom-style presentation on HTML/CSS/JS. The lecture starts every Monday at 8pm. We also have a recap starting at 7:30pm, where we'll cover last week's material.

Class for 2016-06-27: back-end web development

This class is all about the seedy underbelly of web development: the backend! It is tailored toward front-end developers wanting to get a taste of how things come together on the server. We'll talk about PHP, then Express.js, then Rails.

During the recap period, we will set up your computers. But it's best to do this before arriving if possible. Here are the steps used for class preparation:


THE EASIEST WAY

Come to the class in person and get the USB stick from Jeffrey. Then follow the below "easy" steps without having to download anything.

THE EASY WAY

If you would like to follow along, the easiest option is to run a virtual machine.

THE HARDER WAY

If you don't want to use a virtual machine, or would like to set your computer up for further work on your own.

Linux
  • To set up Node.js installation, run:
  • Install required packages: sudo apt-get install -y nodejs lamp-server^ ruby ruby-dev zlib1g-dev libsqlite3-dev
    • (Press Enter at any prompts.)
  • Install Express: sudo npm install -g express-generator
  • Install Rails: sudo gem install rails
OS X
  • Upgrade to at least OS X 10.9, preferably the latest (currently 10.11 El Capitan).
  • Install the Xcode developer tools:
    • xcode-select --install
  • For Node.JS:
  • To install Rails, run:
    • sudo gem install rails
  • For PHP, install MAMP: http://www.mamp.info/en/index.html
Windows

(I recommend sticking with the aforementioned virtual machine setup, or installing a Linux partition, as it is somewhat difficult to set things up on Windows.)

In all cases where there is a choice, choose 64-bit (x64).

THE HARDEST WAY

Install Node.JS, NPM, Express, Apache, PHP, Ruby, and Rails individually. Good luck!

Join the Google+ Event to watch the video livestream.

Join the Facebook event if you'd like to RSVP.

Intro presentation

Previous Classes

Lab

We also meet for a weekly lab/workshop where we work on an assignment that covers the material learned in the lecture earlier in the week. Those working on their own personal projects are also more than welcome to come and solicit help. Every Thursday at 7pm in the Turing classroom.

NO LAB 2016-06-16 or 2016-06-23

Assignment for 2016-06-09 (CSS backgrounds)

Previous Assignments