• Complain

Wesley Hales - HTML5 and JavaScript Web Apps

Here you can read online Wesley Hales - HTML5 and JavaScript Web Apps full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2012, publisher: OReilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Wesley Hales HTML5 and JavaScript Web Apps
  • Book:
    HTML5 and JavaScript Web Apps
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2012
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

HTML5 and JavaScript Web Apps: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "HTML5 and JavaScript Web Apps" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

This hands-on book shows you how to work with HTML5, JavaScript MVC frameworks, and the latest W3C specifications to build mobile and desktop web apps that are widely supported across all browsers and devices. Youll quickly master building client-side applications with a loosely coupled backend infrastructure that supports offline clients.

Learn how to incorporate web storage, web workers, geolocation, Device Orientation, and WebSockets into your application architecture, using real-world examples. If youre familiar with server-side programming and understand the basics of HTML5, this book is for you.

  • Assemble a coherent architectural whole from HTML5s complex collection of parts
  • Gain a clear understanding of client-side architecture and the mobile first approach
  • Design, create, and tune eye-catching and robust mobile web apps
  • Explore how the top five JavaScript MVC frameworks interact with the server
  • Learn best practices for setting up a raw WebSocket server
  • Examine how sites such as Google, Twitter, and Amazon store data
  • Use real-world methods for applying geolocation, and learn the pitfalls of various implementations
  • Process images and other data in the background with Web Workers

Wesley Hales: author's other books


Who wrote HTML5 and JavaScript Web Apps? Find out the surname, the name of the author of the book and a list of all author's works by series.

HTML5 and JavaScript Web Apps — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "HTML5 and JavaScript Web Apps" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make

"/>

HTML5 and JavaScript Web Apps
Wesley Hales
Published by OReilly Media

Beijing Cambridge Farnham Kln Sebastopol Tokyo Preface HTML5 and JavaScript - photo 1

Beijing Cambridge Farnham Kln Sebastopol Tokyo

Preface

HTML5 and JavaScript Web Apps is about building webapplications with HTML5 and W3C specifications that are widely supported across alldevices and browsers. It is intended for programmers who are facing the challenges ofmoving more code to the frontend with JavaScript, CSS, and HTML, while at the same timeproviding a backend infrastructure that is loosely coupled and supportive of offlineclients.

My goal is to take you through, from beginning to end, each step of research anddevelopment for building a web application in todays new, brave world of mobile-first,responsive, progressive, and MVwhatever JavaScript-based applications. Each chaptercontains real-world examples and uses of each specification discussed.

A few core W3C specifications are considered the cornerstones of todaysenterprise web apps: Web Storage, Web Workers, Geolocation, Device Orientation, and WebSockets. In the chapters that follow, youll learn how to use these specifications in bothmobile and desktop environments, as well as how to deal with fragmentation. Along the way,youll also discover the hidden details and intricacies that you must know to create themost amazing application the universe has ever seen.

Many books describe the drama of what went down between the W3C and the WHATWG during themaking of HTML5, and just as many people will tell you that HTML5 is now only a marketing term. Iagree to some extent, but thats only part of the story. The important things to understand, and thefocus of this book, are the game-changing aspects and challenges of developing web applications withthe specifications that have fallen under the HTML5 umbrella or just received attention with therise of HTML5.

Who This Book Is For

The way we write web apps is changingand it will always change. This book attemptsto capture a snapshot in time of the HTML5 revolution and covers topics from beginner toadvanced. Maybe youre a novice whos just starting to learn web application development,or maybe youre an expert fine-tuning your existing stack. Either way, HTML5 andJavaScript Web Apps will give you a baseline for building advanced client-sideweb applications.

If youre a developer aiming to write lightning-fast, HTML5-driven applications, aswell as to understand how the server interacts with todays newer client-side concepts andtechnologies, then this book is for you.

Who This Book Is Not For

If youre just starting to learn JavaScript, CSS, or HTML, then this book is not for you.Consult one of the many books that cover the basics of web application development before you beginreading HTML5 and JavaScript Web Apps . This book assumes you understand how tobuild a web application and have written one before with such libraries as jQuery, Prototype, orplain old DOM APIs.

Also, if you are convinced that server-side generated markup is the way of the future, thenchances are you wont enjoy this book. The topics covered here are mostly directed toward developerswho think offline first and write modern web applications that start out not worrying about the server. The main idea driving this book is to use the web browser as aplatform.

Finally, this book is geared toward the UI. There are a few examples of server-side code,mainly in , but everything else is client-side code with JavaScript andCSS.

What Youll Learn

The world of HTLM5 and mobile is moving at light speed, and we are witnessing arevolution and shift from traditional server-side concepts to heavier client-side ideas.In this environment, building a web app purely from HTML5 and related specifications iscomplicated and challenging, to say the least. These standards can adapt gracefully acrossmobile and desktop browsers, however, and this book will help you shoulder thechallenge.

start with anoverview of the Mobile Web and will help you get a good grasp on which browsers support thestandards that this book talks about and which browsers you should support. Here youll learn on howto grade browsers so that your development team, QA team, and customers will know where you stand onbrowser support.

jumps straight into developing amobile web application with HTML5. This chapter will give you a starting point forbuilding an application with native-like touch events and transitions. Youll also learnto add offline support with the AppCache and dynamically enhance your app based on thetype of network the user is on (3G, WiFi, an so on).

takes a heavier look at how theseframeworks interact with the server.

The remaining chapters go into detail on the five main HTML5 specifications. Youlllearn about the raw implementation of each specification, as well as how its used inreal-world scenarios and use cases. Each chapter ends with a look at the frameworksavailable that support each technology.

For example, takes a broad look at WebSockets and how you can useit on the client and server. This is the only chapter that goes into detail on server-side code.Youll set up a simple WebSocket server and compare frameworks that can be used across mobile anddesktop browsers. The chapter also contains a detailed comparison of Socket.IO, Vert.x, andAtmosphere.

goes into detail on Web Storage. Youll see howtodays top sites like Google, Yahoo!, Twitter, and Amazon are storing data on the client side andinvestigate the best ways to store data along with a breakdown of available frameworks.

Next, looks at Geolocation and discusses real-world uses oftracking users with mobile web browsers and other concepts. This chapter outlines how to use thetechnology and where you might encounter pitfalls in various implementations.

covers the Device Orientation API. Althoughits not the most glorious specification in existence, it has extremely valuable and validuses, as youll learn. This chapter ends with an implementation using orientation for pagenavigation on mobile devices.

Focused on Web Workers, goes into practical uses of threading inthe browser, delving into more detail than simply processing prime numbers in a separate thread. Thechapter provides real-world examples of using Web Workers for processing image data and shows youhow to create your own thread pool.

By the end of the book, you should be comfortable with writing your own HTML5 web app thatworks across any browsers you wish to support. You will have a true understanding of what you canbuild with HTML5, its available frameworks, and todays web browsers.

About the Code

The examples in this book are maintained at http://github.com/html5e.The JavaScript and CSS are self-contained in a simple framework called slidfast.js and slidfast.css. The JavaScript was purposely created to have nodependencies on any other libraries or frameworks. It is built specifically to showcasecore JavaScript and DOM APIs that are provided by the browsers covered in each chapter.Its a learning framework not intended for public consumption, but by all means, learnfrom it and use it wherever you feel necessary.

Conventions Used in This Book

The following typographical conventions are used in thisbook:

Italic

Indicates new terms, URLs, email addresses, filenames, andfile extensions.

Constant width

Used for program listings, as well as within paragraphs torefer to program elements such as variable or function names,databases, data types, environment variables, statements, andkeywords.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «HTML5 and JavaScript Web Apps»

Look at similar books to HTML5 and JavaScript Web Apps. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «HTML5 and JavaScript Web Apps»

Discussion, reviews of the book HTML5 and JavaScript Web Apps and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.