"Refactoring" ist die Kunst, Ihren Source-Code problemlos zu verbessern. Egal, ob die Anforderungen jetzt anders sind, das aktuelle Design nicht optimal ist, oder Sie einfach neue Erkenntnisse gewonnen haben, Refactorn Sie schnell und ohne Risiko nach "Kochrezepten" der Meister.
Inhalt
Grundprinzipien und Konzepte
von Refactoring
Was hat man davon?
Wann ist es notwendig? (Die "schlechten Gerüche" im Code)
Wann hört man auf?
Was muss man im Projektablauf anders organisieren?
Auffrischung von einigen
wichtigen Entwurfsmustern
Testing und
Refactoring
Warum ist Testen zwingend erforderlich?
Wie testet man am besten?
Ein Katalog von Refactorings
gemäß Martin Fowler
Composing methods
Verhalten zwischen Objekten verschieben
Daten organisieren
Bedingte Ausdrücke vereinfachen
Vereinfachung von Methoden-Aufrufen
Verallgemeinerung meistern
Praktische Übungen
Ein Test-Tool: JUnit
Refactoring Tools - ein
Überblick
Ein kurzer Blick auf das
Umfeld
Eclipse
Pair programming
Extreme programming (XP)
Praktische Übungen anhand von
Quellcode der Teilnehmer
Falls möglich, bringt jeder Teilnehmer Quellcode aus dem eigenen Projekt mit, den wir besprechen und ggfs. bearbeiten
Seminar-Ziel
Die Teilnehmer kennen die Philosophie hinter "Refactoring" sowie die allgemeinen Vorgehensweisen. Sie haben viele Refactorings kennengelernt und an verschiedenen Beispielen geübt. Sie sind somit in der Lage, flexibel auf Änderungen der Ziele, der Anforderungen oder des Umfeldes zu reagieren. Die Teilnehmer können höherwertige Software schreiben.
Wer sollte teilnehmen
System- und Anwendungsprogrammierer, die Erfahrung mit Java und objektorientierter Programmierung und möglichst auch Entwurfsmustern haben. Sie möchten die Qualität Ihrer Software steigern und agil auf Änderungen an den Vorgaben reagieren.
Dauer des Seminars
3 Tag(e), 1. Tag 10:00-17:00h, Folgetag(e) 09:00-16:00h
Teilnehmerzahl
min. 1, max. 8 Personen *** Wenn Sie sich anmelden findet der Kurs statt! ***
Seminar-Gebühren
1.080,00 Euro p. P. zzgl. MwSt., inkl. Seminar-Unterlagen, Teilnahmezertifikat, Mittagessen und ganztägig Getränke, Obst und Snacks
Entwickler, Projektleiter, Coach und Dozent – in allen Rollen fühlt sich unser Dozent John Boyd-Rainey wohl. Angefangen mit BASIC auf der Uni ging es über Pascal, Prolog, C und C++ zur schönen neuen Java-Welt.
Als Engländer, der aber länger in Köln gelebt hat als in sonst einer Stadt, bietet er sein Fachwissen in Deutsch und Englisch an.
"Ich liebe es, wenn ich sehe, wie die Teilnehmer etwas zum ersten Mal verstehen. Manchmal fällt das 5-Cent Stück centweise, das ist egal. Hauptsache, sie haben nicht nur etwas gehört, sondern wirklich begriffen, so dass sie es umsetzen können."
Im GFU-Bookshop finden Sie u. a. folgende Bücher zu diesem Seminar / Lehrgang:
Professional Refactoring in Visual Basic
Professional Refactoring in Visual Basic In this one-of-a-kind book, Microsoft MVP Danijel Arsenovski shows you how to utilize the power of refactoring to improve the design of your existing code and become more efficient and productive. He provides you with a hands-on approach so you´ll quickly learn how to manage and modify your code with refactoring tools and features. You´ll also discover how to perform unit testing, refactoring to patterns, and refactoring to upgrade legacy Visual Basic code. As you progress through the chapters, you´ll build a prototype application from scratch. You´ll then utilize refactoring techniques to transform the code into a properly designed, enterprise-level application. Arsenovski walks you step-by-step through each process while offering expert coding tips. You´ll then be able to apply this information to real situations that arise as a result of company expansion, policy changes, or similar business decisions. What you will learn from this book * The steps involved in assembling a refactoring toolkit * How to activate explicit and strict compiler options * Effective strategies for error handling * How to eliminate dead code, reduce scope, and remove unused references * Method consolidation and extraction techniques * Advanced object-oriented concepts and related refactorings * How to organize code for large-scale projects * Tips for taking advantage of LINQ and other VB 2008 enhancements * Core refactorings and basic code smells * How to use the free Refactor! add-in for Visual Basic * Visual Basic-specific refactorings and smells Who this book is for This book is for intermediate to expert programmers, developers, or . NET software architects who are familiar with basic object-oriented concepts, Visual Basic, and the Visual Studio environment. Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
Seminar
Refactoring HTML
Writing for programmers and non-programmers alike, Harold explains how to use refactoring to improve virtually any Web site or application, and shows them how to refactor for better reliability, performance, usability, security, accessibility, compatibility, and even search engine placement.
Seminar
xUnit Test Patterns
"A comprehensive reference to more than 120 testing patterns is included, and Meszaros illuminates the principles underlying each pattern, offering step-by-step usage instructions. You´ll find high-level strategy patterns, design-level patterns for testing specific functionality, and coding idioms for optimizing specific tests. In addition, an extensive library of relevant code samples is available online. The topics covered include: Writing better tests - and writing them faster; Software testing phases: fixture setup, exercise SUT, result verification, and fixture teardown; Testing business logic, databases, user interfaces, and machine-to-machine interfaces; Isolating software to test it independently from its environment; Refactoring tests for greater simplicity; Working effectively with XUnit, NUnit, JUnit, and other implementations; Designing software for greater testability; This book will benefit developers, managers, and testers working with any agile or conventional development process, any testing framework, and any testing strategy - from "tests as specification" to "tests as safety net". "
Seminar
Refactoring Databases
"You´ll master every task involved in refactoring database schemas, and discover best practices for deploying refactorings in even the most complex production environments. The second half of this book systematically covers five major categories of database refactorings. You´ll learn how to use refactoring to enhance database structure, data quality, and referential integrity; and how to refactor both architectures and methods. The book provides an extensive set of examples, built with Oracle and Java, and easily adaptable for other languages, such as, C#, C++, or VB. NET. Using this book´s techniques and examples, you can reduce waste, rework, risk, and cost - and build database systems capable of evolving smoothly, far into the future. "
Seminar
Refactoring
Refactoring ist eine Methode, bereits geschriebene Software im Entwurf zu verbessern, ohne ihr Verhalten zu ändern. Das Buch beschreibt die Prinzipien des Refactorings anschaulich anhand eines einführenden Beispiels. Danach wird in Form eines Katalogs auf ca. 70 getestete Refactorings eingegangen. Der Code ist in Java geschrieben, die zugrunde liegenden Prinzipien sind auf alle objektorientierten Sprachen übertragbar. Deutsche Übersetzung von Prof. Dr. Bernd Kahlbrandt.
Seminar
GFU Cyrus AG Taubenholzweg 1
51105 Köln-Deutz Tel: (0221) 82809-0 Fax: (0221) 82809-50
EMail:
Vorstand: Hagen Cyrus, Karsten Kiesel Vorsitzender des Aufsichtsrats: Peter Hecker Gerichtsstand Köln,
HRB 60463, UST-Ident-Nr. DE 122 654 743