Jump to content

splitting function file...


eric1235711

Recommended Posts

hello

I 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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.