Head First HTML5 programming building web apps with javascript

HTML has been on a wild ride. Sure, HTML started as a mere markup language, but more recently HTML's put on some major muscle. Now we've got a language tuned for building web applications with Web storage, 2D drawing, offline support, sockets and threads, and more. And to speak this langua...

Descripción completa

Detalles Bibliográficos
Autor principal: Freeman, Eric, 1965- (-)
Otros Autores: Robson, Elisabeth, Nash, Courtney
Formato: Libro electrónico
Idioma:Inglés
Publicado: Beijing ; Sebastopol, California : O'Reilly [2011]
Edición:First edition
Colección:Head first series
Head first series.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627945706719
Tabla de Contenidos:
  • Table of Contents; How to use this book: Intro; Who is this book for?; We know what you're thinking.; And we know what your brain is thinking.; Metacognition: thinking about thinking; The technical review team; Acknowledgments; Chapter 1: Getting to know HTML5: Welcome to Webville; Upgrade to HTML5 TODAY; Introducing the HTML5-o-Matic, update your HTML now!; You're close to HTML5 markup than you think!; HTML5 Exposed; Would the REAL HTML5 please stand up...; How HTML5 really works...; Who Does What?; Your First Mission: Browser Reconnaissance; What can you do with JavaScript?
  • Writing Serious JavaScriptWriting Serious JavaScript Revisited...; Bullet Points; Exercise Solutions; Chapter 2: Introducing JavaScript and the DOM: A Little Code; The Way JavaScript Works; What can you do with JavaScript?; Declaring a variable; How to name your variables; Getting Expressive; Doing things over and over...; Make decisions with JavaScript; Making more decisions... and, adding a catchall; How and where to add JavaScript to your pages; How JavaScript interacts with your page; How to bake your very own DOM; A first taste of the DOM; HTML5 is from Mars, JavaScript is from Venus
  • You can't mess with the DOM until the page has fully loadedSo, what else is a DOM good for anyway?; Can we talk about JavaScript again? Or, how to store multiple values in JavaScript; The Phase-O-Matic; Bullet Points; Exercise Solutions; Chapter 3: Events, handlers and all that jazz: A Little Interaction; Get ready for Webville Tunes; Getting started...; But nothing happens when I click ""Add Song""; Handling Events; Making a Plan...; Getting access to the ""Add Song"" button; Giving the button a click handler; A closer look at what just happened...; Getting the song name
  • How do we add a song to the page?How to create a new element; Adding an element to the DOM; Put it all together...; Review-what we just did; How to add the Ready Bake Code...; Integrating your Ready Bake Code; Bullet Points; Exercise Solutions; Chapter 4: JavaScript functions and objects: Serious JavaScript; Expanding your vocabulary; How to add your own functions; How a function works; Anatomy of a Function; Local and Global Variables; Knowing the scope of your local and global variables; Oh, did we mention functions are also values?; Did someone say "Objects"?!
  • How to create an object in JavaScriptSome things you can do with objects; Let's talk about passing objects to functions; Objects can have behavior too...; Meanwhile back at Webville Cinema...; Adding the "this" keyword; How to create a constructor; How does this really work?; Test drive your constructor right off the factory floor; What is the window object anyway?; A closer look at window.onload; Another look at the document object; A closer look at document.getElementById; One more object to think about: your element objects; Bullet Points; Exercise Solutions
  • Chapter 5: Making your HTML location aware: Geolocation