[wp-hackers] $single

Hadley Wickham h.wickham at auckland.ac.nz
Wed Jun 16 05:56:07 UTC 2004


> I'd rather have one 'page_type' variable than a bunch of binary variables.

I'd second this.

It would also be nice to tease apart the code that parses the request 
uri from the code that loads the posts from the database and displays 
them.

This would make it easy (for example) to create a page which listed the 
titles of posts in a given category, without having to copy and paste 
swathes of code.  It would also make it easier to cache posts.

Or is there currently a better way to do this?

Hadley



More information about the hackers mailing list