WebApps

Damjan Georgievski edited this page Oct 28, 2018 · 1 revision

How not to make your System Administrator angry when writing web (and other) applications.

a WebApp has the following resources:

on the file-system

  • read-only code
    • including read-only templates
    • read-only public static files (images, css and js)
  • read-only config file
    • not public, also secrets
    • shouldn't be in source revision control
  • read/write public files (optional, things users upload)
  • read/write temporal state (caches, sessions; can be a database, files, memcache…)
  • read/write persistent storage (usually a database)

runtime

  • working directory
  • user/group id
  • ulimits/priorities/io scheduling…
  • stdin/stdout/stderr/logs

Examples

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.