Out of curiosity I checked my very largest template in my CMS. 68k and 2181 
lines. I could slice it into smaller pieces but that would introduce 
managability issues. I prefer to have the actions taken by a template within 
that same template (at the top in a switch). Not fragmented into (in this 
case) about 14 sub-templates simply for the sake of keeping the line count 
down.

Sheer size is not an *inherent* detriment to manageability. Disorganization 
is the problem. A cleanly organized template should have no managability 
issues even at this size, other than having to hit PgDn a few more times to 
get to Item A, B or C.

I try to only create includes when code re-use is involved. I can't stand 
having a zillion little files laying around that are only used once and that 
someone split off so they could scroll thru their code easier.

Isaac prefers small files. I prefer centralized ones. We both are smart 
enough to keep code re-use in mind so thats not an issue. 

This is all just personal preference. Neither approach is particularly bad.


-- 
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com <http://mysecretbase.com>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215361
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to