Why not use a well-known template engine to separate the code from the design?
For example, smarty templates..
http://www.smarty.net/
I like this software, but it's hard to customize its look and feel ;)
Anonymous
Good idea, but hard work and it would increase the code size.
=> Maybe one day, when ".phar" will be a common feature, including libraries will be easier.