CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  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
    Join Date
    May 2002
    Posts
    10,943

    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
    106

    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
  •  





Click Here to Expand Forum to Full Width

Featured