Jump to content

PHP Classes?


Zie

Recommended Posts

Is it necessary to use classes for scripts people will be accessing by a website? I am making something where people will be able to post information (like a mini-forums I guess you could say). I have never used classes, but I see a lot of forums and other php scripts (like stats script for games, scripts for blogs like wordpress, etc) use classes. Only reason I can think of them using classes is for efficiency? I was also thinking that maybe the page wouldn't be dynamic for every user (like, for my script, many people are logged in). So like would variables in my script be messed up if many people were using the site at one time without my script being composed of classes?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...