TourDeJeu, le réseau des jeux en ligne alternatifs : jeux web multijoueurs, jeux par forum. En savoir +

Flux RSS des discussions du forum : pour les joueurs, et pour les créateurs et MJ
  Reply to this topicStart new topicStart Poll

> [livre] Object-oriented Actionscript For Flash 8
Manest
Ecrit le : Mercredi 27 Décembre 2006 à 15h56
Quote Post


Ouf
*

Groupe : Membre
Messages : 503


user posted image

Je suis tombé sur ce bouquin un peu par hasard. Ça faisait longtemps que j'en avait pas trouvé un si complet et intéressant. Ça pourra en intéresser plus d'un.

Comme l'indique le titre, c'est pour les anglophones et ça parle Actionscript et plus particulièrement POO (Actionscript 2.0 donc).
Autant le dire tout de suite, je ne pense pas qu'il s'adresse à des débutants, mais plutot à des gens ayant un bon petit bagage en programmation. Connaitre la PEE serait un plus pour en profiter pleinement.

QUOTE

PART ONE: OOP AND ACTIONSCRIPT
    Chapter 1: Introduction to OOP
    Chapter 2: Programming Concepts
    Chapter 3: ActionScript 2.0 Programming

PART TWO: FLASH OOP GUIDELINES
    Chapter 4: Planning
    Chapter 5: Project Workflow
    Chapter 6: Best Practices

PART THREE: CORE OOP CONCEPTS
    Chapter 7: Encapsulation
    Chapter 8: Classes
    Chapter 9: Inheritance
    Chapter 10: Polymorphism
    Chapter 11: Interfaces
    Chapter 12: Design Patterns
    Chapter 13: Case Study: An OOP Media Player

PART FOUR: BUILDING AND EXTENDING A DYNAMIC FRAMEWORK
    Chapter 14: Framework Overview
    Chapter 15: Manager Classes
    Chapter 16: UI Widgets
    Chapter 17: OOP Animation and Effects

PART FIVE: DATA INTEGRATION
    Chapter 18: Interrelationships and Interactions Between Components
    Chapter 19: Communication Between Flash and the Browser
    Chapter 20: Server Communication (XML and Web Services)
    Chapter 21: Case Study: Time Sheet Application


Première chose surprenante, ce livre ne commence pas par des pages interminables vous expliquant ce qu'est une variable et comment faire une boucle for (Personnellement ça m'agace toujours de perdre 1/3 d'un bouquin à 35euro pour des trucs réservés aux néophytes quant on en est plus un).
Première chose donc, on vous rafraîchie la mémoire sur les concepts de la POO grace à des exemples très imagés et très clairs: Polymorphisme, encapsulation, héritage... sans vous démoraliser (pour l'instant en tout cas). Le ton est sympathique et le tout se lit facilement.

Puis on arrive dans le code proprement dit avec les différences majeurs entre Actionscript 1 et 2. Et quelque rappels rapides sur des concepts basiques et leur programmation dans Flash.

Alors qu'on s'attend à tomber sur des pages autrement plus compliqué, on se retrouve avec un chapitre 2 tout à fait génial nous parlant de la gestion de projet. UML (J'ai enfin compris en 2 phrases la différence entre agrégation et composition), technique de programmation, gestion du temps, CVS. C'est succinct mais drôlement rafraîchissant. Pas de doute, les auteurs savent de quoi ils parlent.

Puis vient la partie clairement orienté code et POO. Celle qui fait mal à la tête mais qui est finalement le coeur de tout ça (Partie Design Patterns très intéressante et complète). C'est bien écrit, ça passe finalement tout seul.
Ca fini par la création d'un Média Player. Bon... c'est complexe mais pas le choix.

Pour finir, de nombreuse pages sur la création de frameWork, communication client serveur en flash etc...
Du très technique mais complètement indispensable. Plein de theme rarement abordé et réuni dans un même bouquin.


Bref c'est vraiment un très bon bouquin. Plus de 500 pages pour 30 à 40 euro on se fou pas de votre gueule. Le bouquin va à l'essentiel, pas de pavé expliquant la programmation en partant de zéro, pas d'explication sur les interpolations de mouvement en Flash et sur comment changer la couleur du texte (Comme souvent). Ici on parle POO et Actionscript, et d'un manière clair et décontracté.

Idéal pour se lancer dans le développement d'un jeu Flash complèxe avec de très bonnes bases.

Par contre c'est en anglais. Si vous connaissez d'autre bouquin équivalent en Français, ça pourra servir à certain.


--------------------
PMEmail PosterUsers Website
Top
Nambew
Ecrit le : Mercredi 27 Décembre 2006 à 19h04
Quote Post


Kid
*

Groupe : Membre
Messages : 43


Je le connaissais pas ce livre. Pour ma part, j'ai acheté un livre en français "Le meilleur d'ActionScript 2.0" par Colin Moock, c'est tiré de "Essential ActionScript 2.0" en anglais. Il a une version MX pour l'AS 1 que je n'ai pas lu et il est entrain d'en préparé un pour l'AS 3.

Je mets la table des matières en anglais vu que la page retourne un not found en français.

QUOTE

1. ActionScript 2.0 Overview
    ActionScript 2.0 Features
    Features Introduced by Flash Player 7
    Flash MX 2004 Version 2 Components
    ActionScript 1.0 and 2.0 in Flash Player 6 and 7
    Let's Go OOP

2. Object-Oriented ActionScript
    Procedural Programming and Object-Oriented Programming
    Key Object-Oriented Programming Concepts
    But How Do I Apply OOP?
    On with the Show!

3. Datatypes and Type Checking
    Why Static Typing?
    Type Syntax
    Compatible Types
    Built-in Dynamic Classes
    Circumventing Type Checking
    Casting
    Datatype Information for Built-in Classes
    ActionScript 2.0 Type Checking Gotchas
    Up Next: Creating Classes-Your Own Datatypes!

4. Classes
    Defining Classes
    Constructor Functions (Take 1)
    Properties
    Methods
    Constructor Functions (Take 2)
    Completing the Box Class
    Putting Theory into Practice

5. Authoring an ActionScript 2.0 Class
    Class Authoring Quick Start
    Designing the ImageViewer Class
    ImageViewer Implementation (Take 1)
    Using ImageViewer in a Movie
    ImageViewer Implementation (Take 2)
    ImageViewer Implementation (Take 3)
    Back to the Classroom

6. Inheritance
    A Primer on Inheritance
    Subclasses as Subtypes
    An OOP Chat Example
    Overriding Methods and Properties
    Constructor Functions in Subclasses
    Subclassing Built-in Classes
    Augmenting Built-in Classes and Objects
    The Theory of Inheritance
    Abstract and Final Classes Not Supported
    Let's Try Inheritance

7. Authoring an ActionScript 2.0 Subclass
    Extending ImageViewer's Capabilities
    The ImageViewerDeluxe Skeleton
    Adding setPosition( ) and setSize( ) Methods
    Autosizing the Image Viewer
    Using ImageViewerDeluxe
    Moving Right Along

8. Interfaces
    The Case for Interfaces
    Interfaces and Multidatatype Classes
    Interface Syntax and Use
    Multiple Type Inheritance with Interfaces
    Up Next, Packages

9. Packages
    Package Syntax
    Defining Packages
    Package Access and the Classpath
    Simulating Packages in ActionScript 1.0
    Just a Little More Theory

10. Exceptions
    The Exception-Handling Cycle
    Handling Multiple Types of Exceptions
    Exception Bubbling
    The finally Block
    Nested Exceptions
    Control Flow Changes in try/catch/finally
    Limitations of Exception Handling in ActionScript 2.0
    From Concepts to Code

Part II. Application Development

11. An OOP Application Framework
    The Basic Directory Structure
    The Flash Document (.fla file)
    The Classes
    The Document Timeline
    The Exported Flash Movie (.swf file)
    Projects in Flash MX Professional 2004
    Let's See It in Action!

12. Using Components with ActionScript 2.0
    Currency Converter Application Overview
    Preparing the Flash Document
    The CurrencyConverter Class
    Handling Component Events
    Components Complete

13. MovieClip Subclasses
    The Duality of MovieClip Subclasses
    Avatar: A MovieClip Subclass Example
    Avatar: The Composition Version
    Issues with Nested Assets
    A Note on MovieClip Sub-subclasses
    Curiouser and Curiouser

14. Distributing Class Libraries
    Sharing Class Source Files
    Sharing Classes Without Sharing Source Files
    Solving Real OOP Problems

Part III. Design Pattern Examples in ActionScript 2.0

15. Introduction to Design Patterns
    Bring on the Patterns

16. The Observer Design Pattern
    Implementing Observer in ActionScript 2.0
    Logger: A Complete Observer Example
    Memory Management Issues with Observer
    Beyond Observer

17. The Singleton Design Pattern
    Implementing Singleton in ActionScript 2.0
    The Singleton Pattern in the Logger Class
    Singleton Versus Class Methods and Class Properties
    A Warning Against Singletons as Globals
    On to User Interfaces

18. The Model-View-Controller Design Pattern
    The General Architecture of MVC
    A Generalized MVC Implementation
    An MVC Clock
    Further Exploration

19. The Delegation Event Model
    Structure and Participants
    The Flow of Logic
    Core Implementation
    NightSky: A Delegation Event Model Example
    Other Event Architectures in ActionScript
    From Some Place to Some OtherPlace


Comme ton livre Manest, ce n'est pas un livre qui aborde la syntaxe de base. Il n'y a pas d'UML ni de gestion de projet, c'est pas le but visé par l'auteur. Mais bon pour quelqu'un qui souhaite se mettre à la programmation en dur et avec un support plus complet de la syntaxe OOP, autant se tourner tout de suite vers AS 3.
PM
Top
« Sujets + anciens | Programmer | Sujets + récents »

Reply to this topicStart new topicStart Poll