Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [propel-dev] roadmap

propel
Discussion topic

Back to topic list

Re: [propel-dev] roadmap

Reply

Author hlellelid
Full name Hans Lellelid
Date 2006-03-28 09:24:14 PST
Message David Z├╝lke wrote:
>>> Adding the pages sounds good to me. The only concern I have (which I
>>> can mention in comments on wiki too) is that certain methods (temporal
>>> methods) take additional parameters -- which might present a problem
>>> __call/__get/__set, unless we just standardize on an API that does not
>>> support these. Just something to discuss.
>>
>> No problem IMHO, call_user_func_array() is our friend.
>
> Wait a minute, you were talking about the other way round, right? No
> problem either, __call gets an array of params anyway...!?

Yeah, the problem doesn't really apply to __call(), you're right. More
for __get()/__set():

Current API:

print "Date is " . $obj->getDateValue("Y-m-d");

Desired API (as I understand it):

print "Date is " . date("Y-m-d", $obj->dateValue);

... so basically we wouldn't be able to support the date formatting
parameter. Probably not a big deal, but a difference from current system.

Hans

« Previous message in topic | 5 of 14 | Next message in topic »

Messages

Show all messages in topic

RE: [propel-dev] roadmap Soenke Ruempler <ruempler at topconcepts dot com> Soenke Ruempler <ruempler at topconcepts dot com> 2006-03-28 07:22:41 PST
     Re: [propel-dev] roadmap hlellelid Hans Lellelid 2006-03-28 07:28:05 PST
         Re: [propel-dev] roadmap =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2006-03-28 08:15:03 PST
             Re: [propel-dev] roadmap =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2006-03-28 08:18:18 PST
                 Re: [propel-dev] roadmap hlellelid Hans Lellelid 2006-03-28 09:24:14 PST
                     Re: [propel-dev] roadmap =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2006-03-28 09:35:18 PST
                         Re: [propel-dev] roadmap hlellelid Hans Lellelid 2006-03-28 09:39:47 PST
             Re: [propel-dev] roadmap hlellelid Hans Lellelid 2006-03-28 09:25:10 PST
         Re: [propel-dev] roadmap Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-03-28 12:29:31 PST
             Re: [propel-dev] roadmap hlellelid Hans Lellelid 2006-03-28 12:43:57 PST
                 Re: [propel-dev] roadmap =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2006-03-28 16:07:17 PST
             Re: [propel-dev] roadmap Oliver Schonrock <oliver dot schonrock at realtsp dot com> Oliver Schonrock <oliver dot schonrock at realtsp dot com> 2006-03-28 15:09:45 PST
                 Re: [propel-dev] roadmap Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-03-28 15:47:22 PST
             Re: [propel-dev] roadmap =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2006-03-28 16:03:39 PST
Messages per page: