eric1235711 Posted December 8, 2006 Share Posted December 8, 2006 helloI got a 10,000+ lines function file...I´m thinking about organize them in classes, making them static...Do you think that my program's performance will increase?My server is fast, but there will be a lot of people using it at same time (100+)...thanks... Link to comment https://forums.phpfreaks.com/topic/29950-splitting-function-file/ Share on other sites More sharing options...
utexas_pjm Posted December 8, 2006 Share Posted December 8, 2006 I think you should be ok. I have been a part of many projects where we've used static classes to emulate namespaces to make the code more readable. I believe that class overhead becomes a factor when you start instanciating classes as opposed to calling their methods from a static context. Link to comment https://forums.phpfreaks.com/topic/29950-splitting-function-file/#findComment-137612 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.