Why class files are required in PHP? -


I have noticed that almost all PHP scripts include a class file. I do not understand that as a newbie Why it is necessary and instead of writing scripts on one page What is the concept behind it, can anyone explain it clearly?

Management For a big project, do you have 500 small files, each has a class , And which can be edited and can change individually, or a massive 50 meg script that contains everything?

Comments