Shadowslip Posted July 27, 2014 Report Share Posted July 27, 2014 Hi everyone. Should OOPS style PHP be used every time or are there specific uses for it? Is it purely down to personal preference? Many older tutorials start with a collection of script libraries. Is that way out of date? I have a bit of experience with Java so I 'get' OOPS methodology and there are a lot of similarities. I actually prefer OOPS. Thanks for the tutorials btw Quote Link to comment Share on other sites More sharing options...
administrator Posted July 28, 2014 Report Share Posted July 28, 2014 Most of the time, yes. Once you really understand OOP and the frameworks that are OOP based, you will always want to use OOP based PHP simply to advantage of the code libraries. If you are build 1-2 page site, then maybe not. It depends on the complexity of the site. Stef Quote Link to comment Share on other sites More sharing options...
Shadowslip Posted July 30, 2014 Author Report Share Posted July 30, 2014 Many thanks. As you say It's probably a good idea to get into the habit. Quote Link to comment 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.
Note: Your post will require moderator approval before it will be visible.