Quantcast
Channel: PHPDeveloper.org
Browsing all 29 articles
Browse latest View live

PHPMaster.com: Practical Code Refactoring, Part 3 - Extensibility

PHPMaster.com has posted the third part in their "Practical Code Refactoring" series - this time with a focus on Extensibility. (Part 1, Part 2). Extensible code is a piece of code which follows...

View Article



PHPMaster.com: Practical Code Refactoring, Part 4 - Efficiency

PHPMaster.com has posted the latest in their "Practical Code Refactoring" series , this time with a focus on efficiency and how you can refactor your code to help it perform better both in processing...

View Article

Oscar Merida: Smelly PHP code

Oscar Merida has written up a sort of continuation to this series from Adam Culp about clean code, one that shares more tips on knowing when to refctor. Adam Culp posted the 3rd article in his Clean...

View Article

Adam Culp: Clean Development Series: Part 4, Rewrite dilemma

Adam Culp has published the fourth part of his "Clean Code" series to his site today (see more about parts 1-3 here) with a look at the "Rewrite Dilema" - whether it's more productive to just rewrite...

View Article

PHPMaster.com: The Single Responsibility Principle

On PHPMaster.com today Alejandro Gervasio has a new tutorial posted about the Single Responsibility Principle - a guideline that states that each class should only have one "area of concern" and not...

View Article


Keith Casey: Refactor vs Rebuild: New Years make New Beginnings

Keith Casey has an interesting new post to his site looking at a common dilema among development groups - whether refactor or rewrite is a better option for the state of the current codebase when it...

View Article

Brandon Savage: When To Write Bad Code

Brandon Savage has posted some of his thoughts on when it's okay to write bad code in your development lifecycle: I've been there myself. I recently needed to prototype something. As I sat down to...

View Article

Andrew Podner: Rock On, Refactor, or Re-roll?

In his latest post Andrew Podnet looks at a common situation for developers during one project or another. It's the struggle whether to "rock on" and keep developing a project as it's planned,...

View Article


PHPMaster.com: Preventing Code Rot 101: Unit Testing

On PHPMaster.com today they've published a new article from Remi Woler about preventing "code rot" in your applications through the use of unit testing. He advocates that tests, when applied...

View Article


Andrew Podner: Make it Testable-No Matter how Painful it is

In a new post Andrew Podner recommends that, as you're doing your day to day development, you try your hardest to create testable code, no matter how painful it is. I look at the situation we have...

View Article

DZone.com: Practical PHP Refactoring: Encapsulate Downcast (and Wrapping)

On DZone.com Giorgio Sironi has posted a refactoring recommendation around the handling of the data and types in your PHP code. He suggests the move from just a simple variable to a Value Object...

View Article

KillerPHP.com: What is Refactoring PHP Code?

If you're relatively new to programming, there's a term you might have heard floating around but not really understood - "refactoring". If you're interested in learning more about it and want a gentle...

View Article

Allan MacGregor: Design Patterns in PHP: Using Factories

Allan MacGregor has a recent post to his site looking at another design pattern (previously he discussed dependency injection), this time it's the use of factories. The factory pattern is one of the...

View Article


NetTuts.com: Refactoring Legacy Code: Part 1 - The Golden Master

NetTuts.com has kicked off a new series of posts looking to help you get a handle on that big pile of legacy code you're having to work with. In part one of their "Refactoring Legacy Code" series they...

View Article

NetTuts.com: Refactoring Legacy Code: Part 3 - Complex Conditionals

The NetTuts.com site has posted the third part of their series sharing some tips for refactoring the code in a legacy application. In part one they looked at the "Golden Master" and in part two about...

View Article


Matthias Noback: Inject a repository instead of an entity manager

Matthias Noback has made a recommendation in his latest post about using a repository rather than an entity manager in your classes to inject dependencies. It appears that I didn't make myself clear...

View Article

NetTuts.com: Refactoring Legacy Code: Part 4 - Our First Unit Tests

NetTuts.com has posted the fourth part of their series guiding you through some recommended steps for refactoring legacy code. In this new post they build on the previous steps and focus more on the...

View Article


NetTuts.com: Refactoring Legacy Code: Part 5 - Game's Testable Methods

NetTuts.com continues on with their next part of their refactoring series today in this new post focusing on (unit) testing more of the application. This includes both the code for the tests and the...

View Article

Paul Jones: Refactoring To Action-Domain-Responder

Paul Jones has a new post to his site today with a more in-depth look at his proposed "Action-Domain-Responder" design pattern and how to refactor an application, based on some with with the Aura...

View Article

Matthias Noback: Symfony2: How to create framework independent controllers?

Matthias Noback has a new post to his site today, the first part of a series, looking at making framework-independent controllers for use in a Symfony2 framework-based project. The general belief is...

View Article
Browsing all 29 articles
Browse latest View live




Latest Images