SitePoint Sponsor

User Tag List

View Poll Results: [ZF] Is it important to learn the Data Mapper pattern?

Voters
3. You may not vote on this poll
  • Yes

    0 0%
  • No

    0 0%
  • Some other answer...

    3 100.00%
Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Enthusiast konsama's Avatar
    Join Date
    Jun 2007
    Location
    Sweden
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [ZF] Is it important to learn the Data Mapper pattern?

    Do you think it's important that I should learn the Data Mapper pattern for ZF like the so called "Quickstart" tutorial describes?
    Or is it mostly for coding gurus I'm just a hobbyist?
    The tutorial's suggested Data Mapper way makes it hard for me to understand how to use SQL.

    http://martinfowler.com/eaaCatalog/dataMapper.html

    http://framework.zend.com/docs/quick...database-table

  2. #2
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,097
    Mentioned
    153 Post(s)
    Tagged
    3 Thread(s)
    In some cases, where the data and relations within the data are very complex it can be very handy.
    In simple cases (a table that defines some texts and images of static pages) I think it is way OTT.
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  3. #3
    SitePoint Enthusiast konsama's Avatar
    Join Date
    Jun 2007
    Location
    Sweden
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks you make my path much clearer now.

  4. #4
    SitePoint Guru risoknop's Avatar
    Join Date
    Feb 2008
    Location
    end($world)
    Posts
    834
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don's use it even with large complex databases but I'm not saying it can't be handy - I'm just not used to it.


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
  •