[wp-hackers] Theme structure

Alan Baljeu alanbaljeu at yahoo.com
Sat Jun 14 16:05:25 GMT 2008

On Wed, Jun 11, 2008 at 12:19 PM, Alan Baljeu <alanbaljeu at yahoo.com> wrote:
>> How much can a not-totally-stupid editor attempt to understand the structure of a document?  What are the gotchas to watch out for?

Andy replied:
> The main gotcha is that to "understand" a system of G complexity, you
> have to write your system with at least G+1 complexity. Gödel, etc.
> :-)

That's only if you intend a total system.  The editor I'm contemplating needs only to understand the structure of PHP files, and not their meaning.  This means it should be a good deal less complex than the PHP interpreter.  To make things easier for myself, I don't even intend the editor to fully parse PHP/XHTML.  Just enough to cover the basic templates.

> Also, one of our GSoC projects last year:
> http://wordpress-soc-2007.googlecode.com/svn/trunk/zooplah/trunk/renard/

That project looks like a good reference point for what to cover.

Looking for the perfect gift? Give the gift of Flickr! 


More information about the wp-hackers mailing list