Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
8 replies Latest Post - ‏2012-12-19T17:42:44Z by SystemAdmin
SystemAdmin
SystemAdmin
13339 Posts
ACCEPTED ANSWER

Pinned topic 136377

‏2009-12-19T18:05:43Z |
136377
Updated on 2012-12-19T17:42:44Z at 2012-12-19T17:42:44Z by SystemAdmin
  • JLQ
    JLQ
    1 Post
    ACCEPTED ANSWER

    test

    ‏2009-12-19T18:05:44Z  in response to SystemAdmin
    Thank you very much, Mr. Jack D Herrington, you're a genius:)
    This article is for me very useful, and as you say, "this is not just for architects java space":)
    thanks for the article and I look forward to more contributions for PHP.
    many greetings from Peru.
  • SystemAdmin
    SystemAdmin
    13339 Posts
    ACCEPTED ANSWER

    test

    ‏2010-05-28T10:06:10Z  in response to SystemAdmin
    Thank you, this article has usefull information.
  • codebirth
    codebirth
    1 Post
    ACCEPTED ANSWER

    test

    ‏2010-10-28T10:08:07Z  in response to SystemAdmin
    Very interesting article, thank you very much.
  • stamari
    stamari
    2 Posts
    ACCEPTED ANSWER

    test

    ‏2012-01-18T08:06:08Z  in response to SystemAdmin
    This was such a well written article, thank you so much :)
  • stamari
    stamari
    2 Posts
    ACCEPTED ANSWER

    test

    ‏2012-01-18T10:53:43Z  in response to SystemAdmin
    I don't understand why in the factory example the User class implements the IUser interface. If the factory class is the only one that creates the object, and it can create different types of objects, then why do the objects need to implement an interface?
  • therejustis
    therejustis
    1 Post
    ACCEPTED ANSWER

    test

    ‏2012-01-25T18:46:35Z  in response to SystemAdmin
    Many thanks, a very useful introduction to design patterns!
  • selvam4win
    selvam4win
    1 Post
    ACCEPTED ANSWER

    test

    ‏2012-05-08T07:24:15Z  in response to SystemAdmin
    very useful
  • SystemAdmin
    SystemAdmin
    13339 Posts
    ACCEPTED ANSWER

    test

    ‏2012-12-19T17:42:44Z  in response to SystemAdmin
    I love how PHP was chosen for implementing these design patterns. The only issue that is stopping me from sending people i talk to this way for learning them is they are not shown in a "practical sense". I attempted to cover the Factory Pattern the other day in a more practical sense by using a Content Moderation Queue as the example. For those wanting to see a more practical take on using the Factory Pattern you can read it here: http://www.coderprofile.com/coder/VBAssassin/blog/2/practical-use-of-the-factory-pattern-polymorphism-and-interfaces-in-php