Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50265 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21457 invoked from network); 16 Nov 2010 19:27:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2010 19:27:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:56567] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/25-25421-53BD2EC4 for ; Tue, 16 Nov 2010 14:27:49 -0500 Received: by ywh2 with SMTP id 2so660229ywh.29 for ; Tue, 16 Nov 2010 11:27:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=y4t57UKFuBb6XCHBTRGNiUnNYIFmuP8ZgKH3MHnlN0E=; b=jvG/OntnVcXLMgHBlfBKdDXrktO7YgtnnGWAX85yx//drP7dyTj5MC6bS7MV0mYt0p oQws+ptz+LSFg3Hh4zPOG7JtvnEQu45R9guV6lQHn6P1oTEFk9dJ76GAnbUjsDT/bxvU 1STlYe5vQ7ZzWnxgeFBTUYNGeonqbU3Sk/9lk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=AEAor1CuOyJIB2R8tqtfsZRt5lBD1i+rckf+RiVYwZkybjp16gx+ndB6J5LAOykUSF NrQHpVC5T2mNLw2WVA4CSsaCvGC5Bd3lIeyWl1Ch5OFPyv1OMN5UY2E2sp6YDOq9DZ28 Wjkl3y7VbJ0As6IiQTJng0Sf0gYS5rgZXrAJ8= MIME-Version: 1.0 Received: by 10.90.25.13 with SMTP id 13mr10225204agy.33.1289935667144; Tue, 16 Nov 2010 11:27:47 -0800 (PST) Sender: tyra3l@gmail.com Received: by 10.90.53.4 with HTTP; Tue, 16 Nov 2010 11:27:46 -0800 (PST) In-Reply-To: References: <4CE28F49.9000700@toolpark.com> Date: Tue, 16 Nov 2010 20:27:46 +0100 X-Google-Sender-Auth: bFZfgEz_bFxWqlAMRUOm_p4bA78 Message-ID: To: Chad Fulton Cc: "guilhermeblanco@gmail.com" , Lars Schultz , PHP internals Content-Type: multipart/alternative; boundary=00163630f5fb392fd00495308d93 Subject: Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion From: info@tyrael.hu (Ferenc Kovacs) --00163630f5fb392fd00495308d93 Content-Type: text/plain; charset=UTF-8 On Tue, Nov 16, 2010 at 6:55 PM, Chad Fulton wrote: > I understand where you're coming from, and I appreciate the effort > you've put into this RFC so far, but what I meant is that (although I > don't have karma and won't be voting), *if* I were to vote, I would > only +1 annotations if they were extremely limited (key=>value pairs). > if that what you want, you should vote +1 for the annotations, or open a new vote for extending the reflection api to allow getting invidual docblock tags, or just write a wrapper for the ReflectionProperty::getDocComment. > That's why implementation matters to me - I see the benefit of simple > meta-data retrieval but not an extensive syntax addition to the > language. > thats a question about the implementation. vote for that in the next round. > > I also think that's why you see people suggesting docblock, because > what it already offers is similar to this key=>value metadata > retrieval using the @tag syntax. currently there is very little support for the docblock in the php core itself, as I mentioned you can only get a whole block through reflection, and I don't really know, how that got into the language. :) > Really, people are saying they favor > some meta-data retrieval but not the complicated annotations that you > want. > so it seems, that some kind of metadata storing, retrival mechanism is wanted, thats good to hear. Tyrael --00163630f5fb392fd00495308d93--