For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > October 2007 > Re: [PHP-DOC] Re: New skeletons









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DOC] Re: New skeletons
Hannes Magnusson

2007-10-31, 7:03 pm

On Oct 31, 2007 6:11 PM, Edward Z. Yang <edwardzyang@thewritingpot.com> wrote:
> Hannes Magnusson wrote:
>
> One of the great things about XSLT is that it makes things like this
> specifically possible. I don't see why not.


The problem isn't implementing it, the problem is the duplicated
function/method listing that I fear may confuse people.


>
> I understand XSLT has somewhat deficient string comparison facilities,
> but what if the class name was omitted if it was equal to the current
> class definition?


We are ditching xslt in favor of the new PHP based rendering system
(see the top news entry on php.net :)), called PhD, which uses 3% of
the time the xslt rendering takes...

But I really don't like these kind of rendering hacks, we should
rather fix it at the markup level if at all possible (which I don't
think it is :().
I also think it may be confusing for people needing to check if there
is a comment above the method to know if its an inherited one (and
from which class) or not.

-Hannes
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com