eBooks-it.org Logo
eBooks-IT.org Inner Image

Pro PHP Refactoring

Pro PHP Refactoring Image

Book Details:

Publisher:Apress
Series: Apress
Author:Francesco Trucchia
Edition:1
ISBN-10:1430227273
ISBN-13:9781430227274
Pages:360
Published:Jul 07 2010
Posted:Nov 19 2014
Language:English
Book format:PDF
Book size:3.84 MB

Book Description:

Many businesses and organizations depend on older high-value PHP software that risks abandonment because it is impossible to maintain. The reasons for this may be that the software is not well designed; there is only one developer (the one who created the system) who can develop it because he didnt use common design patterns and documentation; or the code is procedural, not object-oriented. With this book, youll learn to identify problem code and refactor it to create more effective applications using test-driven design. What youll learn What refactoring is and why you need to refactor code What test-driven design is and why you need to test your code How to write unit and functional tests with PHPUnit and Selenium Remote Control (RC) How to detect bad smells in PHP code, and refactor them using test-driven design How to refactor a large procedural application affected by many bad smells Who this book is for This book is for PHP developers, businesses, and developers relying on legacy PHP apps. Table of Contents Introduction Finding Bad Smells in Code Introduction to Refactoring Principles and Rules Test-First Development Refactoring Tools Structuring Behavior Changing Class Responsibilities Dealing with Data Rationalization Reducing to Essential Conditional Executions Simplifying Method Calls Simplifying Generalization Relationships Legacy Code Regression Tests Refactoring with Patterns

Download Link:

Related Books:

Pro PHP and jQuery

Pro PHP and jQuery Image
This book is for intermediate programmers interested in building Ajax web applications using jQuery and PHP. Along with teaching some advanced PHP techniques, it willshow you how to take your dynamic applications to the next level by adding a JavaScript layer with jQuery. Learn to utilize built-in PHP functions to build calendar tools. Learn how jQuery can be used for Ajax, animation, client-side validation, and more. What youll learn How to use PHP to build a calendar application that allows users to post, view, edit, and delete events How to use jQuery to allow the calendar app to be viewed and edited without requiring page refreshes using built-in Ajax functions The power and versatility of PHP's object-oriented programming style The variou...

Pro PHP

Patterns, Frameworks, Testing and More
Pro PHP Image
Taking care to focus solely on those topics that will have the most impact on experienced PHP developers, Pro PHP is written for readers seeking to take their understanding of both PHP and sound software development practices to the next level. Advanced objectoriented features, documentation, debugging, software patterns, and the Standard PHP Library are just a few of the topics covered in extensive detail. Author and noted PHP expert Kevin McArthur also examines emerging practices and trends such as the MVC architecture as applied to PHP, with special emphasis placed upon the increasingly popular Zend Framework. With Ajax and web services crucial to the success of today's web applications, the book concludes with several chapters covering JSON, the ...

Pro PHP Programming

Pro PHP Programming Image
If you are a web programmer, you need to know modern PHP. This book presents with many new areas in which PHP plays a large role. If you want to write a mobile application using geo-location data, Pro PHP Programming will show you how. Additionally, if you need to make sure that you can write a multilingual indexing application using Sphinx, this book will help you avoid the pitfalls. Of course, Pro PHP Programming gives a thorough survey of PHP post-5.3. You'll begin by working throughan informative survey and clear guide to object-oriented PHP. Then, you'll be set for the core of the book on modern PHP applications. Now, you'll be able to start with the chapter on PHP for mobile programming and move on to sampling social media applications. You'll...



2007 - 2021 © eBooks-IT.org