alin19 Posted November 25, 2008 Share Posted November 25, 2008 i have created a php script that has a large number of line; and i was thinking to optimeze it a little by using some objects; wright now i have 2 objects created, one that handles files and one mysql database, but i would like to create 2 more; and in those 2 objects that i will create to use the other 2 that i already have; would this make my script run slower? Quote Link to comment https://forums.phpfreaks.com/topic/134193-php-and-objects/ Share on other sites More sharing options...
JonnoTheDev Posted November 25, 2008 Share Posted November 25, 2008 OO design is generally more resource hungry than procedural but there are reasons for using OO as oppose to procedural. They are reusability and extendability where large procedural programs suffer from a lack of the two. Quote Link to comment https://forums.phpfreaks.com/topic/134193-php-and-objects/#findComment-698692 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.