New revision is now available. Fully revised and re-edited.
HTML5 web applications are now capable of matching or exceeding the scale and sophistication of desktop applications, but with the unique advantage of running natively inside the web browsers on billions of desktop computers, phones, TVs and tablets.
This revolution (or more correctly – evolution) has happened for a number of reasons:
- Browsers have introduced new standards-based APIs allowing web applications to (amongst other things) store data offline, retrieve data from the server dynamically, spawn background processes and interact with the filesystem.
- The jQuery library has eased the pain of interacting with Document Object Model, and therefore writing applications that dynamically respond to user interaction.
- The HTML markup language has been overhauled and extended to provide more semantic meaning, and many additional elements and attributes.
This book is not a simple introduction to the subject matter: it guides you through the process of building a feature-rich web application. The application begins simple, and becomes gradually more complex as additional APIs and features are introduced. This book includes the following content:
- An introduction to the HTML5 markup language, and how it differs from HTML4 and XHTML.
- An introduction to jQuery selection, traversal, manipulation and events.
- An in-depth look at the Web storage and IndexedDB APIs for client side data storage.
- A guide to implementing offline web applications with the Application Cache API.
- A guide to the use of Web Workers in web applications.
- An introduction to AJAX, and the jQuery API supporting AJAX.
- An introduction to Server Sent Events and Web Sockets.
This book is intended for anyone with at least a superficial knowledge of HTML and programming (in any language).
Twenty world leaders meet for the G8 Summit at the beautiful Cheyenne Resort in Colorado Springs. But an ugly plot lurks beneath the surface: a terrorist group, The Fallen Angels, plans to wreak havoc on the Summit.With the Secret Service, the FBI, Homeland Security, the military, and security from twenty different governments on-hand, shouldn’t the resort be the safest place in the world?It seems impossible that a terrorist group could infiltrate the Summit. And yet they do. Within minutes, twenty world leaders are taken hostage, and Richard Coffee, the group’s leader, makes his first demand: release twenty detainees from Guantanamo Bay, or he’ll execute one leader each hour until his demands are met.Only one man can disrupt this plot. Derek Stillwater is that man.Working undercover as a maintenance man at the resort, Stillwater will wage war on the world’s deadliest, most sophisticated terrorist organization, picking off the terrorists one by one-until he comes face-to-face with an evil force from his past, Richard Coffee, The Fallen Angel himself.
Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutz’s popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python. It’s an ideal way to begin, whether you’re new to programming or a professional developer versed in other languages.
Complete with quizzes, exercises, and helpful illustrations, this easy-to-follow, self-paced tutorial gets you started with both Python 2.7 and 3.3— the latest releases in the 3.X and 2.X lines—plus all other releases in common use today. You’ll also learn some advanced language features that recently have become more common in Python code.
- Explore Python’s major built-in object types such as numbers, lists, and dictionaries
- Create and process objects with Python statements, and learn Python’s general syntax model
- Use functions to avoid code redundancy and package code for reuse
- Organize statements, functions, and other tools into larger components with modules
- Dive into classes: Python’s object-oriented programming tool for structuring code
- Write large programs with Python’s exception-handling model and development tools
- Learn advanced Python tools, including decorators, descriptors, metaclasses, and Unicode processing