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 1053629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:16:56+00:00 2026-05-16T17:16:56+00:00

I managed to get my Zend modular project working with Doctrine 1.2 according to

  • 0

I managed to get my Zend modular project working with Doctrine 1.2 according to these instructions

http://github.com/beberlei/zf-doctrine and I have one question:

Can I somehow get rid of writing entity names with prefixes Default_Model_ and Forum_Model_?
For example write this prefix only once somewhere in yml and all entities in yml file will have it, or better by placing schema.yml into module folder and the entities will automatically gain the proper prefix by it’s module.

I want to use some tool for designing these entities but I really don’t want to have ugly names Default_Model_User, etc.

Thanks in advance
Martin Srom

  • 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-16T17:16:57+00:00Added an answer on May 16, 2026 at 5:16 pm

    If you don’t like to write complicated names in Doctrine model while using Zend framework, you can try to use ORM Designer. Beside the fact, that you design the whole model visually instead of in text editor, it allows you to define the prefixes for separated modules. In model you work with short names and when exporting, ORM Designer joins the prefix with the name and generates you to schema.yml the name as requested by Zend FW.

    More about this feature is in ORM Designer blog:
    http://blog.orm-designer.com/2010/09/prefixes-for-doctrine-orm-entities-useful-for-doctrine-and-zend-framework/

    ORM Designer site: http://www.orm-designer.com

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

Sidebar

Related Questions

managed to get my xsl working at http://www.xmlper.com/ (great tool good recommendation from other
I just started learning Zend. I managed to get the basic working (using zf
I've managed to get PHPUnit setup with my Zend Framework project using Phing to
I've manage to get jqGrid 3.8 working in my project( Zend Framework ) using
I managed to get some help from a previous question and I have the
I managed to get the YUI calendar widget working fine. But When it displays
I have successfully managed to get System.Speech.Synthesis to read English text in arbitrary voices
My site was working fine until I followed this guide, http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-ubuntu-9.10 to set up
I managed to get it working on Win32 (inheriting from wx.MiniFrame does the trick),
I've started reading on zend framework and it's use with Doctrine and have implemented

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.