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 tony_bibbs
Full name Tony Bibbs
Date 2008-08-07 12:35:54 PDT
Message Ron,

Will do. I may need to get schooled on how you all unit test all this stuff so I can update the tests to ensure I don't piss anybody off with a half-working commit.

As for doing the commit, I think I still have SVN access from some MySQL fixes I did a year or two ago so I'll give that a try.

--Tony



----- Original Message ----
From: Ron Rademaker <r.rademaker@virt​ualbuilding.nl>
To: dev at propel dot tigris dot org
Sent: Thursday, August 7, 2008 2:42:53 AM
Subject: Re: [propel-dev] 5.3 namespace design

Hi Tony,

Yesterday I merged all 1.3 changes into trunk and started some
experimental development in trunk. So trunk is up to date again. I think
all new features in trunk should be optionally (as least for now) so it
remains a usable version, looks like your setup fits this perfectly.
Adding some namespace support to trunk already (even before php 5.3 is
released) would be great.

It would be much appreciated if you would commit your namespace support
to trunk and write a little bit about how to use it on the wiki
(http://propel.phpdb.​org/trac/wiki/Users/​Documentation/Trunk)​.

Ron

Tony Bibbs wrote:
> Hey, I've just created a bunch of files in our propel/builder/om/php5/ directory that extend many of the Propel ones to make use of a couple of namespace values from the .properties file:
>
> propel.useNamespaces = 1;
> propel.omNamespace = ${propel.project}::Model
> propel.peerNamespace = ${propel.omNamespace}::Peer
>
> I use the above, if useNamespaces is set, to inject something like this from addIncludes():
>
> namespace MyProject::Model::Peer;
>
> This gives me the flexibility of doing builds for pre and post 5.3 versions of PHP. My point in all this is that:
> a) It might help get the creative juices for 5.3 support going on a possible design
> b) it would be nice once you all decide on a design to post it well in advance as we can be moving toward that design in our own applications.
>
> Oh, and not to be too snobbish, I've got some limited time but would be willing to help a bit specifically on getting namespace support in 5.3. Feel free to contact me off list if there is any interest.
>
> --Tony
>
>
>
> ----- Original Message ----
> From: Soenke Ruempler <soenke at ruempler dot eu>
> To: dev at propel dot tigris dot org
> Sent: Wednesday, August 6, 2008 7:20:01 PM
> Subject: Re: [propel-dev] Propel problem with PHP 5.3
>
> Hi Fabien,
>
> Fabien POTENCIER wrote:
>
>
>> I think that the following line:
>>
>> if (substr($fkColumn, '.') > 0 && substr($fkColumn, $fkTable) !== false) {
>>
>> must be
>>
>> if (strpos($fkColumn, '.') > 0 && strpos($fkColumn, $fkTable) !== false) {
>>
>> Without the fix, Propel does not work under PHP 5.3.
>>
>
>
> Yeah, see http://propel.phpdb.​org/trac/ticket/668
>
> should be fixed right now (though I didn't ran unit tests with 5.3 but 5.2).
>
> -soenke
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
> For additional commands, e-mail: dev-help at propel dot tigris dot org
>
>
>


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
For additional commands, e-mail: dev-help at propel dot tigris dot org