Heya!

Just to make it clear, BjyAuthorize doesn't provide any standard table
names by default... All configs are opt-in.

Yes, modules may become incompatible if they are not configurable, but
that's up to the developers to sort out.

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 11 July 2013 18:15, [email protected]
<[email protected]>wrote:

> 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
>
>
>

Reply via email to