inside the drakkar

14
www.mobilevikings.c Inside the Drakkar the making of Mobile Vikings by Gert, Ingo & Jef

Upload: gert-van-gool

Post on 01-Sep-2014

1.381 views

Category:

Technology


0 download

DESCRIPTION

A short presentation I did together with @Ingo, @jgeskens about the making of Mobile Vikings. https://mobilevikings.com

TRANSCRIPT

Page 1: Inside The Drakkar

www.mobilevikings.com

Inside the Drakkarthe making of Mobile Vikings

by Gert, Ingo & Jef

Page 2: Inside The Drakkar

www.mobilevikings.com

Mobile Vikings facts• Mobile operator since Feb 1, 2009

• Started with 1000 users and has grown since

• 2500 invitation requests

• 6350 total lines of Python code

• Total usage of 27,05 GiB used last month

Page 3: Inside The Drakkar

www.mobilevikings.com

Overview

•Technology•Website•Backend

Page 4: Inside The Drakkar

www.mobilevikings.com

Technology stack•Django 1.0

• Apache 2

•MySQL 5

• Server

Page 5: Inside The Drakkar

www.mobilevikings.com

Django•What?

•Web framework encouraging DRY-principle

• Python

•Model-Template-View (MVC-like)

• Focus on reusability

•More info: djangoproject.com

Page 6: Inside The Drakkar

www.mobilevikings.com

Server•One virtualized machine

• Plenty of room for scaling

•Debian

Page 7: Inside The Drakkar

www.mobilevikings.com

Website philosophyEverything via the web

•Become a customer

•Get your SIM card

• Top-ups (PayPal, …)

•Realtime call history

• Important information (SIM number, PUK, credit balance, SMS alerts)

Page 8: Inside The Drakkar

www.mobilevikings.com

Website philosophy (2)Feedback == important!

•We strive to create a better user experience…

•… so give us your feedback!

[email protected]

Page 9: Inside The Drakkar

www.mobilevikings.com

Backend•Connection to BASE

• SIM management

•Bundles

• Top-ups

•Helpdesk

• SMS alerts (upcoming feature)

Page 10: Inside The Drakkar

www.mobilevikings.com

Django and Mobile Vikings• Allows us to create reliable, complex yet

maintainable web applications and sites in no time

• Pretty URL’s (E.g. /myviking/credit/)

• Makes use of Python, which is more explicit; this gives clarity. Existing code has an easy learning curve.

• Powerful templating system with inheritance

• Built-in support for internationalization

Page 11: Inside The Drakkar

www.mobilevikings.com

Django and Mobile Vikings (2)• Django helped us to cope with constantly changing

situations (many new features, data model changes, complete rewrites of parts)

• Abstraction to external API’s

• E.g. support for multiple SMS gateways

• Easy and fast deployment

• Supports iterative development

• Clean, but readable code

Page 12: Inside The Drakkar

www.mobilevikings.com

Clean code

Models define:• Database tables• Object-Relational Mapper• HTML forms (including basic validation)• a part of the REST API

Our SIM model:

Page 13: Inside The Drakkar

www.mobilevikings.com

Made with Django• mobilevikings.com

• glowe.org

• gloweme.com

• …

Page 14: Inside The Drakkar

www.mobilevikings.com

Questions?