php-general | 2001062
Date: 06/20/01
- Next message: Miles Thompson: "Re: [PHP] validate phone numbers"
- Previous message: Chris Lee: "Re: [PHP] General Coding Question"
- In reply to: Dallas K.: "Re: [PHP] bad form..."
- Next in thread: scott [gts]: "RE: [PHP] bad form..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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."-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Miles Thompson: "Re: [PHP] validate phone numbers"
- Previous message: Chris Lee: "Re: [PHP] General Coding Question"
- In reply to: Dallas K.: "Re: [PHP] bad form..."
- Next in thread: scott [gts]: "RE: [PHP] bad form..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

