Software Development

General software development tools and principals applicable to building any application.

Using MongoDB Atlas as your Flask Database

Since you prefer using Python and Flask, I’ll assume we both prefer enjoyable dev.

It's been roughly a year since MongoDB launched their Stitch "back-end as a service" product, and I've been tinkering with Mongo on the cloud ever since. Alright fine, "tinkering with" may better be described as  "accidentally became dependent on it after developing new features in production environments," but I can't really complain thus-far. If you're not familiar, MongoDB Atlas is

Flask Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddJan 15
Jul 31
Read

Frontend in Flask: Page Templates and Static Assets

When Python developers manage presentation layers.

If you're familiar with Django (or Python to any extent), you've probably accepted the concept of what Python guys refer to as "static assets" without much consideration. At some point in Django's conception, a design decision was made: any code, styles, or assets were tucked away into their own respective uninteresting corners of the framework. Thus it was known: anything

Flask Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddJan 15
Jul 23
Read

Starting a Flask Application with Heroku

Ease-of-use framework: meet ease-of-use platform

We all knew it would only be a matter of time before a blog full of Python junkies would touch on Python's fastest growing framework. Staying true to all that is Pythonic, Flask is a gift to developers who value the act of development. By minimizing level of effort and maximizing potential, Flask allows us to be as minimalist (or

Flask Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddJan 15
Jul 08
Read

Upgrading to Gulp 4.0.0

Tackling the breking changes that come with Gulp 4

Back in the day we touched on some of the wonderful upsides of implementing Gulp into your workflow. If you have been following along and happened to install the latest version of Gulp, you may has noticed something horrible happen: nothing worked. I probably should’ve mentioned that the latest major update to Gulp, Gulp 4, is actually a breaking

NodeJS Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddJan 15
Jun 28
Read

Building Page Templates in ExpressJS With Handlebars

Building views in NodeJS by incorporating layouts, partials, and everything in between.

Writing HTML sucks, thus we should do everything to minimize the time we spend writing it as much as possible.  Thus, we have Handlebars: a lightweight templating system for Node. Handlebars allows us to avoid repetitive code by compiling the final DOM structure of our site via logic, typically compiled by task runners such as Grunt or Gulp.

If you're

NodeJS Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddJan 15
Jun 26
Read

Using Gulp: Tasks to Make Frontend Tolerable

Automate tasks to make frontend code production-ready

NOTE:  This tutorial was written for Gulp versions <4.0.0. Check out this post for Gulp >4.0.0


Perhaps the whole obligatory-Gulp-tutorial on [Some Coding Blog] thing has become a bit cliché at this point. Haters may do as they will, but I 'll take any opportunity to jam as many SEO keywords I can get

NodeJS Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddJan 15
May 30
Read

Installing Django CMS on Ubuntu

One of three major Django CMS products

Django CMS is a leading Python-based CMS.

As it stands, there is not a comprehensive guide which walks through the complete installation of Django + Django CMS. While is information exists in fragments, newcomers to Python would undoubtedly have trouble piecing much of this information together. This guide hopes to serve as a reduction of friction to Django newcomers, thus ensuring

Python Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddJan 15
Nov 19
Read

Installing Django on Ubuntu

Get started with the Python MVC framework that started it all

Stack

  • Ubuntu
  • Python 3
  • Pip 3
  • Nginx
  • Django (latest)

Install all Dependancies

We'll start with the obligatory update to ensure we're getting the latest packages.

apt-get update

Let's verify that Python 3 is is installed on your box.

python3 --version
Python 3.6.3

If Python 3 is not installed, go ahead and install it:

apt-get install python3

Next we'll

Python Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddJan 15
Nov 18
Read