Re: Problem?

From: Date: Fri, 13 Apr 2001 02:42:24 +0000
Subject: Re: Problem?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48396@lists.php.net to get a copy of this message
Nothing keeping you from doing it, but it can occasionally be a pain to have everything on just one page without using includes. I like to take all my function declarations and stick them in another file (if it's database related I stick it in the database file, or authorization related goes in the auth file, etc). Then you just include them at the top of pages where you'll need them. It really speeds up your scripts because code that won't be used right then isn't evaluated at all. But if you want to, say, have a 500 page test script on one page, you could probably best do it by using includes. Makes it more readable and faster too, if you aren't going to spit out the whole thing at once. -- Plutarck Should be working on something... ...but forgot what it was. "Wee Chua" <Chua@mail.interclean.com> wrote in message news:0F9D3D919AADD211BE7E00A0C99B84202D16CD@mail.interclean.com... > Hi all, > I have a question that can I do my dynamic web application in one page > without any other hyperlink page if I have all the classes needed to run the > dynamic web application? Are there any Pros and Cons for running application > on one page? The application is mainly used for ERP. Thank you. > > Calvin Chua > Systems Analyst > InterClean Equipment, Inc. > 734-975-2967 > www.InterClean.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#48396) next »