Login | Register
My pages Projects Community openCollabNet

propel
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author Bert-Jan <info@bert-jan.com>
Full name Bert-Jan <info@bert-jan.com>
Date 2007-11-16 02:34:57 PST
Message > Hi Hans,
>
> Hans Lellelid wrote:
>>
>> Yeah, I think this is what Symfony is doing w/ Propel. I believe they
>> have extended the builder classes to wrap the various methods to fire
>> pre/post events. They call this "mixins" (I guess it's a bit AOP
>> like). You may wish to start from their implementation. I'm open to
>> us including a version of this directly in Propel too (maybe ability
>> to enable/disable the code would be nice too). I think it's a useful
>> idea.
>>
>> Hans
>>
>> --------------------​--------------------​--------------------​---------
>> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
>> For additional commands, e-mail: dev-help at propel dot tigris dot org
>>
>>
>
> I'll check out the symfony code, though I know they're still at propel
> 1.2 and despite many user request can't seem to even get a beta or
> unstable version with 1.3 running (afaik) so I'm not hoping for much.
> You're right, it's very much AOP. I just know a whole lot more web
> developers familiar with the concept of events (from javascript) than
> AOP, so I choose to name it events. I'll definitely make an option to
> completely disable the code.
> Currently, I except that I'll start with completely refactoring the om
> builder classes so that a function no longer add a complete function to
> the om class, but instead multiple functions will do this (I'll check
> out symfony first though and maybe they used a solution that I can
> borrow). First function will open the function, second will add the body
> and a third will close the function. Are the test units for the om
> classes complete? Does performing the test just involve building the
> bookstore project and running the tests?
>
> Ron
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
> For additional commands, e-mail: dev-help at propel dot tigris dot org
>
>

There is a 1.3 beta plugin for symfony at
http://trac.symfony-​project.com/wiki/sfP​ropel13Plugin and I have it
running perfectly for the project I'm building. The only things missing
are query logging and support for the 'encoding' parameter in
databases.yml. The author of the plugin told me he'll look into the
encoding parameter (simply running 'set names $encoding' is sufficient)
but the query logging issue is the main problem that's keeping 1.3 in
beta.