HTML5.Your.Visual.Blueprint.for.Designing.Rich.Web.Pages.and.Applications.[2012], Informatyka, WWW
[ Pobierz całość w formacie PDF ]
HTML5
Your visual blueprint™ for designing
rich web pages and applications
Adam McDaniel
HTML5: Your visual blueprint™ for designing rich web
pages and applications
Published by
John Wiley & Sons, Inc.
111 River Street
Hoboken, NJ 07030-5774
www.wiley.com
Published simultaneously in Canada
Copyright © 2012 by John Wiley & Sons, Inc., Indianapolis, Indiana
No part of this publication may be reproduced, stored in a retrieval
system or transmitted in any form or by any means, electronic, mechani-
cal, photocopying, recording, scanning or otherwise, except as permit-
ted under Sections 107 or 108 of the 1976 United States Copyright
Act, without either the prior written permission of the Publisher, or
authorization through payment of the appropriate per-copy fee to the
Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923,
(978) 750-8400, fax (978) 646-8600. Requests to the Publisher for per-
mission should be addressed to the Permissions Department, John Wiley
& Sons, Inc., 111 River Street, Hoboken, NJ 07030, 201-748-6011, fax
201-748-6008, or online at
Wiley publishes in a variety of print and electronic formats and by print-on-
demand. Some material included with the standard print versions of this
book may not be included in e-books or in print-on-demand. If this book
refers to media such as a CD or DVD that is not included in the version you
com. For more information about Wiley products, visit www.wiley.com.
Library of Congress Control Number: 2011939648
ISBN: 978-0-470-95222-1
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND
THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT
TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK
AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT
LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO
WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL
MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY
NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH
THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN
RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF
PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT
PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER
NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM.
THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN
THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER
INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER
ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY
PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS
SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK
MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS
WRITTEN AND WHEN IT IS READ.
FOR PURPOSES OF ILLUSTRATING THE CONCEPTS AND TECHNIQUES
DESCRIBED IN THIS BOOK, THE AUTHOR HAS CREATED VARIOUS NAMES,
COMPANY NAMES, MAILING, E-MAIL AND INTERNET ADDRESSES, PHONE
AND FAX NUMBERS AND SIMILAR INFORMATION, ALL OF WHICH ARE
FICTITIOUS. ANY RESEMBLANCE OF THESE FICTITIOUS NAMES, ADDRESSES,
PHONE AND FAX NUMBERS AND SIMILAR INFORMATION TO ANY ACTUAL
PERSON, COMPANY AND/OR ORGANIZATION IS UNINTENTIONAL AND
PURELY COINCIDENTAL.
Contact Us
For general information on our other products and services please con-
tact our Customer Care Department within the U.S. at 877-762-2974,
outside the U.S. at 317-572-3993 or fax 317-572-4002.
For technical support, please visit
www.wiley.com/techsupport.
Trademark Acknowledgments
Wiley, the Wiley logo, Visual, the Visual logo, Visual Blueprint, Read
Less - Learn More and related trade dress are trademarks or registered
trademarks of John Wiley & Sons, Inc. and/or its affiliates. All other
trademarks are the property of their respective owners. John Wiley &
Sons, Inc. is not associated with any product or vendor mentioned in
this book.
Arc de Triomphe
Commissioned by the Emperor Napoleon in 1806 to commemorate his
imperial armies, this familiar landmark is the world’s largest triumphal
arch. It dominates the famed Champs-Elysées and bears the names of
hundreds of Napoleon’s generals
along with four spectacular relief
sculptures. From its summit,
tourists view a breathtaking
panorama of Paris.
Discover more about the city and
its monuments in
Frommer’s Paris
2011
(ISBN 978-0-470-61441-9),
available wherever books are sold
or at
www.Frommers.com.
Sales
|
Contact Wiley at (877) 762-2974 or fax (317) 572-4002.
Credits
Acquisitions Editor
Aaron Black
Project Coordinator
Kristie Rees
Senior Acquisitions Editor
Stephanie McComb
Graphics and Production Specialists
Carrie A. Cesavice
Joyce Haughey
Andrea Hornberger
Jennifer Mayberry
Project Editor
Dana Rhodes Lesh
Technical Editor
Paul Geyer
Quality Control Technicians
Lindsay Amones
Melanie Hoffman
Lauren Mandelbaum
Rob Springer
Copy Editor
Dana Rhodes Lesh
Editorial Director
Robyn Siesky
Proofreading
Melissa D. Buddendeck
Business Manager
Amy Knies
Indexing
Potomac Indexing, LLC
Senior Marketing Manager
Sandy Smith
Screen Artist
Jill A. Proll
Vice President and Executive
Group Publisher
Richard Swadley
Cover Art Illustrator
David Gregory
Vice President and Executive
Publisher
Barry Pruett
About the Author
Adam McDaniel
has been designing, developing, modifying, and maintaining computer programs of one
language or another since 1993, and he has been an active proponent of HTML since being introduced to the
language in 1994.
Since that time, Adam has led a team of developers implementing an eCommerce fulfillment engine for a virtual
shopping mall, designed hundreds of corporate websites, and developed front-end HTML and back-end CGI
infrastructure for CADVision, at the time one of the largest ISPs in Western Canada. In 2001, Adam moved into the
software security sector, working for Hitachi ID Systems for over eight years, designing and implementing software
security recommendations for various Fortune 500 companies across the United States and Europe. Soon
afterwards, based on his past CGI experience, Adam wrote his first book,
Perl and Apache: Your visual blueprint to
developing dynamic Web content
. Most recently, Adam rejoined the HTML world as the lead OS architect for
Jolicloud, a Paris-based company, contributing to its HTML5 Linux operating system.
As Adam is always interested in new technologies and architectures, his other development credits include an
open-source offline HTML reader for the Palm OS platform, contributions to the Linux Kernel, and other utility
and specialty programs. In 2006, Adam produced the Array.org Netbook Kernel software download and website,
allowing users to download an optimized build of the Linux kernel, specific for the Ubuntu Linux distribution.
Author’s Acknowledgments
This book is the product of many significant people, without all of whom, this project would never have been
possible.
My expert Wiley editors were instrumental in shepherding this book into what you see today. Aaron Black, my
acquisitions editor, kept this project on schedule, and I am grateful to him for introducing me to the publishing
industry. Dana Lesh, my project editor, gracefully offered feedback and direction and prevented this book from
degrading into a garbled mess of inconsistent ideas and broken sentences. Also, thank you Neil Salkind and
Andrew Kim of StudioB; this is the first project we have worked on together, and I look forward to many more.
I would also like to thank the Jolicloud HTML5 team: Tariq Krim, Brenda O’Connell, Romain Huet, Jeremy Selier,
and Cedric Duclos. The desktop revolution offered by HTML5 and cloud computing is something few people could
have foreseen, it was great being on the ground floor with you all. In addition, thank you Adam Buckeridge for
your help with the book’s example site design and Derek Brans for your HTML5 and jQuery expertise.
To the HTML5 architects, designers, and developers from Mozilla, Opera, Google, and Apple who took the lead
in identifying the future of the Internet, shaping the HTML5 standard, and promoting it, thank you. The web
certainly would not be as awesome without your resources and innovation.
Finally, to my beautiful wife Shauna, without your many years of love, support, and encouragement, and even
your devil’s advocate (“I don’t think this you’ve thought this through”) feedback, I would be lost, overwhelmed,
and probably homeless. As this project was in the homestretch, your patience and understanding is what allowed
it to succeed. You always keep me grounded and focused, and I cherish the life and family we have built together.
This book is dedicated to my firstborn — my daughter, Brielle. Although today you are very young, one day you
may choose a career that has not even been invented yet. By then, I hope that I have inspired you to explore new
technologies, ask questions, investigate problems, and find innovative solutions in whatever path you take.
[ Pobierz całość w formacie PDF ]
zanotowane.pl doc.pisz.pl pdf.pisz.pl chiara76.opx.pl
HTML5
Your visual blueprint™ for designing
rich web pages and applications
Adam McDaniel
HTML5: Your visual blueprint™ for designing rich web
pages and applications
Published by
John Wiley & Sons, Inc.
111 River Street
Hoboken, NJ 07030-5774
www.wiley.com
Published simultaneously in Canada
Copyright © 2012 by John Wiley & Sons, Inc., Indianapolis, Indiana
No part of this publication may be reproduced, stored in a retrieval
system or transmitted in any form or by any means, electronic, mechani-
cal, photocopying, recording, scanning or otherwise, except as permit-
ted under Sections 107 or 108 of the 1976 United States Copyright
Act, without either the prior written permission of the Publisher, or
authorization through payment of the appropriate per-copy fee to the
Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923,
(978) 750-8400, fax (978) 646-8600. Requests to the Publisher for per-
mission should be addressed to the Permissions Department, John Wiley
& Sons, Inc., 111 River Street, Hoboken, NJ 07030, 201-748-6011, fax
201-748-6008, or online at
Wiley publishes in a variety of print and electronic formats and by print-on-
demand. Some material included with the standard print versions of this
book may not be included in e-books or in print-on-demand. If this book
refers to media such as a CD or DVD that is not included in the version you
com. For more information about Wiley products, visit www.wiley.com.
Library of Congress Control Number: 2011939648
ISBN: 978-0-470-95222-1
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND
THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT
TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK
AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT
LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO
WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL
MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY
NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH
THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN
RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF
PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT
PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER
NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM.
THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN
THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER
INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER
ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY
PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS
SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK
MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS
WRITTEN AND WHEN IT IS READ.
FOR PURPOSES OF ILLUSTRATING THE CONCEPTS AND TECHNIQUES
DESCRIBED IN THIS BOOK, THE AUTHOR HAS CREATED VARIOUS NAMES,
COMPANY NAMES, MAILING, E-MAIL AND INTERNET ADDRESSES, PHONE
AND FAX NUMBERS AND SIMILAR INFORMATION, ALL OF WHICH ARE
FICTITIOUS. ANY RESEMBLANCE OF THESE FICTITIOUS NAMES, ADDRESSES,
PHONE AND FAX NUMBERS AND SIMILAR INFORMATION TO ANY ACTUAL
PERSON, COMPANY AND/OR ORGANIZATION IS UNINTENTIONAL AND
PURELY COINCIDENTAL.
Contact Us
For general information on our other products and services please con-
tact our Customer Care Department within the U.S. at 877-762-2974,
outside the U.S. at 317-572-3993 or fax 317-572-4002.
For technical support, please visit
www.wiley.com/techsupport.
Trademark Acknowledgments
Wiley, the Wiley logo, Visual, the Visual logo, Visual Blueprint, Read
Less - Learn More and related trade dress are trademarks or registered
trademarks of John Wiley & Sons, Inc. and/or its affiliates. All other
trademarks are the property of their respective owners. John Wiley &
Sons, Inc. is not associated with any product or vendor mentioned in
this book.
Arc de Triomphe
Commissioned by the Emperor Napoleon in 1806 to commemorate his
imperial armies, this familiar landmark is the world’s largest triumphal
arch. It dominates the famed Champs-Elysées and bears the names of
hundreds of Napoleon’s generals
along with four spectacular relief
sculptures. From its summit,
tourists view a breathtaking
panorama of Paris.
Discover more about the city and
its monuments in
Frommer’s Paris
2011
(ISBN 978-0-470-61441-9),
available wherever books are sold
or at
www.Frommers.com.
Sales
|
Contact Wiley at (877) 762-2974 or fax (317) 572-4002.
Credits
Acquisitions Editor
Aaron Black
Project Coordinator
Kristie Rees
Senior Acquisitions Editor
Stephanie McComb
Graphics and Production Specialists
Carrie A. Cesavice
Joyce Haughey
Andrea Hornberger
Jennifer Mayberry
Project Editor
Dana Rhodes Lesh
Technical Editor
Paul Geyer
Quality Control Technicians
Lindsay Amones
Melanie Hoffman
Lauren Mandelbaum
Rob Springer
Copy Editor
Dana Rhodes Lesh
Editorial Director
Robyn Siesky
Proofreading
Melissa D. Buddendeck
Business Manager
Amy Knies
Indexing
Potomac Indexing, LLC
Senior Marketing Manager
Sandy Smith
Screen Artist
Jill A. Proll
Vice President and Executive
Group Publisher
Richard Swadley
Cover Art Illustrator
David Gregory
Vice President and Executive
Publisher
Barry Pruett
About the Author
Adam McDaniel
has been designing, developing, modifying, and maintaining computer programs of one
language or another since 1993, and he has been an active proponent of HTML since being introduced to the
language in 1994.
Since that time, Adam has led a team of developers implementing an eCommerce fulfillment engine for a virtual
shopping mall, designed hundreds of corporate websites, and developed front-end HTML and back-end CGI
infrastructure for CADVision, at the time one of the largest ISPs in Western Canada. In 2001, Adam moved into the
software security sector, working for Hitachi ID Systems for over eight years, designing and implementing software
security recommendations for various Fortune 500 companies across the United States and Europe. Soon
afterwards, based on his past CGI experience, Adam wrote his first book,
Perl and Apache: Your visual blueprint to
developing dynamic Web content
. Most recently, Adam rejoined the HTML world as the lead OS architect for
Jolicloud, a Paris-based company, contributing to its HTML5 Linux operating system.
As Adam is always interested in new technologies and architectures, his other development credits include an
open-source offline HTML reader for the Palm OS platform, contributions to the Linux Kernel, and other utility
and specialty programs. In 2006, Adam produced the Array.org Netbook Kernel software download and website,
allowing users to download an optimized build of the Linux kernel, specific for the Ubuntu Linux distribution.
Author’s Acknowledgments
This book is the product of many significant people, without all of whom, this project would never have been
possible.
My expert Wiley editors were instrumental in shepherding this book into what you see today. Aaron Black, my
acquisitions editor, kept this project on schedule, and I am grateful to him for introducing me to the publishing
industry. Dana Lesh, my project editor, gracefully offered feedback and direction and prevented this book from
degrading into a garbled mess of inconsistent ideas and broken sentences. Also, thank you Neil Salkind and
Andrew Kim of StudioB; this is the first project we have worked on together, and I look forward to many more.
I would also like to thank the Jolicloud HTML5 team: Tariq Krim, Brenda O’Connell, Romain Huet, Jeremy Selier,
and Cedric Duclos. The desktop revolution offered by HTML5 and cloud computing is something few people could
have foreseen, it was great being on the ground floor with you all. In addition, thank you Adam Buckeridge for
your help with the book’s example site design and Derek Brans for your HTML5 and jQuery expertise.
To the HTML5 architects, designers, and developers from Mozilla, Opera, Google, and Apple who took the lead
in identifying the future of the Internet, shaping the HTML5 standard, and promoting it, thank you. The web
certainly would not be as awesome without your resources and innovation.
Finally, to my beautiful wife Shauna, without your many years of love, support, and encouragement, and even
your devil’s advocate (“I don’t think this you’ve thought this through”) feedback, I would be lost, overwhelmed,
and probably homeless. As this project was in the homestretch, your patience and understanding is what allowed
it to succeed. You always keep me grounded and focused, and I cherish the life and family we have built together.
This book is dedicated to my firstborn — my daughter, Brielle. Although today you are very young, one day you
may choose a career that has not even been invented yet. By then, I hope that I have inspired you to explore new
technologies, ask questions, investigate problems, and find innovative solutions in whatever path you take.
[ Pobierz całość w formacie PDF ]