Reasons for Migration
- The trend in operational support towards Python installations, provides us with better infrastructure knowledge, problem response, and shareable tools.
- We now have much greater in-house Python expertise than PHP. Many of our recent hires have been high-profile figures in the Python community. This will lead to higher quality of code, but also higher quality of reviews.
- The current PHP codebase was originally written to support a model that has been refined extensively since it was first written. We can leverage this knowledge to write a cleaner server that will be easier to mdoify going forward.
- It seems that the transition is inevitable at some point, and this transition will be more painful the longer we wait.
- The current code is tested and functional. We can mitigate this with an extensive testing suite (which already exists) as well as the more extensive use of unit testing that Python supports.
- External users with current installations will suffer some migration pain. Much of it we can mitigate, and the underlying storage isn't changing, but some systems may not offer Python as an option.
- Implementation of documented Sync API, sufficient to pass the full suite of tests
- Implementation of documented User API, sufficient to pass the full suite of tests
- Unit tests on every class
- Fully functional memcache support for collection counts, timestamps and tabs
- CEF implementation
- Correct unicode handling for all user contact points
- Webpages for resetting password and deleting account (decoupled from API codebase)
- Support for storage quotas
- User API server capable of handling internal and external interface with config change
- functional no-config server tarball (Weave Minimal, including SQLite support)
- account lockout support
- Constant-independent storage engines (so you can instantiate multiples of a class)
- Standard VM instance with full dev environment that supports all our options
- Support for non-mozilla LDAP setups, and mysql setups not using a userid
- shell-script setup
- support for rate quotas