[mythtv] MythWeb Skinning (Was: Re: mythweb screenshot)
Chris Petersen
lists at forevermore.net
Mon Jun 9 09:43:29 EDT 2003
> In looking at the MythWeb code lately, I was curious if it might not be
> worth the time to separate the html code into class functions and put the
> class files into ./skin/{skinname} directories.
Not sure what you mean by class files, but basically, I've split the
code up (primarily) into backend and display files. the display-related
files are stored pretty much how you say - ./themes/theme-name/ - the
other stuff is still being organized.
Right now, the theme/skin files are just snippets - things I include
when I need a particular piece to be displayed (the filesystem cache
should avoid any overhead from calling files multiple times). If you
can think of a better way to do this (I guess an object would be doable
- hadn't really thought of doing it that way), please let me know what
you're thinking.
-Chris
More information about the mythtv-dev
mailing list