I think Christopher and Saber have good points here.  Any application
should be flexible about where its data is stored.  There are many
good potential reasons for wanting to separate the respective
locations of application and data.  The symbolic link solution, while
offering just a little flexibility in this for Linux users, is not
available on pre-Vista Windows without installing additional, somewhat
dubious software.

It seems to come down to web2py needing to have some new configuration
data that tells it where its data (i.e. its applications) are
installed.  It is not too difficult to imagine a configuration file
(living in the applications directory, perhaps) that simply lists
other directories that web2py is to regard as application
directories.  The create/upload/uninstall functions for managing
applications would need to be enhanced to read and write this file.
The default could remain that applications are found in web2py's
applications directory.

Saber's ideas could extend this concept by allowing lines like his
~/.exapp in the configuration file.  This could be either the name of
an applications directory that exists in every user's home directory,
or, more flexibly, the name of a further configuration file for each
user that lists the locations of the application directories for that
user.  I don't know whether this would fit or conflict with other
ideas that I think I've seen floating around, for a CMS built in to
web2py.

Eddie

On May 27, 4:24 pm, cesmiga <cesm...@gmail.com> wrote:
> Ok! I've been thinking about some of the things we discussed in this
> thread and it must remain simple.  I'll stick with the sym link idea
> since anything else is more complex.  After all, the reason we love
> "Web2Py" is because development practice utilizes the KIS (Keep It
> Simple) method.
>
> Thanks for all your support and thoughts. I hope I didn't take too
> much time from anyone since I was trying to make it more complicated
> than I should have.
>
> I'll smack my own hand for this one.   ;-)
>
> Thanks again,
> Christopher
>
> cesmiga wrote:
> > Kuba,
>
> > The reason is to separate Web2Py from developed applications. The same
> > idea is usually done with databases.  Separate the data (in this case
> > Web2Py apps) from the application (Web2Py).  This should ease with
> > upgrades and other administration/development tasks.
>
> > Christopher
>
> > Kuba Kucharski wrote:
> > > What is the purpose? could you explain more?
>
> > > --
> > > Kuba
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to