Restructuration et amélioration incrémentale du code (Refactoring)

Improve the design and reuse of your classes with this training. Learn techniques to simplify the readability of your object software.
Private session

This training is available in a private or personalized format. It can be provided in one of our training centres or at your offices. Call one of our consultants of submit a request online.

Call now at 1 877 624.2344

  • Duration: 2 days
  • Regular price: On request

Course outline

Améliorez la conception et la réutilisation de vos classes (nouvelles et existantes) dans vos projets objet

Durée : 2 jours

Public concerné

Développeurs

Préalables

Expérience d’un langage objet

Objectifs

Ce cours vise à mettre en oeuvre les meilleures techniques de conception de classes de l’industrie afin d’améliorer la structure, la lisibilité, la maintenance et l’évolutivité d’un logiciel objet.

Méthode pédagogique

Exposés - Démonstrations - Exercices dirigés et individuels.
La répartition du contenu est approximativement : matériel 35% et laboratoires 65%.

Contenu

  • Techniques d’amélioration de la conception de codes existants sans altération du comportement externe, principes et critères d’application des techniques de refactoring
  • Présentation d’un catalogue de patrons (Patterns) d’implémentation pour les classes
  • Réorganisation des méthodes : comment les extraire, les remplacer ou les ajouter
  • Réorganisation des attributs : comment créer, changer ou remplacer des accesseurs, des valeurs, des références, des données observées, des associations et des énumérations
  • Déplacement des responsabilités à l’aide des classes en ligne, déléguées ou intermédiaires
  • Simplification des expressions conditionnelles : utilisation de sous-classes, patrons état / stratégie, objet nul et assertion
  • Simplification des appels aux méthodes pour construire des interfaces et des fabrications (Factories)
  • Déplacement de méthodes dans une hiérarchie d’héritage : comment extraire et déplacer des attributs et des méthodes

Surround yourself with the best

Michel de Champlain
Michel de Champlain
Architect and Creator of the B# Language
Animated by a passion that captivates, stimulates and gets participants involved, Michel is an enthusiastic and authentic trainer.
Frédéric Paradis
Frédéric Paradis
Certified Trainer and Cloud Architect
As a certified Microsoft trainer, Frédéric describes himself as a Cloud magician who easily navigates the mythical space between technology and reality.
Marc Maisonneuve
Marc Maisonneuve
Training program director
Marc Maisonneuve has acted as a Training Program Director, professional effectiveness trainer and user tools practice leader at AFI for several years. Mr. Maisonneuve is known for his analytical skills, his legendary calm and his undeniable desire to encourage people to develop their skills. He has the ability to present technological solutions in a natural way and to adapt them to the concrete needs of the workplace.
Vicky Moreau
Vicky Moreau
Trainer
Vicky Moreau is a passionate freelancer and professional in the area of office automation. She holds a college diploma in office automation, most of her solid experience with the Office Suite was acquired while being an autodidact. In fact, she has successfully completed an MOS (Microsoft Office Specialist) Excel certification.