One Django installation maps 1-1 into a project. A project can contain
many reusable apps. All the apps in the project share one config file
and the database connections defined there.

One web2py installation can contain many apps (what web2py calls an
app is what django calls a project) and different apps share nothing
by default. A reusable subset of a web2py app is what we call a web2py
plugin. (loosely speaking a web2py plugin is a Django reusable app).

The difference is not just in the terminology. In one web2py instance
you can run as many apps as you like even if they contain different
conflicting version of the same modules. In Django you need distinct
projects, i.e.distinct instances. Web2py plugins are less structured
than Django reusable apps. It is a relatively new concept and there is
not many of them. For example Django+Pinax is loosely equivalent to
web2py+plugin_wiki.

Massimo

On Aug 9, 9:06 am, Gour-Gadadhara Dasa <g...@atmarama.net> wrote:
> On Tue, 9 Aug 2011 05:55:45 -0700 (PDT)
> Ross Peoples <ross.peop...@gmail.com>
> wrote:
>
> > I don't know anything about Django's reusable apps. I assume it means
> > that you can package an application up and give it to someone as a
> > plugin or appliance or something similar.
>
> "A reusable Django app, is an app that is easily plugged into a project,
> providing a very specific piece of functionality. They should be focused and
> follow the Unix philosophy of "Do one thing and do it well." 
> (fromhttp://ericholscher.com/projects/django-conventions/app/)
>
> > If that's the case, then web2py already provides this. You can package apps
> > and plugins into w2p files for distribution from the admin interface.
>
> I know about that, but wonder whether reusable app in web2py dictionary means
> app, plugin component or something in between?
>
> Sincerely,
> Gour
>
> --
> “In the material world, conceptions of good and bad are
> all mental speculations…” (Sri Caitanya Mahaprabhu)
>
> http://atmarama.net| Hlapicina (Croatia) | GPG: 52B5C810
>
>  signature.asc
> < 1KViewDownload

Reply via email to