On Mon, Jun 11, 2012 at 11:31 PM, Mark Huang <[email protected]> wrote:
> I am about to launch a web application soon and I realized I had some
> problems with js and css assets (minimizing and which one to use for
> production and development).  I used to use Minimatic when I was developing
> using Pylons.  I came to learn that Webhelpers is not supported in Pyramid
> and hence, Minimatic, being an extension of webhelpers, doesn't seem to work
> on Pyramid.

Most of WebHelpers works on Pyramid. Only a few helpers that have
Pylons dependencies don't (they're in webhelpers.pylonslib).
webhelpers.paginate and webhelpers.mimehelper have optional Pylons
features that can be bypassed.

The minification helper was dropped due to a licensing issue (its
license wasn't considered free by Fedora). It's available separately
as  http://pypi.python.org/pypi/jsmin/2.0.2 . All other Javascript
helpers were dropped after WebHelpers 0.6.4. I can't imagine what else
Minimatic may be using that's not compatible with Pyramid.

WebHelpers does need some maintenance. The main problem is its
documentation link is broken.  That's because it doesn't seem to have
gotten into the Pyramid docs when pylonshq.com was retired. I use the
docs at a temporary URL,
http://sluggo.scrapping.cc/python/WebHelpers/, but they're also in the
source code. This will be resolved when I have time to work on it
again.

-- 
Mike Orr <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to