Question about using php object oriented
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Question about using php object oriented

  1. #1
    Join Date
    May 2011
    Posts
    23

    Question about using php object oriented

    I want to build a cms, and i have a question, what benefit i get for using object oriented programming?

    p.s i have created a cms using php, without classes or objects.

  2. #2
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,881

    Re: Question about using php object oriented

    First off, why are you re-inventing the wheel? There are so many free CMSs out there already that have been in development for years. You would waste so many hours do what already exists in many different forms already.

    As for your question about OOP...a simple Google search would have given you plenty of answers.

    http://www.google.com/search?q=benefits+of+oop
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Jun 2011
    Posts
    35

    Re: Question about using php object oriented

    I agree with PeejAvery. The sheer amount of CMSes out there is incredible and you should sure as hell find at least one that suits your needs (Unless this is a school project )

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    105

    Re: Question about using php object oriented

    Just apart from the "getting something that exists" vs "building it yourself" :

    How are you coding without objects and classes, all inline ?
    In that case your code will not be reusable very easy, and you will probably be very vulnerable to sql-injections and other leaking stuff.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center