"Programming For Non-Programmers" is a 3h workshop for GeneralAssemb.ly that serves as a first contact to the world of programming and web development.
5GL Machine Language Assembly Language General Purpose Languages Natural Language Neural Networks http://en.wikipedia.org/wiki/Programming_language_generations
LANGUAGE Standard defined by World Web Consortium (W3C) that allow us to create web pages in a language that all browsers understand *Hyper-Text - you can cross reference pages *Markup – content is annotated
Defini6on Example <h1>..<h6> Headers for their sec3ons <h1> Programming is easy </h1> <p> Parragraph <p> This is a rather short parragraph….</P <strong> Emphasize text -‐ bold Which <strong>word</strong> is bold? <em> Emphasize text -‐ italic Which word <i>is</i> is italic? <ul> / <li> Unnumbered Lists <ul> <li> first element </li> <li> second element </li> </ul> <ol> / <li> Numbered Lists <ol> <li> first element </li> <li> second element </li> </ol> <hr> Horizontal Rule <hr> <a> Link <a href=hMp://www.generalAssemb.ly> GA </a>
Example <h1>..<h6> <h1> Programming is easy </h1> <p> <p> This is a rather short paragraph….</p> <strong> Which <strong>word</strong> is bold? <em> Which word <em>happens to be</em> italic now? <ul> / <li> <ul> <li> Element </li> <li> Element </li> </ul> <ol> / <li> <ol> <li> first element </li> <li> second element </li> </ol> <hr> Horizontal Rule <a> <a href=hHp://www.generalAssemb.ly> GA </a> YOUR TURN!
SHEETS Standard defined by World Web Consortium (W3C) that allow us to style web pages in a language that all browsers understand *Style: fonts, colors, spacing, animations, etc *Cascading: styles can inherit from each other
SHEETS Style should be separate from content - Help avoid duplication - Allows Reusability - Homogeneous look & feel - Make a site-wide changes in one place - Easier to maintain
CSS1 Example What elements apply to? .class .intro All elements with class=“intro” #id #firstName All elements with id=“firstName” * * All Elements element p All <p> Elements element > p > ul All <ul> elements with parent <p> aHribute
Dynamic Functional Object Oriented Language Features | client-side Interact with the user Control the browser Communicate Asynchronously Alter the document it’s displayed
interact with the new HTML5 tags : ‣ Storing persistent data in client-side ‣ Offline cache ‣ Getting Geo-Location ‣ Video and Audio playback controls Cross-platform HTML5 WEBSITE VS WEBAPP