Front-end Web Development: Difference between revisions

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


<div class="classes__current">
<div class="classes__current">
==== Class for 2014-10-27: back-end web development ====
==== Class for 2015-06-08: Preprocessors ====
This class is all about the seedy underbelly of web development: the backend!
Front-end code can often get very repetitive and hard to maintain. We'll expand upon last week's talk about backend code generation by introducing preprocessors - languages which compile into HTML, CSS, or JS. We've taken a look at PHP and ERB, but we'll also walk through languages that look nothing like HTML (HAML), and languages that compile into CSS (Sass) and JS (CoffeeScript). These languages can make your life much easier as they help keep you from repeating yourself (DRY!). We'll also introduce Middleman, one of many workflow systems that makes using these languages easy.


I know we already have a [http://www.railsschool.org/ Rails class here at Noisebridge], but this one is tailored toward front-end developers wanting to get a taste of how things come together. We'll talk about PHP, then Express.js, then Rails.
To prepare for this class, please install [https://rvm.io/ RVM] with the --ruby=2.2 flag if you're using OS X or Linux:


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:
<pre>gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3


----
\curl -sSL https://get.rvm.io | bash -s stable --ruby=2.2</pre>


===== THE EASIEST WAY =====
Or for Windows, use [http://rubyinstaller.org/ RubyInstaller].
Come to the class in person and get the USB stick from Jeffrey. Then follow the below "easy" steps without downloading anything.


===== THE EASY WAY =====
You can then install [http://middlemanapp.com/ Middleman]:
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/series5/class19/Ubuntu.ova Download this preconfigured Ubuntu virtual machine (1.88GB)]
* 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 =====
<pre>rvm use 2.2
If you don't want to use a virtual machine.


On Linux, you'll need to follow these steps:
gem install middleman</pre>
* Run:
** <code>sudo apt-get install nodejs</code>
** <code>sudo apt-get install npm</code>
* <code>wget --no-check-certificate https://raw.github.com/joshfng/railsready/master/railsready.sh && bash railsready.sh</code>
** When installing, choose RVM.
* For PHP, follow these instructions: https://help.ubuntu.com/community/ApacheMySQLPHP


On OS X 10.9+:
We'll be working on the [http://jeffreyatw.com/static/frontend/series6/class6/goal.zip NoiseCo site].
* Install Node.JS: http://nodejs.org/
* To install Rails, run:
** <code>curl -O https://raw.github.com/joshfng/railsready/master/railsready.sh && bash railsready.sh</code>
*** When installing, choose RVM.
* For PHP, install MAMP: http://www.mamp.info/en/index.html


On Windows or OS X 10.8 and below:
[https://plus.google.com/events/cfdqj0k2tosq4jsrbblnaakfpd4 Join the Google+ Event to watch the video livestream.]
* http://nodejs.org/ - install Node.JS
* Use RailsInstaller: http://railsinstaller.org/
* And for PHP:
** Mac: http://www.mamp.info/en/index.html
** Windows: http://www.wampserver.com/en/
 
===== THE HARDEST WAY =====
Install Node.JS, NPM, Apache, PHP, RVM, Ruby, and Rails individually. Good luck!
 
[https://plus.google.com/events/cimiq8ekd927qp84gpe4e9cvuv4 Join the Google+ Event to watch the video livestream.]
</div>
</div>
<h3>[http://docs.google.com/present/view?id=dfjgtf36_41hmtj2td2 Intro presentation]</h3>
<h3>[http://docs.google.com/present/view?id=dfjgtf36_41hmtj2td2 Intro presentation]</h3>

Revision as of 09:05, 6 June 2015

Front-end Web Development

A free, weekly class on HTML, CSS, and JavaScript

What

Learn HTML, CSS and JavaScript - and put them to good use! This free class, taught by 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.

Front-end web development is all about making code that runs in the browser (versus code that runs on the server). There isn't a big focus on web design (creating wireframes and mockups), but we do cover best practices for turning these designs into beautiful code.

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 coming to the 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.

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 8pm 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!

Next Series

About 2 months

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.

Keep Informed

Join one of the above lists to be notified of upcoming classes via email.

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!

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 2015-06-08: Preprocessors

Front-end code can often get very repetitive and hard to maintain. We'll expand upon last week's talk about backend code generation by introducing preprocessors - languages which compile into HTML, CSS, or JS. We've taken a look at PHP and ERB, but we'll also walk through languages that look nothing like HTML (HAML), and languages that compile into CSS (Sass) and JS (CoffeeScript). These languages can make your life much easier as they help keep you from repeating yourself (DRY!). We'll also introduce Middleman, one of many workflow systems that makes using these languages easy.

To prepare for this class, please install RVM with the --ruby=2.2 flag if you're using OS X or Linux:

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

\curl -sSL https://get.rvm.io | bash -s stable --ruby=2.2

Or for Windows, use RubyInstaller.

You can then install Middleman:

rvm use 2.2

gem install middleman

We'll be working on the NoiseCo site.

Join the Google+ Event to watch the video livestream.

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 8pm in the Turing classroom.

Previous Assignments