Its easier to use what you know i think
For instance, if i tried to do an OOP app with all the defines and $this->$somethin[post]
I would most likely make it unsecure, so like, use what you know how to use.
Printable View
Its easier to use what you know i think
For instance, if i tried to do an OOP app with all the defines and $this->$somethin[post]
I would most likely make it unsecure, so like, use what you know how to use.
When I'm doing personal development, I prefer to use procedural. However, I do find that the maintenance, reuseability, and the 'neatness' of OOP are great for large scale projects.
I would, however, like to get fully into OO PHP, in preparation for other full scale OO languages, such as C++.
OOP, means u get good code reuseabilty (saveing time, effort and makeing stuff more efficent), localises problems, aka if u have an error in a bit of code, u only have to fix it once in the code, not every time its called.
So oop has advantages :)
Ohh, should I continue learning normal PHP or OOP?
And if so where is a good place to learn?
I'm converting an application I recently created to OOP code. It's neater, I guess, but practically the same as normal code...
OOP is generally a must-know if you want to learn programming in languages such as Java.
I dissagree. Using OOP once you know PHP can be quite difficult as you have to forget the way you've organised your code for a long time.Quote:
I agree, but there is know point jumping in at the deep end when your still wearing arm bands my friend.
If you learn how to use OOP from the beginning it will be MUCH easier in the long run.