RE: [PHP-DEV] On how a little knowledge is completely useless.

2010-09-19 Thread Jonathan Bond-Caron
On Fri Sep 17 03:13 PM, Ralph Schindler wrote: > Inline response: > > On 9/17/10 1:57 PM, Jonathan Bond-Caron wrote: > > On Fri Sep 17 01:06 PM, Guilherme Blanco wrote: > >> > >> Another good example is to map your persistence data into your > >> Entities. Doctrine 2 implements this and I think t

Re: [PHP-DEV] On how a little knowledge is completely useless.

2010-09-17 Thread Ralph Schindler
Inline response: On 9/17/10 1:57 PM, Jonathan Bond-Caron wrote: On Fri Sep 17 01:06 PM, Guilherme Blanco wrote: Another good example is to map your persistence data into your Entities. Doctrine 2 implements this and I think that way you can compare easily with the PHP code alternative. I'd lik

RE: [PHP-DEV] On how a little knowledge is completely useless.

2010-09-17 Thread Jonathan Bond-Caron
On Fri Sep 17 01:06 PM, Guilherme Blanco wrote: > > Another good example is to map your persistence data into your > Entities. Doctrine 2 implements this and I think that way you can > compare easily with the PHP code alternative. I'd like to ask you to > compate the same Entity mapped through

Re: [PHP-DEV] On how a little knowledge is completely useless.

2010-09-17 Thread Ralph Schindler
On 9/17/10 12:49 PM, Stas Malyshev wrote: userspace) 2) adding syntax (probably can't be done in userspace unless somebody thinks of a clever way to do it). I've thought of it, and I guess I'll give it a go, I could make this a proposal if it makes sense to. The idea is to make the Zend En

Re: [PHP-DEV] On how a little knowledge is completely useless.

2010-09-17 Thread Stas Malyshev
Hi! Unless the PHP parser engine can be extended via normal or zend extensions, no, it can't. And pretty useless to have annotations outside the core... I disagree - it would be very useful *if* we could do that. I.e. if we could associate data with classes, functions, etc. without actually

Re: [PHP-DEV] On how a little knowledge is completely useless.

2010-09-17 Thread Guilherme Blanco
Hi Richard, Comments inline On Fri, Sep 17, 2010 at 11:16 AM, Richard Quadling wrote: > On 17 September 2010 14:17, Rafael Dohms wrote: >> On Fri, Sep 17, 2010 at 6:28 AM, Christian Kaps >> wrote: >>> On Fri, 17 Sep 2010 10:02:10 +0100, Richard Quadling >>> wrote: One thing that did come

Re: [PHP-DEV] On how a little knowledge is completely useless.

2010-09-17 Thread Richard Quadling
On 17 September 2010 14:17, Rafael Dohms wrote: > On Fri, Sep 17, 2010 at 6:28 AM, Christian Kaps > wrote: >> On Fri, 17 Sep 2010 10:02:10 +0100, Richard Quadling >> wrote: >>> One thing that did come to mind is if we ignore all the issues and >>> complexities of actually implementing annotation

Re: [PHP-DEV] On how a little knowledge is completely useless.

2010-09-17 Thread Rafael Dohms
On Fri, Sep 17, 2010 at 6:28 AM, Christian Kaps wrote: > On Fri, 17 Sep 2010 10:02:10 +0100, Richard Quadling > wrote: >> One thing that did come to mind is if we ignore all the issues and >> complexities of actually implementing annotations, are annotations >> useful to a significant number of u

Re: [PHP-DEV] On how a little knowledge is completely useless.

2010-09-17 Thread Christian Kaps
On Fri, 17 Sep 2010 10:02:10 +0100, Richard Quadling wrote: > Hello all. > > In trying to follow the annotations threads currently running, I've > come to realise just how little I understand a LOT of what I read > here. > > But, then again, I don't need to, so hurrah for me. I try to follow, >

Re: [PHP-DEV] On how a little knowledge is completely useless.

2010-09-17 Thread Pierre Joye
hi, On Fri, Sep 17, 2010 at 11:02 AM, Richard Quadling wrote: > Is this something that can just be an extension with its own evolution? Unless the PHP parser engine can be extended via normal or zend extensions, no, it can't. And pretty useless to have annotations outside the core... Cheers, -