Front-end Web Development: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
Line 166: Line 166:


<div class="classes__current">
<div class="classes__current">
==== Class for 2016-12-12: Working from professional mockups, cont'd ====
==== Class for 2016-12-19: back-end web development ====
We will continue working off of our mockup and apply responsive code in the process.
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 Node, then Rails.


[https://github.com/JeffreyATW/noiseco Mockups and assets can be found here].
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_7.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 macOS Sierra).
* 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!


[https://www.youtube.com/watch?v=obzIeM1-qZg Watch the video livestream here.]
[https://www.youtube.com/watch?v=obzIeM1-qZg Watch the video livestream here.]

Revision as of 10:05, 17 December 2016

Thank you!

I've had a great time teaching this class since 2011, and at the end of 2016, I'm going on hiatus, as I'm moving onto my next big volunteer effort. 🍼

The last class will be on December 19. Thanks to all of the students who have attended over the years.

If you've taken the class and would like to leave any comments, please do so on this survey. You can also donate to Noisebridge if you're feeling generous.

If you'd like to teach front-end topics at Noisebridge, please do! You can contact me if you'd like any feedback on your lesson plan.

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! Throughout this series of free classes, we'll cover:

  • HTML
  • JavaScript
  • jQuery
  • AngularJS
  • React
  • CSS basics
  • CSS positioning, floats, and flexbox
  • Working from mockups
  • Web server frameworks
  • and 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! If you're looking to begin a career in web development, this class is for you. Computer users unacquainted with programming, as well as experienced developers looking to brush up on the latest and greatest, 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.

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.

  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-12-19: 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 Node, 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 macOS Sierra).
  • 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!

Watch the video livestream here.

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.

Assignment for 2016-12-15 (CSS backgrounds)

Previous Assignments