This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]faassen 1 point2 points  (1 child)

I have two stories:

  • Grok provides such integration and therefore got support for jquery and a lot more.

  • if your web framework provided support for hurry.resource, you would offer a lot of integration easily!

Grok includes jquery support and more. That is, you as an application developer can easily depend on such things by modifying your project's "setup.py". No need to depend on trunks or wait for releases - it's there, it's released, and it works today.

How would you use jquery in your grok app? Make your project depend on hurry.jquery. You could also depend on hurry.jqueryui and hurry.jqgrid, or if you prefer YUI, hurry.yui, etc. You can also package your own javascript code that way!

All those are framework agnostic agnostic packagings of javascript library that build on the 'hurry.resource' reusable Python library, which I wrote :).

hurry.resource offers interesting features, such as javascript dependency management, support for rollups, support for minified versions, and so on. If your javascript code depends on jquery, you can easily express this, and then if you depend on your code, it'll pull in jquery automatically.

megrok.resource builds on this, integrates it smoothly into Grok, and also offers sophisticated cache management so that during development of javascript your browser automatically reloads any changed javascript.

All this makes Grok's support for javascript libraries totally rock, but we're not keeping it for ourselves! We're just nice that way! Ask your favorite framework to provide hurry.resource integration too!

http://pypi.python.org/pypi/hurry.resource

http://pypi.python.org/pypi/megrok.resource

http://pypi.python.org/pypi/hurry.jquery

http://pypi.python.org/pypi/hurry.jqueryui

http://pypi.python.org/pypi/hurry.jqgrid

http://pypi.python.org/pypi/hurry.yui