HTML5 Data and Services Cookbook: Take the fast track to the rapidly growing world of HTML5 data and services with this brilliantly practical cookbook. Whether building websites or web applications, this is the handbook you need to master HTML5.
Learn to effectively display lists and tables, draw charts, animate elements and use modern techniques such as templates and data-binding frameworks through simple and short examples.
Examples utilizing modern HTML5 features such as rich text editing, file manipulation, graphics drawing capabilities, real time communication.
Explore the full power of HTML5 - from number rounding to advanced graphics to real-time data binding - we have it covered.
Description
HTML5 is everywhere. From PCs to tablets to smartphones and even TVs, the web is the most ubiquitous application platform and information medium bar. Its becoming a first class citizen in established operating systems such as Microsoft Windows 8 as well as the primary platform of new operating systems such as Google Chrome OS.
"HTML5 Data and Services Cookbook" contains over 100 recipes explaining how to utilize modern features and techniques when building websites or web applications. This book will help you to explore the full power of HTML5 - from number rounding to advanced graphics to real-time data binding.
"HTML5 Data and Services Cookbook" starts with the display of text and related data. Then you will be guided through graphs and animated visualizations followed by input and input controls.
Data serialization, validation and communication with the server as well as modern frameworks with advanced features like automatic data binding and server communication will also be covered in detail.This book covers a fast track into new libraries and features that are part of HTML5!
Who is this book for?
This book is for programmers and developers who work with a lot of backend code and want to get fast tracked into the world of HTML5 and Javascript. It is also for JavaScript developers who would like to update their knowledge with new techniques and capabilities made possible with HTML5.Some experience in HTML and jQuery is assumed.
What you will learn
Making charts using flot or HTML5 canvas.
Creating awesome visualizations with D3.js
Common helpers when working with input
Making animated and iteractive visualzations
Using the HTML5 input helpers
Creating custom input components
Client-side templating to simplify HTML generation
I just finished to read this book and I really liked it! I missed many of latest updates about HTML5 and this book helped me to update my knowledge and to improve my skills. I liked especially chapters 4,5 and 6; chapter 4 is about the new input types available in HTML5 that allow the developers to use advanced input that uses geolocation, time, drag&drop and so on. Chapter 5 is about Custom input components and explains how to create custom controlos such as menus, rich-text input, dialog and so on. Chapter 6 is about Data validation in HTML5 that is often a little problematic for me. In sum, I say that this book is very helpful for people who needs to update their knowledge about this new subset of HTML5.
Amazon Verified review
VictorJul 28, 2016
5
Great book. Yearly delivery. Everything match the description.
Amazon Verified review
Joel LamotteOct 28, 2013
4
For someone like me who is not doing web development often but still need to use HTML5, Javascript and some other related technologies regularly, this book is really helpful. As the name states, it's a cookbook and assume you have basics using these techs and just present ways of doing things usual like setting up a Markdown based text editor or displaying charts. I found that it's a good starting point for having a quick idea of how something in a web page can be done. It's also introducing to NodeJS which I don't think I'll use in my current projects but why not later.To summarize, it's very useful quick cookbook and helps me understand how things are done usually by people doing web dev. all the time.
Amazon Verified review
Dustin MarxDec 19, 2013
4
HTML5 Data and Services Cookbook is packed with information regarding modern HTML5 development. Like most technology "cookbooks," this book is a collection of "recipes" for applying various aspects of HTML5 (HTML/JavaScript/CSS) categorized into 12 chapters.Node.js is used in many of the recipes in HTML5 Data and Services Cookbook and Appendix A explains how to access and install Node.js. Other key concepts of modern HTML5 covered in this book include JSON, Ajax, Comet, Web Sockets, Web Storage, Canvas, History API, File System API, and more. HTML5 Data and Services Cookbook uses a huge number of freely available open source libraries, frameworks, and toolkits in implementing its recipes. I see this as an advantage because not only did this approach help me to see how to implement a specific solution, but it gave me broader knowledge of the large number of resources that are out there for the HTML5 developer. Someone wanting the recipes to be in straight JavaScript without libraries or frameworks might be disappointed by this, but one can always look at the implementations of those open source products to see the direct JavaScript implementation. Although jQuery and Node.js are used heavily in the book, many smaller and lesser known libraries and frameworks are also used. I was happy to see coverage of AngularJS and Meteor together in one of the book's chapters.The authors of HTML5 Data and Services Cookbook sprinkle tips and commonly accepted JavaScript/HTML/CSS best practices throughout their recipes. I also appreciated that many of their recipes provided detailed "fallback" alternatives that can be used to support browsers which don't comply with the new feature outlined in the recipe. The authors include hundreds of links in the book to HTML5 related items and even to things that are not specifically HTML5 but are part of the "business logic" being implemented in the sample in a particular recipe. I found even some of these non-HTML5-related nuggets of information to be enlightening.The two main downsides of HTML5 Data and Services Cookbook for me were presentation related rather than content related. The code listings are only differentiated from the book's prose by font (code is in fixed-width font). It would have been nice to have a border around the code to more clearly visually separate it from the text and line numbers and color coded syntax would have been really nice. The PDF version of the book that I reviewed had the code listings in black fixed-width font with no lines numbers and no visual separation from the prose other than the different font. There are some awkward sentences in the book. I was able to figure out the intent of most of them, but 2 or 3 sentences left me without any certainty about what they authors were communicating. There were far more occurrences of minor grammar issues that did not take away from the meaning, but did slow down the reading flow. Overall though, the majority of the book was highly readable and approachable.Readers who are probably best suited to gain from HTML5 Data and Services Cookbook are those who have a little JavaScript experience, but have not used it a lot or have not used it in recent years. Although the book is well over 450 pages long, it is so packed with details and information that it cannot take a lot of space to provide introductory JavaScript, HTML, and CSS information. The book seems best suited for someone not entirely new to JavaScript development who has only used modern HTML5 tactics in a very small way. Even experienced web developers are likely to learn from reading this book because of the wide breadth of subjects, frameworks, libraries, and toolkits that it covers and uses.
Amazon Verified review
W BoudvilleOct 02, 2013
4
The authors want to educate you in understanding how to fully or better use HTML5 with Javascript, both on the client side and for the server side. Just going through the many sections and code snippets gives an appreciation that this combination now can rank as a fully fledged programming language.One quick way is to consider Chapter 3 for drawing graphs that the user can interact with. The examples are good in also showing how to get external javascript and CSS packages into your code. But mostly the chapter tells how to easily put in the necessary graphical elements, like sliders and axes. Other features include the ability to zoom in and out and to pan across a chart. You must have seen such things before, in fully fledged graphical applications, like Mathematica and OpenGL. To be sure, what the current text describes does not even begin to approach those in the full graphical functionality. But for general purpose use, the HTML5 and javascript can be surprisingly versatile for simple graphs.Another chapter of the book goes into data validation. Where the user inputs data into a text widget and your code checks the input values for correctness. Like if it meant to be an integer. Or the strength of an input password. I imagine the latter should catch the attention of some readers. The discussion takes you into the use of regular expressions [regex], something fleshed out over the last 30 years in unix. Just learning regex if you are new to it can be very useful in other programming contexts; not just data validation.The complexity of the text increases somewhat when it gets into how to talk from the client side to servers. Extensive use of JSON to hold data in an object oriented manner. Ajax also gets considerable use. It lets you push data from the server to the browser, where the user of the browser does not explicitly have to do anything. Greatly expands the idea of interactivity, if you have never heard that browsers can do such behaviour. As an inventor, I commissioned prototypes of my first patent where the pushing to the browser was absolutely essential to the overall interaction. So this section of the book was of especial interest to me.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.