Re: Put all class in one file or different files

From: Date: Sun, 29 Aug 2010 05:57:05 +0000
Subject: Re: Put all class in one file or different files
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-307735@lists.php.net to get a copy of this message
On 08/29/2010 01:06 PM, Josh Kehn wrote:
On Aug 29, 2010, at 12:56 AM, Haulyn Jason wrote:
Hi, all: I have many classes, from Java I have to put a class in one java files, in PHP I know I can put all of them in one file, but this make my class files too large, is there any best practice to guide these basic? Thanks. -- Thanks! VVThumb Microproduction Location:Room 807,QiLuRuanJianDaSha Qilu Software Park
         No. 1 Shunhua Rd High-Tech Development Zone
         Jinan, China 250101
Website: http://www.haulynjason.net/haulyn Mobile: +86 15854103759 Haulyn Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
     
Your question is clear as mud, can you clarify at all? Regards, -Josh ____________________________________ Joshua Kehn | Josh.Kehn@gmail.com http://joshuakehn.com Sorry, I mean:
In php project, I am using OOp feature, I want to know, which way the following is better. 1, write a new class, create a new file. 2. write all class in one php file. Thanks. -- Thanks! VVThumb Microproduction Location:Room 807,QiLuRuanJianDaSha Qilu Software Park No. 1 Shunhua Rd High-Tech Development Zone Jinan, China 250101 Website: http://www.haulynjason.net/haulyn Mobile: +86 15854103759 Haulyn Jason

« previous php.general (#307735) next »