php - Legacy refactoring from procedural to OOP -


I found a site that is written in PHP, a completely formal method of doing things Currently, this extension is not easy and I want to refurbish the entire codebase. However, I'm not sure about how to actually go about it. I had never had to do such a refactor before and did not want to completely break it.

I am mainly confused about workflow.

I do not have any common workflow address for this, but you have to think about it:

  • Which framework is to be used (unless you have never used a framework and you do not have time and your current site is very simple or you can get it for educational reasons For: Do not prepare your own OOP structure )

  • Anyone to break A: No one test site and test everything anyway, you will break everything at some point - but nobody should see it.

  • Use potential papers, pen and plans


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -