Front-end Web Development/Notes

From Noisebridge
Jump to: navigation, search

Notes from previous Frontend Web Development classes.

Contents

Class for 2012-03-05

Verbatim notes for my personal use:

What to do: - Always start with HTML - Add presentation and behavior next - Assume nothing about your audience - Be as semantic as possible - Use www.html5please.com

What not to do: - Use inline style tags - Implement security on the frontend - Expect links to work only with JS - modals, AJAX, etc. - Tell users to upgrade - Start with a rich site and then work backward

Benefits: - Starting with the basics makes cross-browser testing easier - Makes your site more modular - can switch stylesheets or remove behavior on-the-fly - Makes development in teams easier

Drawbacks: - App- or game-like sites might be hard to support - Supporting all browsers off-the-bat might slow down productivity - Can't use cool new CSS3/HTML5 stuff in production yet

Schedule: - Create a simple site with an HTML5 sectioning elements - Add CSS - Add JS - Show site without CSS and JS added on - Show site in IE6 - Install ChromeVox and read through site - Explain browser "hacks" - Explain JS feature testing (modernizr) - Show what not to do - Show HTML5 Boilerplate

Class for 2012-03-05

Download the CSS3 examples I created in-class.

Other great resources:

Class for 2012-02-27

We worked on this blog and turned it into a mobile-accessible website. We also talked about user agent strings, frameworks like jQuery Mobile and Sencha Touch, and talked about the future of HTML5/CSS3 in mobile website development.

Class for 2012-02-20

We took a look at a page containing every currently valid HTML element. Many of them are considered "HTML5", but that's just because they're new.

Class for 2012-02-13

We added to the site from last class and added a sign-up form with validation to it.

Class for 2012-02-06

We added to the site from last class and added modals/submenus to it.

Class for 2012-01-30

We worked off of this mockup and the annotated version. Assets were found here.

We took all of this and turned it into this site.

Class for 2012-01-23

I made accounts on my web hosting, but I suggested students get web hosting space at NearlyFreeSpeech.Net, which will set you up with a pay-as-you-go site. It's free until you start getting a significant amount of traffic.

Here is the source for the previous class's Twitter client, and a PHP file to respond to AJAX requests.

Class for 2012-01-16

Highly-commented source for the slideshow and Twitter client we worked on.

Class for 2011-12-19

We modified this document to become an interactive web application: download the full web application here.

Class for 2011-12-12

Consider downloading FileZilla for a head start.

Here's a simpler mockup we used for the 7:30 recap:

Frontend Web Mockup 2.png

Class for 2011-12-05

We turned a mockup into HTML and CSS. This is the mockup we used:

Frontend Web Mockup 1.png

Please consider downloading the GNU Image Manipulation Tool (GIMP), as we might be opening it up to work with this mockup. Photoshop or Fireworks will work swimmingly if you have them, though.

Here is the "answer sheet" for the above mockup.

Class for 2011-11-22

Two articles worth reading for a thorough understanding of CSS positioning:

Personal tools