Scaught
08-15-2006, 06:37 PM
Soon I'm going to start coding the initial functions for registration/login for my board system, and I'm unsure on whether or not I should be using objects. Everything I have a hard time doing with objects I could accomplish in minutes with just normal programming. I know one of the reasons I would want to use objects is their ability to help with expansion, but it still doesn't seem like enough to convinve me to learn objects and implement them. From what I understand, I tried making a simple class for registration (http://boards.pealed.org/register.php). That page would be used in conjunction with a registration form.
It would be awesome if one of you who is more experienced could possibly disect my code, and show me what I'm doing that isn't right, or isn't the proper way of doing things. You wouldn't believe how hard it is to find documentation for learning objects in PHP.
Basically my question is, would it be worth it in the long run to learn them (I'm almost positive it is, but you know)?
It would be awesome if one of you who is more experienced could possibly disect my code, and show me what I'm doing that isn't right, or isn't the proper way of doing things. You wouldn't believe how hard it is to find documentation for learning objects in PHP.
Basically my question is, would it be worth it in the long run to learn them (I'm almost positive it is, but you know)?