Model Centric PHP Web Framework [message #175828] |
Fri, 28 October 2011 14:21 |
Ilias Lazaridis
Messages: 3 Registered: October 2011
Karma: 0
|
Junior Member |
|
|
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
|
|
|
|
Re: Model Centric PHP Web Framework [message #175859 is a reply to message #175858] |
Tue, 01 November 2011 12:38 |
Ilias Lazaridis
Messages: 3 Registered: October 2011
Karma: 0
|
Junior Member |
|
|
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/integ rating-...
>
> - instruction for zend framework:http://stackoverflow.com/questions/5001488/zend-framework-1-11-wi th-d...
>
> etc.
--
http://lazaridis.com
|
|
|
Re: Model Centric PHP Web Framework [message #175868 is a reply to message #175859] |
Wed, 02 November 2011 07:59 |
Goran
Messages: 38 Registered: January 2011
Karma: 0
|
Member |
|
|
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.).
|
|
|
Re: Model Centric PHP Web Framework [message #175881 is a reply to message #175868] |
Thu, 03 November 2011 22:38 |
Ilias Lazaridis
Messages: 3 Registered: October 2011
Karma: 0
|
Junior Member |
|
|
On 2 Νοέ, 09:59, Goran <go...@nospam.com> wrote:
> 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.).
Right, thanks for your feedback!
..
--
http://lazaridis.com
|
|
|