GreyBeard Inc.

    
     

Hastymail 2 ideas

avatar
Style, Templates, and presentation

    Some random thoughts about the current state of Hastymails templates as well as presentation ideas:

- I think we should move to xhtml (strict or transitional) from html4 transitional

- Currently "themes" are css files, which is nice. We could have 2 css files, one for structural style, and one for colors and fonts. This way we can move much of the formatting into a css file, but still have color themes by just switching the css.

- Templating will stay the same... almost. Currently creating a new template set for the program is tons of work. The framework code, while similar in principle to Hastymail, borrows from the way Wordpress templates work. By that I mean there are method calls to handle outputting dynamic content from within the template. This is a huge improvement over the massive amount of template code in Hastymail. We can reduce both the number of templates and the complexity of the code in them significantly, but still make it possible for someone with very little knowledge to alter the layout significantly.

- My focus is still simplicity and speed. Keep the page size and includes to a minimum. I think this time around we can use some JS but only if it degrades cleanly and no functionality is lost when using it. 

 

Reply /Quote