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

  • SEARCH
  • Home
  • 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 6863867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:50:24+00:00 2026-05-27T02:50:24+00:00

Doctrine 2 integration into ZF seems to make simple things very hard and time

  • 0

Doctrine 2 integration into ZF seems to make simple things very hard and time consuming(At least for me).

I cant just give a submitted form array to doctrine to automatically map key/value pairs to doctrine entities and it gets very complicated if i have a many-to-many entity and submitted form has nested array.

In symfony, submitted form keys/values are easily and AUTOMATICALLY mapped and saved to doctrine tables. I don’t know how to do that in ZF especially if I have “Many to Many” and/or “Many to One” doctrine entities and I have **nested form elements which need multi-level iteration.

I don’t want to Set every entity explicitly and create every entity object manually**.
Pain would be alot less if i used ZF`s native database architecture.

I have done some coding and now its done half-automatically but is not very useful.

  • 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-05-27T02:50:25+00:00Added an answer on May 27, 2026 at 2:50 am

    I think the best solution is to use PHP’s Reflection API to inject/retrieve values from your entities (using smart get/set detection as well). I started a little library called ObjectSerializer to help with the process but never finished. That said, if you look at the logic contained in these two classes you might get a good idea where to start.

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

Sidebar

Related Questions

I have some troubles with Doctrine integration into ZF. After simple redirect $this->redirector->setGotoSimple(asd); Doctrine
After working hard in my ZF/Doctrine integration I'm having a problem translating my previous
at the moment im integrating ORM (doctrine) into a MVC framework (codeigniter). then it
Does doctrine 2 support some kind of select into-syntax? In pure MySQL it would
We are using Doctrine 2 for a new project and have run into an
I'm using DynamicGuys doctrine2 integration into zend framework(https://github.com/dynamicguy/zf1doctrine2). It works, but if i want
Addendum Doctrine 2 Annotations Can you give me any reason one is better than
I'm using Doctrine ODM and trying to make a custom mapping type but I'm
I had doctrine and ORM working very well together. Then I removed three rows
With doctrine if you execute this code $columns = $accountTable->getColumns(); foreach ($columns as $column)

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.