Hello all,
Thought I would share my story in the hope that it might help people out in future projects.
I am currently a student doing my last year at University (anyone got spare change?). Anyway... I have a big project to do for my final year and I decided to do a project using PHP. I figured that I have a good understanding of the language so there should be no problems.
I spent a little bit of time on the design of the database and how I wanted it to look. I should have spent a lot more time on this design.
As I dived into coding I found myself staying up for hours just typing away making it all work. I've not got a fair bit done and to be honest it is working just fine.
Only problem is the code is a mess and I have no idea what my weird and wonderful variables are doing!
After struggling with a particular problem I've decided to strip it apart and go for some good old Object Orientate Design. This is easier said than done. I'm looking at my pages of code wondering what exactly it does! Well to be more precise I know what it does but not how it does it.
Take my advice and no doubt the advice of many others. Design it from the start and not as you go along. It'll save you major headaches for the future.
I feel I must apologise to those in the community who keep preaching about design and standards. I should have listened.
No point in learning the easy way I suppose.
Wish me luck on the redesign! :queasy: