Any solutions that breaks the subfolder structure of a web2py app will
break the mechanism for installing and packaging new applications. I
do not see a way around it.

Where would you put php files? I have seen them in /var/www/

Massimo

On Mar 22, 2:31 pm, "Mark Breedveld" <[email protected]> wrote:
> Hi Massimo,
>
> I thought that would be.
> Because of the cache and sessions dir for example.
>
> But in order to stay close to the guidelines, (which is required for repo)
> We need to define the purpose of web2py application folder structure.
>
> But controllers/models/modules/views/cron are the core of a web2py
> application.
> And should formal be under "/opt/"or "/usr/", right? (See the point of view
> in an earlier mail : extension/application)
>
> The /cache, /errors/,sessions, tests are true /var directories and are even
> created instantly when missing.
>
> Doubtful for me are /databases /static /languages, I believe that these
> should belong in the /var directory.
> Because language ain't static and database contains files which are create
> on database connection.
> Static could contain files which are dynamic from the app view, so I think a
> doubtful /var file.
>
> If Massimo or someone else can confirm this.
> Then I believe that Dima is able to define a directory structure for non
> compiled apps.
> With or without links.
>
> I suggest we first do the non compiled apps.
> So we can consider that as done.
> Before we continue to discuss the compiled apps,
>
> Regards Mark Breedveld,
>
> P.s. we could create our own apt-repo (like moovidia in its early day), but
> this should our last option...
>
> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:[email protected]] Namens
> mdipierro
> Verzonden: maandag 22 maart 2010 19:29
> Aan: web2py-users
> Onderwerp: [web2py] Re: Debian / Ubuntu packager needed!
>
> You can bytecode compile hem but you cannot break the deplyment
> mechanism. Even bytecode compiled apps must be under a writable
> applications, therefore under /vars/
>
> On Mar 22, 1:20 pm, "Mark Breedveld" <[email protected]> wrote:
>
> > Hi everyone,
>
> > Thought that it was possible to pre-compile applications in web2py.
>
> > Never used it before, but I found it out on the website.
>
> > We could consider pre-compiled applications as production applications.
>
> > Which means they may not and cannot be edited.
>
> > All non compiled application could be considers as source/development
> > applications.
>
> > Which may exist in the apt repo.
>
> > All pre-compiled application should be in the /opt/ directory, If you
> define
> > a web2py application as an extention of web2py.
>
> > But there is also a say for a web2py app as indepent application, build on
> > the os web2py.
>
> > Which means it should be in the /usr dictory.
>
> > The non pre-compiled applications,
>
> > Should all be under /var/, because they change.
>
> > Well I'm not an expert on this topic,
>
> > but this is my first interpretation of the guidelines.
>
> > Because we should design it prefect and then create work arounds.
>
> > My excuse for putting things in a hurry.
>
> > Regards,
>
> > Mark Breedveld,
>
> > -----Oorspronkelijk bericht-----
>
> > Van: [email protected] [mailto:[email protected]] Namens Dima
> > Barsky
>
> > Verzonden: maandag 22 maart 2010 18:55
>
> > Aan: web2py-users
>
> > Onderwerp: [web2py] Re: Debian / Ubuntu packager needed!
>
> > On Mar 22, 5:33 pm, Kuba Kucharski < <mailto:[email protected]>
>
> > [email protected]> wrote:
> > > There are two type of "apps":
>
> > > the core, web2py itself
>
> > > applications that runs in the web2py environment. Those have to be
> > > editable. This is a hard case, since web2py is "kind of an OS itself",
> > > this should be solved with /var.
>
> > Kuba, could you clarify please? Why do you think pre-packaged applications
> > have to be editable?
>
> > Debian is not unique in this respect, it is generally not a good idea to
> > modify applications after they have been deployed.  It makes bug reporting
> > and investigation much more difficult, it makes the intrusion detection
> > impossible.. should I continue?
>
> > Regards,
>
> > Dima.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "web2py-users" group.
>
> > To post to this group, send email to  <mailto:[email protected]>
> > [email protected].
>
> > To unsubscribe from this group, send email to
> > <mailto:[email protected]>
> > [email protected].
>
> > For more options, visit this group at
>
> <http://groups.google.com/group/web2py?hl=en>http://groups.google.com/group/
> web2py?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/web2py?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to