WebDev:FrontendCodeStandards: Difference between revisions

m (→‎Web App Code: clarifying non-essential features)
Line 177: Line 177:


A basic starting point is to use [https://github.com/mozilla/playdoh Playdoh].
A basic starting point is to use [https://github.com/mozilla/playdoh Playdoh].
Applications must scale to estimated traffic
==== Scaling Tips ====
* django-cache-machine - Use memcached
* django-multidb-router - Your app must be configurable so that reads can go to a seperate DB than writes
* zeus - Your app will run behind Zeus... Set HTTP headers, etc
* Think about cache coherency, based on all of these factors


Web dev will not support a project made up of multiple random codebases with multiple authentication flows. Example: Wordpress + Tiki-Wiki + Plone. When in doubt, integrate 3rd party services for non-essential features;Do not spin up a new instance of an existing 3rd party product for non-essential features without consulting webdev and operations.
Web dev will not support a project made up of multiple random codebases with multiple authentication flows. Example: Wordpress + Tiki-Wiki + Plone. When in doubt, integrate 3rd party services for non-essential features;Do not spin up a new instance of an existing 3rd party product for non-essential features without consulting webdev and operations.
Confirmed users
1,136

edits