On Sat, Sep 6, 2008 at 11:47 AM, Owen Winkler <[EMAIL PROTECTED]> wrote:

> How does this idea sound?  (That last implementation might be tricky.)

I like this idea, if it is used only where needed. Strings that do not
require manipulation should not be doing this. eg. there is no need to
create an object for the string ' by '.

... [reverse snip] ...
> You may be familiar with Habari's syntax of $post->content_out for
> filtering the content of a post upon output.  Using the String class
> would let us make this look a bit more logical:
>
> echo $post->content->out;  // for a whole post, autop filtered on out

Seems like a lot of overhead, creating new string objects for every
field, just to apply filters. But it does look more logical. :)

-- 
Matt Read
http://mattread.com

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to