Jump to content

Class Advantages


FishSword

Recommended Posts

Hiya,

 

I'm still hesitant on starting my project, as I am unsure whether or not to code everything using classes or not. Whilst searching the net for inspiration, I came across this script on Code Canyon.

 

Does this script have to be coded in a class, or can the same results be achieved by simply using functions. What would be the main advantage(s) for coding such a script using classes?

 

This is still something I have difficulty getting my head around.

I would appreciate any body's thoughts on this topic.

 

Thanks,

FishSword

Link to comment
https://forums.phpfreaks.com/topic/220302-class-advantages/
Share on other sites

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.