Jump to content

To Oops Or Not To Oops.


Shadowslip

Recommended Posts

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

:)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...