Hello guys,
Is there Database, Table and Column Naming Conventions for ZF2 modules?
As a proof of a concept we try to build a simple system using only the available
ZF2 modules from <
http://modules.zendframework.com/> .
This is my composer.json:
{
"name": "zendframework/skeleton-application",
"description": "Skeleton Application for ZF2",
"license": "BSD-3-Clause",
"keywords": [
"framework",
"zf2"
],
"homepage": "
http://framework.zend.com/",
"minimum-stability": "alpha",
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": ">2.2.0rc1",
"doctrine/doctrine-orm-module": "0.7.*",
"zf-commons/zfc-user": "0.1.*",
"zf-commons/zfc-user-doctrine-orm": "0.1.*",
"bjyoungblood/bjy-authorize": "1.2.*",
"manuakasam/sam-user": "dev-master",
"cdli/CdliTwoStageSignup": "dev-master"
}
}
We are planning to add a CMS as well:
- <
http://www.ejoom.com/libra-zend-framework-2-cms>
- <
http://got-cms.com/>
What we try to achieve is to build a simple system like one build with
WordPress. I should be able to log in as administrator and manage posts.
But different modules use different table names for the same Entities.
ZfcUser -> table name "user" - singular
BjyAuthorize -> for the same table "users" - plural
For the names of the fields we have similar problem.
At one point the modules will not be compatible.
I think we will need some kind of Database, Table and Column Naming Conventions
for ZF2 modules.
Is this the appropriate place to raise this question?
Best Regards
Stoyan Cheresharov
Free your mind! You can fly!