Inside The Drakkar

807 views

Published on

A short presentation I did together with @Ingo, @jgeskens about the making of Mobile Vikings.

https://mobilevikings.com

Published in: Technology, Business
  • Be the first to comment

Inside The Drakkar

  1. 1. Inside the Drakkar the making of Mobile Vikings by Gert, Ingo & Jef
  2. 2. Mobile Vikings facts <ul><li>Mobile operator since Feb 1, 2009 </li></ul><ul><li>Started with 1000 users and has grown since </li></ul><ul><li>2500 invitation requests </li></ul><ul><li>6350 total lines of Python code </li></ul><ul><li>Total usage of 27,05 GiB used last month </li></ul>
  3. 3. Overview <ul><li>Technology </li></ul><ul><li>Website </li></ul><ul><li>Backend </li></ul>
  4. 4. Technology stack <ul><li>Django 1.0 </li></ul><ul><li>Apache 2 </li></ul><ul><li>MySQL 5 </li></ul><ul><li>Server </li></ul>
  5. 5. Django <ul><li>What? </li></ul><ul><ul><li>Web framework encouraging DRY-principle </li></ul></ul><ul><ul><li>Python </li></ul></ul><ul><ul><li>Model-Template-View (MVC-like) </li></ul></ul><ul><ul><li>Focus on reusability </li></ul></ul><ul><ul><li>More info: djangoproject.com </li></ul></ul>
  6. 6. Server <ul><li>One virtualized machine </li></ul><ul><ul><li>Plenty of room for scaling </li></ul></ul><ul><li>Debian </li></ul>
  7. 7. Website philosophy Everything via the web <ul><li>Become a customer </li></ul><ul><li>Get your SIM card </li></ul><ul><li>Top-ups (PayPal, …) </li></ul><ul><li>Realtime call history </li></ul><ul><li>Important information (SIM number, PUK, credit balance, SMS alerts) </li></ul>
  8. 8. Website philosophy (2) Feedback == important! <ul><ul><li>We strive to create a better user experience… </li></ul></ul><ul><ul><li>… so give us your feedback! </li></ul></ul><ul><ul><li>[email_address] </li></ul></ul>
  9. 9. Backend <ul><li>Connection to BASE </li></ul><ul><li>SIM management </li></ul><ul><ul><li>Bundles </li></ul></ul><ul><ul><li>Top-ups </li></ul></ul><ul><li>Helpdesk </li></ul><ul><li>SMS alerts (upcoming feature) </li></ul>
  10. 10. Django and Mobile Vikings <ul><li>Allows us to create reliable, complex yet maintainable web applications and sites in no time </li></ul><ul><li>Pretty URL’s (E.g. /myviking/credit/) </li></ul><ul><li>Makes use of Python, which is more explicit; this gives clarity. Existing code has an easy learning curve. </li></ul><ul><li>Powerful templating system with inheritance </li></ul><ul><li>Built-in support for internationalization </li></ul>
  11. 11. Django and Mobile Vikings (2) <ul><li>Django helped us to cope with constantly changing situations (many new features, data model changes, complete rewrites of parts) </li></ul><ul><li>Abstraction to external API’s </li></ul><ul><ul><li>E.g. support for multiple SMS gateways </li></ul></ul><ul><li>Easy and fast deployment </li></ul><ul><li>Supports iterative development </li></ul><ul><li>Clean, but readable code </li></ul>
  12. 12. Clean code <ul><li>Models define: </li></ul><ul><ul><li>Database tables </li></ul></ul><ul><ul><li>Object-Relational Mapper </li></ul></ul><ul><ul><li>HTML forms (including basic validation) </li></ul></ul><ul><ul><li>a part of the REST API </li></ul></ul>Our SIM model:
  13. 13. Made with Django <ul><li>mobilevikings.com </li></ul><ul><li>glowe.org </li></ul><ul><li>gloweme.com </li></ul><ul><li>… </li></ul>
  14. 14. Questions?

×