Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [propel-dev] Query counting

propel
Discussion topic

Back to topic list

Re: [propel-dev] Query counting

Reply

Author Pedram Nimreezi <zenstyle at gmail dot com>
Full name Pedram Nimreezi <zenstyle at gmail dot com>
Date 2007-07-19 18:21:13 PDT
Message > >
> > anyway I think refactoring propel into a php extension is the
futureproof
> > solution.

> this sounds like something that might work. what about actually
> extending PDO for this?

  that works...

> Whilst we are at it, how about a mapping configuration so you don't
> have to touch the classes/objects you want to persist in the db?

  I never do, in fact any object I generate (like Document.php
DocumentPeer.php)
  which you're supposedly cool to edit. I leave be... I want a fully
abstracted model.
  so Im never going to make it impure by putting regular hand typed code
into it...
  I think the whole point is to automate the M.. the model layer.. the layer
in which
  any bug is likely to cause data corruption. So XML -> Data Objects and
that's it.
  This is why I think propel lends itself to web frameworks because the
separated
  controller is a good place to wire these generated db objects together,
simply
  set foreign dependency with the </foreign tag and the save and validate
inherits the
  proper methods to deal with an abstraction of the database table. keep the
table
  names not pluralized, lower cased with underscores and you're well
abstracted.

> I like a domain model that isn't fully aware of all the dependencies to
> whatever persistence engine is used.

  and with that, that's exactly what you'll get.

> AOP maybe? Ups another 'buzzword' :-)

  not really...not anymore than OCaml ;)


peace,...Pedram
Attachments

« Previous message in topic | 30 of 36 | Next message in topic »

Messages

Show all messages in topic

                                                             Re: [propel-dev] Query counting Christian Kassab <chris dot kassab at gmail dot com> Christian Kassab <chris dot kassab at gmail dot com> 2007-07-19 07:25:22 PDT
                                                                 Re: [propel-dev] Query counting hlellelid Hans Lellelid 2007-07-19 08:56:10 PDT
                                                                 Re: [propel-dev] Query counting Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-07-19 11:22:04 PDT
                                                                     Re: [propel-dev] Query counting Christian Kassab <chris dot kassab at gmail dot com> Christian Kassab <chris dot kassab at gmail dot com> 2007-07-19 13:41:31 PDT
                                                                         Re: [propel-dev] Query counting Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-07-19 18:21:13 PDT
                                                                 Re: [propel-dev] Query counting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-07-19 13:36:08 PDT
                                                             Re: [propel-dev] Query counting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-07-19 13:32:38 PDT
                                                         Re: [propel-dev] Query counting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-07-19 13:30:30 PDT
         Re: [propel-dev] translation cysio Krzysio 2007-12-27 02:11:27 PST
             Re: [propel-dev] translation hlellelid Hans Lellelid 2007-12-27 04:07:50 PST
                 Re: [propel-dev] translation cysio Krzysio 2007-12-27 04:27:41 PST
Page: of 2 « Previous | Next »
Messages per page: