Clarification on INCLUDE()
View Single Post
06-24-2008, 05:10 PM
Join Date: Apr 2008
Location: Tampa, FL
oop isn't really harder than procedural. in fact, i think its easier, in alot of aspects. more organization. idk, just my opinion.
Instead of having to call/include the entire script repeatedly, using a class would only require 1 inclusion, and then you can infinatly call your functions throughout your site. Using something like what drewbee just posted, would be alot more efficent for what you are doing, than the route you are attempting.
IMO helps save on unnessessary page calls, etc... not to mention if you take the time to write out a "framework" so-to-speak of your own, a system of functions, and methods that you use regularly. which would only leave minor additions/edits to your classes, and alows you to do more proceedural stuff.
"Knowledge is power. Abuse it."~Evulness
View Public Profile
Send a private message to Evulness
Visit Evulness's homepage!
Find More Posts by Evulness