Spaghetti Code


Posted on 16th Feb 2014 07:03 pm by admin

So.

Did you know?Explore Trending and Topic pages for more stories like this.
I've pretty much reached the point where I have so many isset s on one page that I can't tell what the page is supposed to do. In other words: spaghetti code. I just read a few tutorials on OOP, i.e. using classes and such, but is it worth is to re write the entire code with classes, or should I switch to some sort of framework, or should I just keep on going with my tangled ball of death? I'd like to be able to switch to OOP, but I don't really know how to program the thing. Is there a place where someone can help me map out my program so I don't end up like this?
No comments posted yet

Your Answer:

Login to answer
284 Like 7 Dislike
Previous forums Next forums
Other forums

How to implement HTTP connection timeout
Hi All,I would like to implement an HTTP connection timeout.

I am working on a application wh

php/mysql problem
Hey all,

Problem: im trying to setup a shop where people can use a drop-down list to select t

how to validate date using javascript
I need to validate date in textbox using javascript..
The date is must be not greater than TODAY

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

text box alphanumeric caracters only
hi all!

I have search on google on how to enter in a test box only caracters A-Z,a-z,0-9 usi

File upload issues
Hi Guys,

Can anyone see any issues with this code:
Code: $setImage= 'productimages/' . dat

Displaying an image using echo command
I had done a query on my database, one of the fields being an image reference to a directory where a

Had a simple form script that suddenly stopped working
It was made about a year ago and had been working fine. Last time it was known to work for sure was

Credit card verification
I have a client who wants to process credit card transactions from his web site rather than the goin

error help - Dynamic Image
I've been working on making my site less cluttered in the directories and more secure lately. In an

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash