Front-end Web Development/Notes
Notes from previous Front-end Web Development classes.
 Class for 2015-06-22: directives, routing and AJAX with AngularJS
We'll continue learning the basics of AngularJS by learning how to encapsulate behavior into reusable elements, load data from the back-end, and create a site that acts as if it has multiple pages while still being a single-page app.
We'll be building off the work from last week.
This will be the last class in the series. Thanks for attending, and look forward to a new series in July!
 Class for 2015-06-15: intro to AngularJS
We'll learn about the basics of AngularJS, a popular client-side MVC application framework. Frameworks such as these make it easier to manage data-rich views by keeping everything in sync with each other, and with data in the back-end. To understand how libraries like AngularJS differ from jQuery, we'll be taking our NoiseTwitter app and converting it from one that uses jQuery into one that uses AngularJS instead.
 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:
\curl -sSL https://get.rvm.io | bash -s stable --ruby=2.2
...then close and reopen a terminal window...
rvm use 2.2
Or for Windows, use RubyInstaller.
You can then install Middleman:
gem install middleman
We'll be working on the NoiseCo site.
 Class for 2014-10-27: back-end web development
This class is all about the seedy underbelly of web development: the backend!
I know we already have a 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.
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 downloading anything.
 THE EASY WAY
If you would like to follow along, the easiest option is to run a virtual machine.
- Install VirtualBox AND the Extension Pack
- 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
If you don't want to use a virtual machine.
On Linux, you'll need to follow these steps:
sudo apt-get install nodejs
sudo apt-get install npm
wget --no-check-certificate https://raw.github.com/joshfng/railsready/master/railsready.sh && bash railsready.sh
- When installing, choose RVM.
- For PHP, follow these instructions: https://help.ubuntu.com/community/ApacheMySQLPHP
On OS X 10.9+:
- Install Node.JS: http://nodejs.org/
- To install Rails, run:
curl -O https://raw.github.com/joshfng/railsready/master/railsready.sh && bash railsready.sh
- When installing, choose RVM.
- For PHP, install MAMP: http://www.mamp.info/en/index.html
On Windows or OS X 10.8 and below:
- http://nodejs.org/ - install Node.JS
- Use RailsInstaller: http://railsinstaller.org/
- And for PHP:
 THE HARDEST WAY
Install Node.JS, NPM, Apache, PHP, RVM, Ruby, and Rails individually. Good luck!
 Class for 2015-05-18: version control (Git) and the command line
This class is a general overview on version control and the command line. I've taught how to use an FTP client to upload files to the web, but the truth is that most developers don't do that anymore - rather, they collaborate with their peers by using version control systems, which allows them to keep track of their work in a reliable fashion and push it to the web.
Again, this class isn't about web development per se - it's just an important introduction to using the command line to work with Git, one of the most popular version control systems. Everyone will create their own fork of a repository and check in their work.
During the half-hour before the class, we'll help people set up Git on their computers. On OS X, you'll need to download Xcode from the App Store, and on Windows you should install Git for Windows. Also, please sign up for a GitHub account.
 Class for 2015-05-11: the mobile web
We'll take this blog and turn it into a mobile-accessible website via the use of media queries. We'll also talk about the rest of the world of the mobile web: user agent strings (and why you shouldn't trust them), mobile frameworks (and why they're not perfect), and the use of HTML5/CSS3 in mobile website and app development.
 Class for 2014-10-06: CSS3
We've covered CSS3 before, but in the context of a mockup. We'll look further into CSS3 with a demonstration of what the new technologies are, how to make the most of them, and how to make sites using CSS3 look good in less capable browsers.
 Class for 2015-04-27: HTML5 elements
We'll take an entertaining (in my opinion) look through this page containing every currently valid HTML element. Many of them are considered "HTML5" elements, but that's just because they're relatively new.
 Class for 2015-04-20: Ajax
 Class for 2015-04-13: HTTP & SFTP
We'll talk about file transfer: HTTP, which is the method of getting and sending information in the web browser, and SFTP, which is a method of securely uploading files to a web host.
 Class for 2015-04-06: Forms
We'll continue working on our site and add a sign-up form, with validation, inside the modal. We'll learn about built-in HTML5 validation, but also use the jQuery Validation plugin to help us where browser support is necessary.
 Class for 2015-03-30: Bootstrap
We'll go back to the "professional" site we put together a number of weeks ago and add more functionality to it with some jQuery plugins. We'll first make a dialog box - or a "modal" - pop up when you click the sign up buttons. We'll do this by introducing Bootstrap to make common user controls easier to create. We'll also compare our CSS-only menu with one made with the help of Bootstrap, explaining the differences between the two.
 Class for 2015-03-23: jQuery, cont'd
We'll continue learning about jQuery by focusing on the example we worked on last class. We'll add functionality to it that will make it seem more like the real thing.
 Class for 2015-03-16: jQuery
To learn what jQuery can do, we'll add some scripting to this sample web app.
 Class for 2015-02-23: Working from professional mockups, cont'd
 Class for 2015-02-09: Working from professional mockups
We'll take the knowledge we gained from looking at the CSS box model, floats, and positioning, and work off of this mockup and its annotated version to make a site that could pass as a professional design (but don't take my word for it). Image assets can be found here.
 Class for 2015-02-02: CSS positioning
In the last few classes, we've focused on element measurements and floats. This time, we'll focus on positioning of elements: using absolute, relative, or fixed positioning to put the elements anywhere we want on the whole page. We'll use this mockup along with these assets to put together a page that demonstrates positioning.
 Class for 2015-01-26: CSS floats
Floating is the secret sauce behind creating websites with multiple columns, navigation menus, and basically any block element that's aligned to the left or right. We'll learn about floats by taking a look at some examples, then take a mockup and create a site from it.
 Class for 2015-01-12: CSS selectors and the box model
CSS selectors are probably the most complex part of the CSS language, so we'll look at them further in-depth. We'll also talk about the box model, the display concept that makes words and containers on the web look like they do.
 Class for 2015-01-05: the basics
THIS is the class to attend if you are a complete beginner! We are starting the curriculum of this class from square one. We'll cover the very basics:
- Explaining "front-end" vs. "back-end"
- Discussing tools of the trade
- Explaining the separation between structure, presentation, and behavior
- Writing a basic HTML page
- Styling the page with basic CSS
- Explaining the role of front-end web development as a job and career
No recap session for this class. Please show up before 8pm, as physical space is limited. Bring a laptop!