Sunday, February 24, 2013

Idealist (sortable): Python, Flask, Jinja2, Javascript and Tablesorter

I've been experimenting with Python and the Flask web development framework. Combined with hosting on Heroku, I was surprised how quickly one could get a web app up and running. For my experiment this weekend, I created a sortable table of the business model and technology ideas from my previous blog post.

In the spirit of documenting my efforts, here are the ingredients to this micro app:
  • Python v2.7.1: An interpreted open source programming language, with an incredible number of modules/resources available
  • Flask: a Python-based web development language (BSD Liscense)
  • Jinja2: a Python-based templating engine for web development
  • Heroku: a cloud-based web application hosting platform
Below, is a sample of the result embedded from the live Heroku site, but since this Blogger blog platform seems to scrub Javascript from the iframe to be able to sort the list may have to go directly to the site hosted at Heroku.

<Note: this may take some time to load as it's hosted on a development Heroku dyno and goes into sleep mode when accessed sparsely.)



3 comments:

  1. Hi,
    Where can I find the code for this ? This is exactly what I am looking for.

    Thank you!

    ReplyDelete
  2. Hi,
    Where can I find the code for this ? This is exactly what I am looking for.

    Thank you!

    ReplyDelete
  3. Hi John, Any example code that we can look at?? I'm just getting into Flask and Jquery.
    THanks.
    --Mike

    ReplyDelete