Leanpub Header

Skip to main content

Solid, tiens-toi bien !

11 patrons comportementaux en BD

Découvrez 11 design patterns du GoF grâce à une bande dessinée !

Une approche vulgarisée, des exemples simples en PHP, des diagrammes UML illustrés.

Tout pour retenir les patrons suivants : Méthode modèle, Itérateur, Commande, Interpréteur, Stratégie, Visiteur, Chaîne de responsabilités, Observateur, Médiateur, État, Mémento.

Minimum price

$24.90

$34.90

You pay

$34.90

Authors earn

$27.92
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
46
Readers
About

About

About the Book

Une approche mnémotechnique encore jamais vue !

Le livre se compose de 11 chapitres, chacun traitant d'un patron de conception de façon vulgarisée.

Pour chacun d'eux, vous trouverez :

  • Une petite histoire accessible à un enfant en bas âge
  • Des questions basiques pour attirer votre attention sur les éléments clés de la BD
  • Une explication de l'analogie entre l'histoire et la définition formelle du GoF
  • Un exemple d'implémentation en PHP
  • Un diagramme UML proche de l'original, mais éclairé par l'histoire
  • Des réponses aux questions premières d'un point de vue du développeur

Author

About the Authors

LAURIER Vincent

Développeur PHP depuis 2009, Vincent Laurier travaille principalement avec le framework Symfony. Ancien professeur de mathématiques/physique, il a conservé son goût pour la pédagogie, et la transmission du savoir. Son premier livre "Solid, tiens-toi bien !" illustre à merveille son effort pour la vulgarisation des connaissances. La conception, l'élégance et la qualité du code sont des problématiques qui lui tiennent à coeur.

ETIENNE Olivier

Olivier ETIENNE is a curious and passionate autodidact. Among other things like programming or music, drawing is a big part of his life, and has been since his childhood. Self-taught, he has made of Blender, Inkscape, and Gimp, its main open source arsenals. Today, his talent as an illustrator serves this educational project, which involves the skills he values the most.

Translations

Translations

Languages

Contents

Table of Contents

Préface

  1. Le mot de l’auteur
  2. Le mot de l’illustrateur

À propos du livre

  1. Le public visé
  2. L’indépendance des chapitres
  3. La partie pour “enfants”
  4. Les exemples d’implémentation
  5. Les diagrammes UML
  6. Les réponses pour développeurs

À propos de l’auteur et de l’illustrateur

Remerciements

La méthode modèle

  1. “Gepetto fait le spectacle”
  2. L’analogie avec la BD
  3. Exemple d’implémentation
  4. Modélisation UML
  5. Réponses pour développeurs
  6. L’inversion de contrôle

L’itérateur

  1. “Jour d’inventaire”
  2. L’analogie avec la BD
  3. Exemple d’implémentation
  4. Modélisation UML
  5. Réponses pour développeurs
  6. Les itérateurs de la SPL

La commande

  1. “Sous la porte de la loge”
  2. L’analogie avec la BD
  3. Exemple d’implémentation
  4. Modélisation UML
  5. Réponses pour développeurs
  6. La macrocommande

L’interpréteur

  1. “Le langage des signes de Gepetto”
  2. L’analogie avec la BD
  3. Exemple d’implémentation
  4. Modélisation UML
  5. Réponses pour développeurs
  6. BNF et EBNF

La stratégie

  1. “Peu importe l’accessoire !”
  2. L’analogie avec la BD
  3. Exemple d’implémentation
  4. Modélisation UML
  5. Réponses pour développeurs
  6. Null Object

Le visiteur

  1. “La visite du parc animalier”
  2. L’idée générale
  3. Exemple d’implémentation
  4. Modélisation UML
  5. Réponses pour développeurs
  6. Principe ouvert/fermé

La chaîne de responsabilités

  1. “A qui le tour ?”
  2. L’analogie avec la BD
  3. Exemple d’implémentation
  4. Modélisation UML
  5. Réponses pour développeurs

L’observateur

  1. “Torp se la joue un peu…“
  2. L’analogie avec la BD
  3. Exemple d’implémentation
  4. Modélisation UML
  5. Réponses pour développeurs
  6. Principe d’inversion des dépendances

Le médiateur

  1. “Gepetto contrôle l’ouverture du parc”
  2. L’analogie avec la BD
  3. Exemple d’implémentation
  4. Modélisation UML
  5. Réponses pour développeurs

L’état

  1. “La piste dans tous ses états”
  2. L’analogie avec la BD
  3. Exemple d’implémentation
  4. Modélisation UML
  5. Réponses pour développeurs

Mémento

  1. “Shoot photo pour Solid”
  2. L’analogie avec la BD
  3. Exemple d’implémentation
  4. Modélisation UML
  5. Réponses pour développeurs

Annexes

  1. Le principe d’Hollywood
  2. Itérateur pour filter sur les récompenses
  3. Exemple d’implémentation de l’expression Enchaîner

Bibliographie

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub