Hi Dirk,

On Sat, 2006-08-19 at 21:17 +0200, [EMAIL PROTECTED] wrote:
> Hi all,
> 
> I read a lot of the threads about modularity apps, AJAX support in django and 
> why not, secure context_processors and so on.
> 
> I made today 3 libraries from lot of sources I found out there in the web:
> 
> Common Library task:
> libs.common.context_processors.media_url
> libs.common.context_processors.css_url
> libs.common.context_processors.js_url
> libs.common.context_processors.img_url
> libs.common.templatetags: yes_no_icon_url, javascript_import
> libs.common.middleware.CurrentUserMiddleware
> 
> TinyMCE WYSIWYG integration for admin-app TextFields:
> libs.tinymce.admin_js + media files
> 
> Mochikit usage within django template and a search_result-view:
> libs.mochikit.context_processors.mochikit_url
> libs.mochikit.views.search_results
> libs.mochikit.templatetags: include_mochikit_script, mochikit_imports
> + media files
> 
> If something is kind of interest for others I would publish those libs 
> somewhere on the web or maybe in the django-wiki ?

Nice. :-)

We currently have http://code.djangoproject.com/wiki/CookBook in the
Wiki, which seems to be accumulating contributed apps as well. That
might be a place to drop in a page that describes these modules and
download location.

A couple of thoughts from just reading over your description: if it's
possible to package these without the libs/ prefix, that would provide
the person using them with more flexibility over where these things get
installed. It seems like a somewhat arbitrary constraint at the moment
that could be removed without harming functionality (maybe; again, I
haven't seen your setup at all). Also, for something like mochikit and
tinymce, you might want to choose a directory name that isn't exactly
the same as the product you are wrapping, to avoid confusion when
reading the code.

These are the cases where we are going to start to learn what works and
doesn't for app distribution. I've been wondering if/when we are going
to end up with something like Java's prefixes (com.pointy_stick.my_app,
etc). Hopefully never, since the directory structure is always pretty
unusable outside of IDEs, but the land-grab is now on for the cool app
names. :-)

Cheers,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to