Thanks for the links Nicola
django-chunks is for storing one-off content blocks in the DB, then
placing them in templates via the chunks templatetag. It's definitely
related, since it follows the same "provide globally, place at
runtime" workflow that I'm interested in (coming from Drupal, where
that is the norm, and where the builtin "boxes" features of
block.module serves the same purpose as chunks). I use chunks for
allowing content editors to update template text and I think it's
great.
I was referred to django-modular by James iirc earlier, and it seems
right up the same alley as Drupal's hugely powerful Panels [1] module.
My goal is actually to implement panels for Django, although first it
is important to abstract out an API for providing reusable components
which is as general and simple as possible. That's one place where
Panels needs alot of refactoring (although to be fair Earl developed
it as a sort of clean-room remixing of the core drupal component apis,
not a small task) and perhaps django modular too (although I haven't
played with it yet, since it's not 1.0 updated). After all, not
everyone wants a DnD My Yahoo clone; some of us just want a way to
reuse parts of other people's apps without having to write a bunch of
redundant glue code.
I'll check out modular, and see if there is a good api in there to be
abstracted out. For bling, jQuery's Layout demo [2] looks nice (it's
really similar to Panels' content tab, while panels also includes a
simple layout editor)
[1]
http://drupal.org/project/panels
[2]
http://ui.jquery.com/repository/real-world/layout/
On Oct 15, 11:30 pm, Nicola Larosa <
nicola.lar...@gmail.com> wrote:
> Eric Drechsel wrote:
> > django-app-plugins seems interesting. It allows the admin to place
> > app-supplied plugins through the admin? Is it possible for the
> > plugins to be passed context form the containing view? This is a
> > limitation in Drupal's blocks system (most blocks guess context by
> > looking at urls and other globals)
>
> In Django this is usually done with template tags, which may get the
> template context.
>
> I did not try them, but in addition to django-app-plugins, I know of thwo
> other projects doing something similar:
>
>
http://code.google.com/p/django-chunks/
>
>
http://code.google.com/p/django-modular/
>
> --
> Nicola Larosa -
http://www.tekNico.net/