Flash and XML : A Developer's Guide - Dov Jacobson , Jesse Jacobson - Librairie Eyrolles
Tous nos rayons

Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
Flash and XML : A Developer's Guide
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

Flash and XML : A Developer's Guide

Flash and XML : A Developer's Guide

Dov Jacobson, Jesse Jacobson

350 pages, parution le 05/02/2002

Résumé

Flash and XML shows designers and developers how to integrate these powerful technologies and create dynamic web sites. With this thoroughly readable guide you take Flash to the next level, interfacing ActionScript with XML. Empower your Flash projects with dynamic content, backend databases, server-based applications, peer-to-peer, and more.

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.

Starting out: Buttons, graphics, text, sound, script.
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.
Core concepts: Object orientation, event handlers, dynamic text.
Object Orientation Concepts.
Object-Oriented Theory vs. ActionScript Reality.
Flash Objects.
Programmable Button.
Data Encapsulation.
Conclusion.

3. More ActionScript: Data-Driven Interfaces.
Practical work: Thin client, smart graphic elements, exposing data structure.
Data-Driven Decisions.
Data-Driven Everything.
Isolating the Data.
Dynamic Creation of Graphics.
Multiple Questions.
Conclusion.

4. XML Fundamentals.
Big picture: Inspiration, evolution, esthetic, promise.
XML Background.
How XML Works.
Designing the Data.
Conclusion.

5. XML Structure.
Definitions: Elements, names, tags, attributes, content, markup, etc.
Element.
Name.
Start Tag.
End Tag.
Attributes.
Text (Character Data).
Entity References.
Comments.
Processor Instructions.
Conclusion.

6. XML Validation: DTD.
Declaration: Entities, parameters, notations, namespaces.
Purpose of DTD.
Valid XML and Well-Formed XML.
DTD Declarations.
Entities.
Namespace.
Conclusion.

7. HTTP Connection.
Transaction: Request/response, GET, POST, load, variable scope.
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.
Download: XML files, ActionScript parser, debugger, DOM.
Downloading XML.
XML.load.
Debugging Flash.
Event-Driven Functionality.
Conclusion.

9. Recursive Approach.
Recursion: See Chapter 9.
Event-Driven Code.
Recursive Design.
Recursion.
Recursion in Practice.
Graphic XML Browser.
Interactive Node Viewer.
Conclusion.

10. XML Server.
Two tier: Server-side options, PHP, HTTP header variables.
XML Online.
Dedicated XML Server.
Middle-Tier Solutions.
PHP Basics.
PHP and XML.
XML-Driven Flash Client.
Conclusion.

11. Database Fundamentals.
DBMS 101: Purpose, technology options, relational, rows, columns, keys, joins.
Background.
Advantages of a DBMS.
Advantages of SQL.
Keys.
Conclusion.

12. SQL Syntax.
Practical DB: Building tables, data types, designing queries, getting records.
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.
Middle tier: PHP and MySQL, MySQL/functions, results tables.
Connecting to a Database.
Interaction with a Database.
Parsing Commands.
Fetching a Row.
Trial-and-Error Approach.
Scalable Alternative.
Conclusion.

14. XML Upload.
Upload: ActionScript and PHP, HTTP, XML as HTML, XML in browser.
Flash Client.
Uploading to PHP.
Conclusion.

15. Two-Way XML.
Roundtrip: Object exchange, PHP parsing, expat, event-based parser, packet sniffing.
Event-Driven Parsing.
Building the PHP Parser.
Conclusion.

16. Cookies.
Persistence: ActionScript parsing, DOM-based parser, setting cookies, reading cookies.
ActionScript XML Objects.
Stateless Persistence.
Conclusion.

17. Three Tiers.
Three tier: Database, application, client; a flexible system.
Database.
Flexible Middle Tier.
Client Tier.
Conclusion.

18. Flash to the World.
Proxies: Domain perimeter, security, escape, RSS, newsfeeds, content browsing.
Domain Perimeter.
PHP Proxy.
Client.
RSS File.
RSS Browser.
Conclusion.

19. XML Sockets.
Realtime: Socket programming, ports, streaming XML, single-user communications.
Advanced Socket Programming.
XMLSocket.
Simple Socket System.
Simple Socket Server.
Conclusion.

20. Multiplexed XML Sockets.
Multisockets: Scalable, stream servers, multi-user environments, live peer Connections.
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.
MS: XML in ASP, MSXML, PHP on IIS
ASP Code with Flash.
IIS and PHP.

Appendix B: Scalable Vector Graphics (SVG).
SVG: Flash without Flash, beyond the swf file

Appendix C: Tools and Sources.
Debuggers, editors, web sites, books, newsgroups, conferences.
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

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav@commande.eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription