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.
Auflage
Sprache
Verlagsort
Verlagsgruppe
Zielgruppe
Illustrationen
Maße
Höhe: 23.3 cm
Breite: 18.7 cm
Dicke: 30 mm
Gewicht
ISBN-13
978-0-470-17979-6 (9780470179796)
Schweitzer Klassifikation
Danijel Arsenovski is a software developer from Santiago, Chile. Currently, he works as Product and Solutions Architect at Excelsys S.A, designing Internet banking solutions for numerous clients in the region. He started experimenting with refactoring while overhauling a huge banking system, and he hasn't lost interest in refactoring ever since. He pioneered the use of refactoring as a vehicle for a VB 6 code upgrade to VB.NET. Arsenovski is a contributing author for Visual Studio Magazine and Visual Systems Journal, holds a Microsoft Certified Solution Developer (MCSD) certification, and was named Visual Basic MVP in 2005.
You can reach him at danijel.arsenovski@empoweragile.com, and you can take a look at his blog at http://blog.vbrefactoring.com.
Introduction.
Part I: Introduction to Refactoring.
Chapter 1: Refactoring: What's All the Fuss About?
Chapter 2: A First Taste of Refactoring.
Chapter 3: Assembling a Refactoring Toolkit.
Chapter 4: Rent-a-Wheels Application Prototype.
Part II: Preliminary VB Refactorings.
Chapter 5: Chameleon Language: From Weak Static Typing to Strong Dynamic Typing.
Chapter 6: Error Handling: From Legacy to Structured in a Few Easy Steps.
Chapter 7: Basic Hygiene: Eliminating Dead Code, Reducing Scope, Using Explicit Imports, and Removing Unused References.
Part III: Getting Started with Standard Refactoring Transformations.
Chapter 8: From Problem Domain to Code: Closing the Gap.
Chapter 9: The Method Extraction Remedy for Duplicated Code.
Chapter 10: Method Consolidation and Extraction Techniques.
Part IV: Advanced Refactorings.
Chapter 11: Discovering Objects.
Chapter 12: Advanced Object-Oriented Concepts and Related Refactorings.
Chapter 13: Code Organization on a Large Scale.
Part V: Refactoring Applied.
Chapter 14: Refactoring to Patterns.
Chapter 15: LINQ and Other VB 2008 Enhancements.
Chapter 16: The Future of Legacy VB Code.
Appendix A: Unleash Refactor!
Appendix B: Rent-a-Wheels Prototype Internals and Intricacies.
Index.