At 08:09 15/09/2010, Stas Malyshev wrote:
Phpdocs aren't "user documentation" only, not for a long time (I
mean the concept, not the particular application called
phpDocumentor, of course). They are being used as metadata in many
places. You could argue that's misguided but you can't ignore the
Hi!
I think we have the main issue here, it has absolutely nothing to do
with users documentation, as phpdoc does. Yes, they both somehow
> 'document' something but still totally unrelated for the goals and
> usages. To understand that would help to move forward.
Phpdocs aren't "user documenta
Hi!
class User {
[NotNull]
[Integer]
public $id;
[NotNull]
[Regexp('/[a-z]*/i')]
[MinLength(2)]
[MaxLength(255)]
public $name;
[NotNull]
[Zipcode]
public $zipcode;
}
I'm not sure I understand - why can't you use normal data structure to
Am 14.09.2010 22:12, schrieb Stas Malyshev:
> I think we _already_ have metadata in PHP, albeit done through
> phpdocs. So the question is kind of moot :) We should see if it's
> enough for us or we want to add/change/extend it and if so, how.
>
Hi,
in my mind there is a big mistake when using a
hi,
On Tue, Sep 14, 2010 at 10:12 PM, Stas Malyshev wrote:
> I think we _already_ have metadata in PHP, albeit done through phpdocs. So
> the question is kind of moot :) We should see if it's enough for us or we
> want to add/change/extend it and if so, how.
I think we have the main issue here,
Hi!
Last year, I attended to a conference where you (Stas) told that the
best way to do a feature request/proposal was by writing a RFC and a
patch even if the patch is not perfect. The current implementation may
not be perfect but it was never said it was a final one. This is a
proposal of a fi
Hi,
Last year, I attended to a conference where you (Stas) told that the best
way to do a feature request/proposal was by writing a RFC and a patch even
if the patch is not perfect. The current implementation may not be perfect
but it was never said it was a final one. This is a proposal of a firs
hi Stas,
On Tue, Sep 14, 2010 at 9:01 PM, Stas Malyshev wrote:
> Of course not. It couldn't be that your opponents know what they are talking
> about, otherwise they'd agree with you :) Come on. Usefullness of
> annotations in Java (where they are very different, as the language is) or
> C# (whi
Hi!
There are plenty of use cases for that. The main problem I see is that
nobody seems to have actually used them in other languages, and then
Of course not. It couldn't be that your opponents know what they are
talking about, otherwise they'd agree with you :) Come on. Usefullness
of annot
On Tue, Sep 14, 2010 at 7:25 PM, Nate Abele wrote:
> > > At 17:51 13/09/2010, Gustavo Lopes wrote:
> > >> On Mon, 13 Sep 2010 16:28:47 +0100, Zeev Suraski
> wrote:
> > >>
> > >>> At 16:39 13/09/2010, Pierre Joye wrote:
> > You are not serioulsy suggesting to use phpdoc for runtime
> annotat
hi,
On Tue, Sep 14, 2010 at 8:30 PM, Jonathan Bond-Caron wrote:
> On Tue Sep 14 01:25 PM, Nate Abele wrote:
>>
>> Sorry, but I don't see how this is even remotely close to being
>> appropriate for PHP. Maybe I'm missing something. :-)
>>
>
> I agree, the use cases are just not there
There are pl
On Tue Sep 14 01:25 PM, Nate Abele wrote:
>
> Sorry, but I don't see how this is even remotely close to being
> appropriate for PHP. Maybe I'm missing something. :-)
>
I agree, the use cases are just not there
Though maybe some form of "annotations" could be useful in php as a
"pluggable type"
> > At 17:51 13/09/2010, Gustavo Lopes wrote:
> >> On Mon, 13 Sep 2010 16:28:47 +0100, Zeev Suraski wrote:
> >>
> >>> At 16:39 13/09/2010, Pierre Joye wrote:
> You are not serioulsy suggesting to use phpdoc for runtime annotation
> support? Are you?
> >>>
> >>> I actually am (either that
13 matches
Mail list logo