Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7849807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:38:45+00:00 2026-06-02T18:38:45+00:00

I was reading the zend framework tutorial by Rob Allen. I am working on

  • 0

I was reading the zend framework tutorial by Rob Allen. I am working on an application that will start small, but I would like it to be scalable, so the following statement got my attention:

“For this tutorial, we are going to create a model that extends Zend_Db_Table and uses
Zend_Db_Table_Row. Zend Framework provides Zend_Db_Table which implements the Table Data
Gateway design pattern to allow for interfacing with data in a database table. Be aware though that the Table
Data Gateway pattern can become limited in larger systems. There is also a temptation to put database
access code into controller action methods as these are exposed by Zend_Db_Table.”

Can anyone tell me how this would be limited for larger systems? What are the alternatives?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:38:46+00:00Added an answer on June 2, 2026 at 6:38 pm

    The alternative is the DataMapper. You have a good explanation of these different patterns here: What is the difference between the Data Mapper, Table Data Gateway (Gateway), Data Access Object (DAO) and Repository patterns?

    DataMapper is less coupled to the database that the Table Data Gateway which is a thin wrapper around a single table.

    Zend_Db in ZF1 has serious limitations. Doctrine2 is a better choice for encapsuling your interaction with the persistence layer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been reading up on multiple PHP frameworks, especially the Zend Framework but
I'm currently working on a build system in Phing that takes a Zend Framework
I am reading zend Framework quick start: There is a function in the Mapper
Reading the section Zend_Application_Resource_Modules in the docs here: http://framework.zend.com/manual/1.10/en/zend.application.available-resources.html I noticed this: You can
I'm reading through the Zend Framework coding standards , where they state that curly
I've got an MVC application written with Zend Framework that pulls data from an
After reading some articles about XSS I have incorporated HTMLPurifier into my zend framework
I'm learning by reading this tutorial: Link Here's the code: <?php require_once 'Zend/Loader.php'; class
i was reading Zend Framework Book: Survive the Deep End about resource methods. it
i am reading zend framework docs on zend view partials If your model is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.