Hi Larry,

For existent project examples and usage, here are 2 links of the
upcoming versions of Doctrine 2 and Symfony 2:

http://www.doctrine-project.org/projects/orm/2.0/docs/reference/basic-mapping/en#introduction-to-docblock-annotations
http://docs.symfony-reloaded.org/guides/validator.html

Please understand that Roman, Benjamin, Jonathan and I wrote this
Annotation parser for Doctrine, which was reused by Bernhard on
Symfony.
So I have clean understanding of the issue we have on hands and every
single point that it is required to address. That's why I wrote the
RFC.

Yesterday night a couple of people joined on #php.pecl and discussed a
possible new implementation.
I'll write what was discussed and probably some sample code.

Cheers,

On Thu, Nov 18, 2010 at 3:16 AM, Larry Garfield <la...@garfieldtech.com> wrote:
> On Wednesday, November 17, 2010 5:56:05 am Ferenc Kovacs wrote:
>> On Wed, Nov 17, 2010 at 12:54 PM, Ferenc Kovacs <i...@tyrael.hu> wrote:
>> > On Wed, Nov 17, 2010 at 11:58 AM, Arvids Godjuks
>> > <arvids.godj...@gmail.com
>> >
>> > > wrote:
>> >> Hello Internals!
>> >>
>> >> For me, as a user-land developer, this issue seems as if some people
>> >> are trying to push the annotations at any cost. What they fail to see,
>> >> is that annotations are never described what they are and how they can
>> >> be useful in our developer work. Right now I, and I think many other
>> >> user-land developers, just fail to see what the annotations are
>> >> without any meaningful example.
>
> *snip*
>
>> On the other hand: it seems that more examples about the usage wouldn't
>> hurt in the RFC...
>>
>> Tyrael
>
> I have to agree with this sentiment in particular.  As I've not worked in a
> language with formal annotations, I still don't grok the use case.
>
> To those supporting some form of syntactic annotations (whatever the syntax),
> can you please explain, simply and preferably with examples, what I could do
> with such syntax that I cannot do now in user-space, and/or what I could do
> better/faster/cheaper with such tools than what I can do now in user-space?
>
> I think that's the missing piece here: The practical ever-day example of how
> *my* code would get better because of annotations.
>
> --Larry Garfield
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
Guilherme Blanco
Mobile: +55 (16) 9215-8480
MSN: guilhermebla...@hotmail.com
São Paulo - SP/Brazil

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to