Hi, I'm looking for a good book on PHP design patterns for a OOP beginner - Reccommendations please

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • macca

    #1

    Hi, I'm looking for a good book on PHP design patterns for a OOP beginner - Reccommendations please

    Hi, I'm looking for a good book on PHP design patterns for a OOP
    beginner - Reccommendation s please?

    Thanks

    Paul

  • Willem Bogaerts

    #2
    Re: Hi, I'm looking for a good book on PHP design patterns for aOOP beginner - Reccommendation s please

    Hi, I'm looking for a good book on PHP design patterns for a OOP
    beginner - Reccommendation s please?
    Design patterns in PHP are rarely different from the ones in java or
    most other object-oriented languages. The main difference lies in the
    fact that PHP is usually used for web sites and must deal with the
    stateless nature of http traffic.

    Personally, I do not value design patterns that high. Most patterns
    emerge from code. Off course, it does not harm to learn from others, but
    a pattern is not a goal in itself.
    If you are an OOP beginner, I can recommend "Refactorin g" by Martin
    Fowler. Not about patterns, but it does add to the feel of object
    orientation.

    Best regards,
    --
    Willem Bogaerts

    Application smith
    Kratz B.V.

    Comment

    • macca

      #3
      Re: Hi, I'm looking for a good book on PHP design patterns for a OOP beginner - Reccommendation s please

      Thanks,

      Anybody else?

      Comment

      • Jerry Stuckle

        #4
        Re: Hi, I'm looking for a good book on PHP design patterns for aOOP beginner - Reccommendation s please

        Willem Bogaerts wrote:
        >Hi, I'm looking for a good book on PHP design patterns for a OOP
        >beginner - Reccommendation s please?
        >
        Design patterns in PHP are rarely different from the ones in java or
        most other object-oriented languages. The main difference lies in the
        fact that PHP is usually used for web sites and must deal with the
        stateless nature of http traffic.
        >
        Personally, I do not value design patterns that high. Most patterns
        emerge from code. Off course, it does not harm to learn from others, but
        a pattern is not a goal in itself.
        If you are an OOP beginner, I can recommend "Refactorin g" by Martin
        Fowler. Not about patterns, but it does add to the feel of object
        orientation.
        >
        Best regards,
        William,

        I disagree completely. You can "code and go" on small projects, but
        throw together 50 programmers for a two year project and it falls apart.
        You need to have a design up front. And even small projects benefit
        from a good design being (at least mostly) completed before the first
        line of code is written.

        The design is the road map to the goal. The code is the transportation.
        And the code is the final product.

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        • Jerry Stuckle

          #5
          Re: Hi, I'm looking for a good book on PHP design patterns for aOOP beginner - Reccommendation s please

          macca wrote:
          Hi, I'm looking for a good book on PHP design patterns for a OOP
          beginner - Reccommendation s please?
          >
          Thanks
          >
          Paul
          >
          Paul,

          Hmmm, wish I could recommend anything really good. But I haven't looked
          for quite a while, and the ones I used previously can be hard to
          understand for a beginner.

          But I agree with William - a good OO design is independent of the
          implementation language (at least until you get to the lowest levels).
          So don't get hung up on the language;l rather it's the OO concepts which
          are important.

          --
          =============== ===
          Remove the "x" from my email address
          Jerry Stuckle
          JDS Computer Training Corp.
          jstucklex@attgl obal.net
          =============== ===

          Comment

          • ELINTPimp

            #6
            Re: Hi, I'm looking for a good book on PHP design patterns for a OOP beginner - Reccommendation s please

            On Jul 14, 10:06 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
            macca wrote:
            Hi, I'm looking for a good book on PHP design patterns for a OOP
            beginner - Reccommendation s please?
            >
            Thanks
            >
            Paul
            >
            Paul,
            >
            Hmmm, wish I could recommend anything really good. But I haven't looked
            for quite a while, and the ones I used previously can be hard to
            understand for a beginner.
            >
            But I agree with William - a good OO design is independent of the
            implementation language (at least until you get to the lowest levels).
            So don't get hung up on the language;l rather it's the OO concepts which
            are important.
            >
            --
            =============== ===
            Remove the "x" from my email address
            Jerry Stuckle
            JDS Computer Training Corp.
            jstuck...@attgl obal.net
            =============== ===
            Paul,

            I'm a new-ish programmer myself, currently feeling the need to dive
            head-first into design patterns as well. Quite honestly, I don't know
            how I managed without OOP and maintained my (and others) code before
            it. I work with a couple other PHP guys that work purely procedural
            code...and it's maddening. So...you're doing right. =)

            I agree with William and Jerry, design patterns are a way of thinking
            about a problem and using tried and true practices to aid in coming to
            a concise, maintainable and universally understandable solution. I
            thought "PHP 5 Objects, Patterns, and Practice" by Matt Zandstra was a
            good beginner OOP/Design Pattern PHP-based book. In fact, he bases
            his patterns off "Design Patterns: Elements of Reusable Object-
            Oriented Software", a must-read after you get a good foundation from
            the first book. Some of my next books I want to read are "The
            Pragmatic Programmer" and "Code Complete", both highly regarded.

            Hope this helps!

            Steve

            Comment

            Working...