• Home
  • About
  • Ekko
  • C.V.
  • Blog
  • Archive
  • Contact
  • RSS
  • Menu

Alex Strick van Linschoten

  • Home
  • About
  • Ekko
  • C.V.
  • Blog
  • Archive
  • Contact
  • RSS

Django vs Flask

December 20, 2016 in Coding, Useful Tools

I am diving back into the coding of my language-related web tool, as I mentioned a few days back. In and of itself, the functionality is quite simple, but there are three parts that have to all work together, so it’s harder for me to put it all together than I had expected.

One of the decisions I’m currently mulling over is whether to use Django or Flask to allow my Python code to interact and get displayed on the website. For those of you who aren’t familiar with coding and how websites work, these two frameworks are what allows me to write the bulk of the tool in Python, but then use either Django or Flask to display it on the web and interact with the web server. (I realise I probably butchered that explanation.)

Django seems to be what most people recommend I use, in part because it comes with a number of useful things built-in. As a result, or maybe independently of that, it has a steeper learning curve and feels like a larger proposition than perhaps I need for my (somewhat small) project.

Flask is pretty basic and pared down. It doesn’t contain all the bells and whistles that Django offers, but as a result it’s easier to get your head round and make a working prototype sooner.

If I had a bit more time, I think I’d go with Django. The user community seems bigger and I’d probably end up using the built-in features, but Flask allows me to get a working prototype hosted somewhere much faster and thus seems like probably the option I’ll choose.

For now, I’m getting a bare-bones Python-only version of the tool ready, then I’ll hook that up to Flask and see how that interaction works.

Tags: coding, thinking, plateau-ebook
Prev / Next

Mailing List

Popular Posts

Featured
Coding, Productivity
Solid Study Habits for Coders
Coding, Productivity
Coding, Productivity
General, Movement
Pain: A Love Story
General, Movement
General, Movement
Useful Tools, Productivity, Tech, Language, Coding
Introducing CoachBot: Your Personal Language Taskmaster
Useful Tools, Productivity, Tech, Language, Coding
Useful Tools, Productivity, Tech, Language, Coding
Books, Jordan, Language
Everything You Need to Study Jordanian Arabic
Books, Jordan, Language
Books, Jordan, Language
Incremental Elephant, Language, Books
The Two Books Every Intermediate Arabic Student Needs to Read
Incremental Elephant, Language, Books
Incremental Elephant, Language, Books
Books, Productivity
Fundamentals Versus Hacks
Books, Productivity
Books, Productivity
Productivity, PhD
PhD Tools: The Secret to Finishing Your PhD
Productivity, PhD
Productivity, PhD
Jordan, Climbing
Existential Battles: Climbing in Amman
Jordan, Climbing
Jordan, Climbing
Afghanistan, Books, First Draft Publishing
Reading the Afghan Taliban: 67 Sources You Should Be Studying
Afghanistan, Books, First Draft Publishing
Afghanistan, Books, First Draft Publishing
Books, Journalism, Pakistan
North Waziristan: A Reading List
Books, Journalism, Pakistan
Books, Journalism, Pakistan

Recent Posts

Blog
First stitches: on learning to knit
about 5 months ago
Language Learning Crash Course: from slightly more than zero to slightly less than advanced
about a year ago
All the things I wish I knew about studying at school
about a year ago
Automating social media posting for my new blogposts
about a year ago
Vermeer at the Rijksmuseum
about 2 years ago