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

email form (cannot find the problem)
Hello there. I've been having trouble with an email form. Can't find the problem really. I've tested

Form always sends to error page...
Hello,
Any help will be greatly appreciated. I am having trouble getting multiple fields to be re

Need to write a cookie with a url var
Not sure if its possible, but I need to write a cookie with a url.

So this would write 2232 a

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

I am working on a application wh

Disable html within defined tags
I have a mysql database that allows users to enter content with html, but I also want to have a tag

PHP SUBMIT
Code: <input name="doLogin" type="image" src="images/loginsubmit.jpg

Is there a more efficient way to code this than what I have?
I have three associative arrays.

$combinedSettings
$userSettings
$defaultSettings

Please Help my PHP Dating Function.
Hi everyone!

Well here is my code that displays this:

It works wonderful.


How to return to a previous page after running a PHP script
I'm having a bit of a melt down here because I think this should be really easy but can't work it ou

Looking for help reading a .txt or .ini file and outputting the info.
I have a file called Info.ini and It has the following info:
Code: [General]
Online=0
I wou

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