Re: bad form...

From: Date: Wed, 20 Jun 2001 18:58:52 +0000
Subject: Re: bad form...
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-54589@lists.php.net to get a copy of this message
Dallas K. wrote: > On a previous shopping cart, some of our "fantastically complex" > scripts got so big that WE couldn't follow the logic.... too many > conditional test, things started to conflict.... it was hell... so we > found that it was better to break the processing code apart from the > html..... but build one file that includes all needed files into one > to simulate the "One-file-one-form" approach..... this made all our > lives easier..... JMT. But you don't have to split the code up into several files. Seperation of code and design is a nice thing, good code structure is another, but they don't require the code to be split up into several files (the Design is often put into a seperate template, but this is not the topic). It can be done this way, but there are other ways, some of them using a single file. regards Wagner -- Little Boy: "Mr. President, how did you become a war hero?" President Kennedy: "It was absolutely involuntary. They sank my boat."

« previous php.general (#54589) next »