Jump to content

question about rewriting a website


asmon

Recommended Posts

I have a website I built for someone a while ago but i used bad coding techniques.

I used a class called display and a class called action

each page is a 'display' method, and each action (form submit) is an 'action' class method.

 

it's bad because the page is pretty long therefore it takes time to find the method i was looking for.

also, the HTML and PHP are combined so i echo all my HTML within the method.

 

My question is, should i just leave it as it is or i rather just rewrite the whole thing?

Link to comment
https://forums.phpfreaks.com/topic/183575-question-about-rewriting-a-website/
Share on other sites

My question is, should i just leave it as it is or i rather just rewrite the whole thing?

Only if you will be constantly adding additional features. If it works as it is and requires no additional functionality then just leave it and learn from your mistakes.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.