Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Bottle Introduction @ Tainan.py 前微聚會

joe
June 14, 2013

Bottle Introduction @ Tainan.py 前微聚會

joe

June 14, 2013
Tweet

More Decks by joe

Other Decks in Programming

Transcript

  1. Let's talk about Bottle today: Part 1: About me Part

    2: Bottle basic Part 3: Bottle + gevent Part 4: My sad story Part 5: Conclusion
  2. Progress • 2009 ~ 2013 • Always single file •

    Always no dependencies other than STD • Always lack of ORM, session management support ... • Source code: around 1000+ ~ 3000+
  3. Applications • Blog, chat room, any small web app ...

    • Good at providing API service • Good performance • Good for experimental service
  4. Tutorial • sudo pip install bottle • Features • WSGI,

    Single files, Use STD only .... • Routing • Templates • Build-in Server • Utilities for http-related access
  5. Bottle and me • One year ... experience • API

    server • FakeAPI server • Piposea • Pipostv (web + iOS) • Memory millionaire (web + iOS) 怎麼使用 Bottle 開發的服務都死光光了 XD !
  6. Bottle and me • Now: Simple API server ... Good

    Simple web app ... Good Complex app ... Not good, but possible How ?