Sure, I'm trying to keep on top of things as much as possible right
now between Pylons and TG2. I don't mean to trump up what I'm
personally trying to work on too much, but the minfication stuff I've
been trying to help a developer integrate into WebHelpers are, by far,
one of the niftiest features I've had of WebHelpers. I'm trying to
research the possibilities of turning CSS images into a single sprite
image with css offsets for a day and half now on Ben Bangert's
recommendation, so we'll see how that turns out. If you google
'MinificationWebHelpers' you'll see what I mean, but right now in my
TG2 projects I do this in my templates:

                        ${ h.stylesheet_link_tag('blueprint/src/reset.css',
                                                                         
'blueprint/src/typography.css',
                                                                         
'blueprint/src/grid.css',
                                                                         
'blueprint/src/forms.css',
                                                                         
'blueprint/plugins/css-classes/css-classes.css',
                                                                         
'screen.css',
                                                                         
minified=True, combined=True, media="screen, projection") }

...and during development they remain unminified, allowing Firebug to
help me during debugging, but during production all 6 of those css
files are minfied and served as one file.

Incredibly useful.

But, yes, I'll try to keep this list updated.

On Sat, Apr 5, 2008 at 9:30 PM, Mark Ramm <[EMAIL PROTECTED]> wrote:
>
>  >  I understand the WebHelpers issue. I'm actually helping at the moment
>  >  to port some js/css/image minification features.
>
>  In that case, want to help us out by 1) letting us know when
>  WebHelpers is ready for use in TG2, and 2) letting us know anything
>  that might need to be done by the TG2 team to make WebHelper
>  integration make more sense.
>
>  I really think the minification stuff is valuable, as are things like
>  the code for HTML escaping.   The WebHelpers rewrite has made it
>  *much* more interesting to me.
>
>  I've been talking a bit with Ben Bangert and Mike Orr about the url
>  function.   TG2 has a url function that works pretty much the way that
>  WebHelpers url.static works, and I'm hoping that they move url.static
>  to the __call__ since that would make the TG url function redundant.
>  If not we'll probably just alias h.url.static as url in tg2 and be
>  done with it. ;)
>
>  --Mark Ramm
>
>
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to