Login | Register
My pages Projects Community openCollabNet

Reply to message

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

Original message

Author Roel Vanhout <roel.vanhout@gmail.com>
Full name Roel Vanhout <roel.vanhout@gmail.com>
Date 2006-07-21 09:41:38 PDT
Message No, I'm generating C++ to be used stand-alone. I like the way database
access works with propel/php and I'd like to do the same in my C++
applications. I'll 'port' as much of Propel & Creole to get it to work
for sqlite databases, in standalone C++ applications, and only use php
as 'generator language'.



On 7/21/06, Pedram Nimreezi <zenstyle at gmail dot com> wrote:
> Are you generating c++ classes to be used as php pecl's? I could maybe help
> with that
> targetPlatform could effectively be ignored with Zend Engine Version
> detection in that regard...
> On 7/21/06, Roel Vanhout <roel dot vanhout at gmail dot com> wrote:
> >
> Hi,
> I'm trying to get propel to generate c++ classes. I've progressed
> nicely, but to do things neatly, I need a way to specify which
> OMBuilder to use (I need to override build() and getClassFilePath()).
> However I haven't yet found a way; is there a clean way to specify
> that the factory should instantiate my CPP_OMBuilder and not OMBuilder
> like there is for the other classes (like the other classes can be set
> in the properties file)? If not, would you be willing to make it
> configurable? In that case, I'd like to see that file
> (generator\classes​propel\engine\bui​lder\om\OMBuilder.​php)
> moved to
> the php5/ subdirectoy, so that I could keep all language-specific
> things in a separate directory.
> Also, I noticed the following line in the default.properties:
> propel.targetPlatform = php5
> Can I leverage this to make generating c++ classes easier? What is it
> used for? Thanks.
> cheers,
> roel
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
> For additional commands, e-mail: dev-help at propel dot tigris dot org
> --
> ~
> Pedram Nimreezi -- Senior Engineer
> Major Computing, Inc
> --
> Not by age, but by knowledge is wisdom acquired.