Code Re-factor


Recently we have made code re-factoring for one of the project. It was a wonderful experience I have ever had, learned interesting pieces of writing code.

How do we define this? OK, Here you go

Refactoring is a disciplined technique/process of changing a project’s/program’s internal structure without modifying its external functional behavior or existing functionality

Things to keep in mind:

  • Understand the flow of whole project.
  • Collect the URL’s for all the modules.
    • Define SEO friendly URLs.
    • Make sure you have reused URLs with multiple modules.
  • Define the controller & models which relates to the URL.
  • Make sure the project is secure.
  • Enhance the use of error handling.
  • Don’t compromise for anything; change the rules if necessary.
  • Follow strict coding-standards.
  • Make sure you have optimized the code at a higher level.
  • See some suggestion/tips on writing OOPS code.

continues….

Code Re-factor

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s