SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    professional quality open source examples

    I am wondering if there are any open source examples of good PHP design? Seems that every man and his dog can code basic PHP, so now there is a lot of open source PHP code which is not very high quality.

    I was wondering if anyone knew any examples of particularly good quality coding which I could use to learn good practices?

  2. #2
    SitePoint Evangelist AlienDev's Avatar
    Join Date
    Feb 2007
    Location
    UK
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    VB, the wiki that wikipedia uses (forget its name).

    What do you mean by 'good quality' coding? Classes and stuff?
    Me on StackOverflow | Blog & personal website.

    I mostly use: PHP, Java, JavaScript, Android.

  3. #3
    SitePoint Wizard wheeler's Avatar
    Join Date
    Mar 2006
    Location
    Gold Coast, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wordpress would have to be amongst the highest regarded open source php applications, and also the wiki thing (mediawiki?) mentioned above must be pretty good (although I haven't seen the code before).

    No doubt there are others - most popular applications are strengthened by their popularity, but i'm sure studying those two will be more than enough to look at.
    Studiotime - Time Management for Web Developers
    to-do's, messages, invoicing, reporting - 30 day free trial!
    Thomas Multimedia Web Development

  4. #4
    SitePoint Evangelist praetor's Avatar
    Join Date
    Aug 2005
    Posts
    479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Worpress is a mess. It's an example of low quality, hacked up together php application. The fact that is popular is irrelevant code wise.

  5. #5
    An average geek earl-grey's Avatar
    Join Date
    Mar 2005
    Location
    Ukraine
    Posts
    1,403
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by praetor View Post
    Worpress is a mess. It's an example of low quality, hacked up together php application. The fact that is popular is irrelevant code wise.
    Out of the most popular applications, it's far not the worst. At least, it implements Observer pattern, which allows to write plugins without modifying core code.

    Quote Originally Posted by AlienDev
    VB, the wiki that wikipedia uses (forget its name).
    I'd say the opposite.

    I can't think of any application right now, but I'd recommend you to check out CakePHP and PRADO frameworks code bases.

  6. #6
    SitePoint Wizard wheeler's Avatar
    Join Date
    Mar 2006
    Location
    Gold Coast, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by praetor View Post
    Worpress is a mess. It's an example of low quality, hacked up together php application. The fact that is popular is irrelevant code wise.
    it might be a bit of a mess (although constantly improving), but you can't really compete with the combined brains of well... everyone and anyone (in a controlled environment). The core code is very strong IMO.

    The plugins and theming is well above anything else i've ever seen.
    Last edited by wheeler; Jun 25, 2007 at 17:37.
    Studiotime - Time Management for Web Developers
    to-do's, messages, invoicing, reporting - 30 day free trial!
    Thomas Multimedia Web Development

  7. #7
    SitePoint Wizard stereofrog's Avatar
    Join Date
    Apr 2004
    Location
    germany
    Posts
    4,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are some very good programmers tools in php: wact, cake, simpletest etc, but most end-user applications are a total nightmare. Ironically, in php world, the more popular an app is, the worse is its quality.

  8. #8
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys, those frameworks look like they could be quite helpful in creating better code, even their websites have a much more professional feel. I'll have a look too at those apps you guys mentioned.

  9. #9
    An average geek earl-grey's Avatar
    Join Date
    Mar 2005
    Location
    Ukraine
    Posts
    1,403
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Reminded, check out Vanilla


Bookmarks

Posting Permissions

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