planetfederal / geodroid-server

Apache License 2.0
3 stars 4 forks source link

Clarification on purpose/usage of Apps directory #16

Closed jj0hns0n closed 10 years ago

jj0hns0n commented 10 years ago

What is the difference between the WWW and Apps directory?

jdeolive commented 10 years ago

The idea is that www could be for any static resources you might want to share across apps. Like say for instance if you didn't want to include OpenLayers in every app directory.

All in all both apps and www both are just a place to access static resources, so it might be that they are redundant. If folks think it makes more sense to just have an apps directory i am all for it.

jdeolive commented 10 years ago

@tschaub would love to get your feedback on this.

tschaub commented 10 years ago

Seems like a single directory for hosting static resources should suffice.

Are both currently served from the same URL path (e.g. would localhost:800/foo.js find foo.js in either www or apps)?

jdeolive commented 10 years ago

Sounds good, keep it to just the apps folder.

At the moment you have to append the prefix. So it has to "/apps/foo.js".

On Thu, Oct 31, 2013 at 3:11 PM, Tim Schaub notifications@github.comwrote:

Seems like a single directory for hosting static resources should suffice.

Are both currently served from the same URL path (e.g. would localhost:800/foo.js find foo.js in either www or apps)?

— Reply to this email directly or view it on GitHubhttps://github.com/boundlessgeo/geodroid-server/issues/16#issuecomment-27529252 .

Justin Deoliveira Vice President, Engineering | Boundless jdeolive@boundlessgeo.com @j_deolive https://twitter.com/j_deolive

jdeolive commented 10 years ago

Closing as per 696a77db