Résumé
Flash and XML is a tutorial that brings you up to speed on both technologies, offering clear and concise explanations. In addition, this book presents a number of important web technologies, including PHP, MySQL, and sockets. It shows how to work with these technologies to create n-tier, interactive systems that access the full resources of the Internet.
Sample projects (trivia game, XML browser, simple chat) showcase the capabilities of Flash and XML together and demonstrate important concepts, approaches, and techniques.
The companion web site at http://www.FlashandXML.com contains all of the source code referenced in the book, as well as updates, discussion groups, and links to other resources.
Containing plentiful examples, experience-based techniques, and just enough theory, Flash and XML is a one-stop sourcebook that will guide you in the development of web sites that are not only animated, interactive, and powerful, but extremely useful as well.
Specific topics covered include:
- Flash architecture
- ActionScript techniques
- XML in detail--for Flash developers
- DTD specification
- Internet request and response: HTTP
- Server scripting with PHP
- Basic SQL syntax
- Designing MySQL databases
- From MySQL to Flash via XML and PHP
- Cookies
- Packet sniffers
- Escaping the Domain Perimeter
- XML Sockets and streaming data
- Multi-user communication in Flash
Contents
Preface.Why this book, who should read it.
Acknowledgments.
1. Flash Basics.
The Background of Flash.
Practical Flash.
Event-Driven Graphics.
Building a Button.
Constructing a Round.
Making Keyframes.
Constructing the Responses.
Finishing Features.
Conclusion--and Beyond.
2. FlashActionScript: Objects and Events.
Object Orientation Concepts.
Object-Oriented Theory vs. ActionScript Reality.
Flash Objects.
Programmable Button.
Data Encapsulation.
Conclusion.
3. More ActionScript: Data-Driven Interfaces.
Data-Driven Decisions.
Data-Driven Everything.
Isolating the Data.
Dynamic Creation of Graphics.
Multiple Questions.
Conclusion.
4. XML Fundamentals.
XML Background.
How XML Works.
Designing the Data.
Conclusion.
5. XML Structure.
Element.
Name.
Start Tag.
End Tag.
Attributes.
Text (Character Data).
Entity References.
Comments.
Processor Instructions.
Conclusion.
6. XML Validation: DTD.
Purpose of DTD.
Valid XML and Well-Formed XML.
DTD Declarations.
Entities.
Namespace.
Conclusion.
7. HTTP Connection.
Characteristics of HTTP.
Structure of HTTP.
Loading Data from a File.
Making a Self-Loading High Score Display.
Object-Oriented Implementation.
Data File.
Flash Download Security.
Conclusion.
8. XML Connection.
Downloading XML.
XML.load.
Debugging Flash.
Event-Driven Functionality.
Conclusion.
9. Recursive Approach.
Event-Driven Code.
Recursive Design.
Recursion.
Recursion in Practice.
Graphic XML Browser.
Interactive Node Viewer.
Conclusion.
10. XML Server.
XML Online.
Dedicated XML Server.
Middle-Tier Solutions.
PHP Basics.
PHP and XML.
XML-Driven Flash Client.
Conclusion.
11. Database Fundamentals.
Background.
Advantages of a DBMS.
Advantages of SQL.
Keys.
Conclusion.
12. SQL Syntax.
Varieties of SQL.
Prompt
Tables.
Guidelines for Building a Table.
Types of Data.
Adding Data to Tables.
Reading Records from the Table.
Conclusion.
13. Serving from SQL.
Connecting to a Database.
Interaction with a Database.
Parsing Commands.
Fetching a Row.
Trial-and-Error Approach.
Scalable Alternative.
Conclusion.
14. XML Upload.
Flash Client.
Uploading to PHP.
Conclusion.
15. Two-Way XML.
Event-Driven Parsing.
Building the PHP Parser.
Conclusion.
16. Cookies.
ActionScript XML Objects.
Stateless Persistence.
Conclusion.
17. Three Tiers.
Database.
Flexible Middle Tier.
Client Tier.
Conclusion.
18. Flash to the World.
Domain Perimeter.
PHP Proxy.
Client.
RSS File.
RSS Browser.
Conclusion.
19. XML Sockets.
Advanced Socket Programming.
XMLSocket.
Simple Socket System.
Simple Socket Server.
Conclusion.
20. Multiplexed XML Sockets.
Chat.
Client with History.
Multiclient Server.
Beyond PHP.
Conclusion.
End Note.
Upload: ActionScript and PHP, HTTP, XML as HTML, XML in browser.
Appendix A: Microsoft Compatibility.
ASP Code with Flash.
IIS and PHP.
Appendix B: Scalable Vector Graphics (SVG).
Appendix C: Tools and Sources.
Network Tool.
Servers.
XML Tools.
PHP Tools.
MySQL Tools.
Flash.
Index.
L'auteur - Dov Jacobson
Dov Jacobson has headed several game development
studios, including a stint as Vice President of Game
Development at Turner Broadcasting. He was also a Director
of Product Development at Pansophic Systems. Currently an
independent consultant, he has developed over a dozen
commercially released games.
L'auteur - Jesse Jacobson
Jesse Jacobson sat down to the computer at age two. He
has since learned how to use it. He has written code for
many Big Fun titles. He also worked on research projects at
Georgia Tech and the Technion in Israel. He currently
studies at Dartmouth College.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Addison Wesley |
Auteur(s) | Dov Jacobson, Jesse Jacobson |
Parution | 05/02/2002 |
Nb. de pages | 350 |
Format | 18,5 x 23 |
Couverture | Broché |
Poids | 851g |
Intérieur | 2 couleurs |
EAN13 | 9780201729207 |
ISBN13 | 978-0-201-72920-7 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse
- Informatique Développement d'applications Conception et développement web
- Informatique Développement d'applications Conception et développement web Services Web
- Informatique Développement d'applications Langages HTML
- Informatique Développement d'applications Langages XML
- Informatique Développement d'applications Langages XSLT