Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Model Centric PHP Web Framework

15 views
Skip to first unread message

Ilias Lazaridis

unread,
Oct 28, 2011, 10:21:48 AM10/28/11
to
I am looking for a php web application framework, and found this
overview here:

http://www.phpframeworks.com/index.php

The overview does not include 2 very important comparison points:

a) "Model Centric".

"Model Centric" means, that the Model (and thus the OO Classes) is the
central point of development, and that the database is *not* a "point
of development" (or only optional if wanted, e.g. when dealing with a
given db-schema).

If I specify my model, I can then create the underlying database using
automations. The same is true for CRUD functionality, which should be
created either dynamically at runtime, or via generators - using the
classes and metadata specified in the model.

An ideal implementation would allow me to continue incrementally,
creating automaticly updates of db-schemas and CRUD's, whilst
preserving data and my custom-changes made to the CRUD's.

b) "Authentication Functionality" (Modules / Components)

Although there is a point "Auth Module" in the comparison mention
above, it does not say which modules are available. I would need
modules for Open Auth Systems (Opent Auth, Open ID) and modules for
popular sites like facebook, twitter, google etc.

-

Several very intresting frameworks are "off-list" (for me), because
the development process is not Model-Centric (seen in tutorials, quick-
starts, manuals).

Can anyone tell me which framework fullfills the requirement "a" and
ideally requirement "b", too) ?

Thank you in advance.

.

--
http://lazaridis.com

Goran

unread,
Oct 31, 2011, 10:29:42 AM10/31/11
to
On 28.10.2011 16:21, Ilias Lazaridis wrote:
> a) "Model Centric".

Any framework with Doctrine 2 support. Probably most of the frameworks
can use D2, you just have to find integration instructions

- symfony 2 already have it

- instructions for codeigniter:
http://www.doctrine-project.org/docs/orm/2.0/en/cookbook/integrating-with-codeigniter.html

- instruction for zend framework:
http://stackoverflow.com/questions/5001488/zend-framework-1-11-with-doctrine-2-integration

etc.

Ilias Lazaridis

unread,
Nov 1, 2011, 8:38:21 AM11/1/11
to
On 31 Οκτ, 16:29, Goran <go...@nospam.com> wrote:
> On 28.10.2011 16:21, Ilias Lazaridis wrote:
>
> > a) "Model Centric".
>
> Any framework with Doctrine 2 support. Probably most of the frameworks
> can use D2, you just have to find integration instructions
>
> - symfony 2 already have it

Very nice, seems this would be th #1 choice for me. The documentation
of Symfony looks very good, too.

I assume that creating a Doctrine based model keeps the model reusable
for the frameworks below (and other frameworks which use Doctrine). Is
this assumption correct?

> - instructions for codeigniter:http://www.doctrine-project.org/docs/orm/2.0/en/cookbook/integrating-...
>
> - instruction for zend framework:http://stackoverflow.com/questions/5001488/zend-framework-1-11-with-d...
>
> etc.

--
http://lazaridis.com

Goran

unread,
Nov 2, 2011, 3:59:40 AM11/2/11
to
On 1.11.2011 13:38, Ilias Lazaridis wrote:
> I assume that creating a Doctrine based model keeps the model reusable
> for the frameworks below (and other frameworks which use Doctrine). Is
> this assumption correct?

Yes that's true. But, if you would like to have an option of easy
framework switch later, maybe it's best not to use symfony specific
logic (putting models inside bundles, etc.).

Ilias Lazaridis

unread,
Nov 3, 2011, 6:38:46 PM11/3/11
to
Right, thanks for your feedback!

.

--
http://lazaridis.com
0 new messages