Created
November 28, 2008 13:56
-
-
Save marcusramberg/29989 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We are using L<Template::Toolkit> via L<Catalyst::View::TT> to render most | |
of our HTML. L<Bizmo::View::TT> Is the default view, and adds a wrapper | |
(root/wrapper.tt) to any template processed through it. In order to render | |
templates without the wrapper, set $c->stash->{current_view} to 'TT::Bare'. | |
Separation of concerns is an important principle inside the view as well as | |
between the various components in the application. That means that all | |
javascript code goes into root/static/js/bizmo.js . We are currently using | |
the jQuery framework, which easily lets us apply unobtrusive javascript | |
functionality to the HTML. Likewise, all style goes into | |
root/static/css/style.css. We are also using a reset.css function which sets | |
all the browsers into a similar 0-styled format before configuring the actual | |
styling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment