asmon Posted December 1, 2009 Share Posted December 1, 2009 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? Quote Link to comment https://forums.phpfreaks.com/topic/183575-question-about-rewriting-a-website/ Share on other sites More sharing options...
sawade Posted December 1, 2009 Share Posted December 1, 2009 I would ask the person I made the site for. Quote Link to comment https://forums.phpfreaks.com/topic/183575-question-about-rewriting-a-website/#findComment-969040 Share on other sites More sharing options...
JonnoTheDev Posted December 1, 2009 Share Posted December 1, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/183575-question-about-rewriting-a-website/#findComment-969060 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.