Peter Lubbers - Pro HTML 5 Programming
Pro HTML 5 Programming
Pro HTML 5 Programming
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
CHAPTER 11 ■ THE FUTURE OF <strong>HTML</strong>5<br />
Browser vendors are already experimenting with P2P networking, such as Opera’s Unite technology,<br />
which hosts a simplified web server directly in the browser. Opera Unite lets users create and expose<br />
services to their peers for chatting, file sharing, and document collaboration.<br />
Of course, P2P networking for the web will require a protocol that takes security and network<br />
intermediaries into consideration as well as an API for developers to program against.<br />
Ultimate Direction<br />
So far, we have focused on empowering developers to build powerful <strong>HTML</strong>5 applications. A different<br />
perspective is to consider how <strong>HTML</strong>5 empowers users of web applications. Many <strong>HTML</strong>5 features<br />
allow you to remove or reduce the complexity of scripts and perform feats that previously required<br />
plugins. <strong>HTML</strong>5 video, for example, lets you specify controls, autoplay, buffering behavior, and a<br />
placeholder image without any JavaScript. With CSS3, you can move animation and effects from scripts<br />
to styles. This declarative code makes applications more amenable to user styles and ultimately returns<br />
power to the people who use your creations every day.<br />
You’ve seen how the development tools in Firefox and WebKit are exposing information about<br />
<strong>HTML</strong>5 features like storage, as well as critically important JavaScript debugging, profiling, and<br />
command-line evaluation. <strong>HTML</strong>5 development will trend toward simplicity, declarative code, and<br />
lightweight tools within the browsers or web applications themselves.<br />
Google feels confident enough about the continuing evolution of <strong>HTML</strong> that it has announced the<br />
imminent release of the Google Chrome operating system, a streamlined operating system built around<br />
a browser and media player. Expected in late 2010, Google’s operating system aims to include enough<br />
functionality using <strong>HTML</strong> APIs to provide a compelling user experience where applications are delivered<br />
using the standardized web infrastructure.<br />
Summary<br />
In this book, you have learned how to use powerful <strong>HTML</strong>5 APIs. Use them wisely!<br />
In this final chapter, we have given you a glimpse of some of the things that are coming, such as 3D<br />
graphics, the new device element, touch events, and P2P networking. Development of <strong>HTML</strong>5 shows no<br />
sign of slowing down and will be very exciting to watch.<br />
Think back for a minute. For those of you who have been surfing the Web, or perhaps even<br />
developing for it for ten years or more, consider how far <strong>HTML</strong> technology has come in just the last few<br />
years. Ten years ago, “professional <strong>HTML</strong> programming” meant learning to use the new features of<br />
<strong>HTML</strong> 4. Cutting edge developers at the time were just discovering dynamic page updates and<br />
XMLHttpRequests. The term “Ajax” was still years from introduction, even if the techniques Ajax described<br />
were starting to gain traction. Much of the professional programming in browsers was written to wrangle<br />
frames and manipulate image maps.<br />
Today, functions that took pages of script can be performed with just markup. Multiple new<br />
methods for communication and interaction are now available to all those willing to download one of<br />
the many free <strong>HTML</strong>5 browsers, crack open their favorite text editors, and try their hands at professional<br />
<strong>HTML</strong>5 programming.<br />
We hope you have enjoyed this exploration of web development, and we hope it has inspired your<br />
creativity. We look forward to writing about the innovations you create using <strong>HTML</strong>5 a decade<br />
from now.<br />
267