In progressive software engineering firms it has become common to blur the line between the creation of the software product and the operation of that product.
Google is credited with popularizing this practice by codifying the term "Site Reliability Engineering" and hiring a team of software engineers to operate a data center and the associated applications in it.
Prior to this it was common to have a strong separation between product development and business operations. Operations would staff and manage IT and Customer Support. Engineering, design, and product-specific folks would staff and manage product development.
Mark Burgess writes, in "Site ...
Once models are created, you can make migrations and database tables from them.
An empty database isn't very interesting, so the next step is to populate it. We used Celery Tasks for that.
Django 2.0 changed how URLs are defined. I ignored that and used the old style re_path because I wasn't really interested in learning the ins and outs of the new `path` function yet.
Here's my first four views
Empty databases are boring. In part 2 we made an empty database.
Now we fill the database.
We are going to use a couple of celery functions outlined in tasks.py
Here are the benefits of building this as celery tasks:
Here's the basic function layout:
Luna is what I'm calling my project to take back my photos.
You can follow along with the code here: https://github.com/issackelly/luna
The repository and the data models are the first step in any code base.
I'm not yet going to cover many of the choices that I made in the project (pipenv, dj-database-url, celery, etc). In this installment, I'll be describing the folder structure and the basic model setup at backend/backend/models.py .
The project is a pair of small applications. A "backend" application built on Python 3 and Django 2 ...
I'm Issac. I live in Oakland. I make things for fun and money. I use electronics and computers and software. I manage teams and projects top to bottom. I've worked as a consultant, software engineer, hardware designer, artist, technology director and team lead. I do occasional fabrication in wood and plastic and metal. I run a boutique interactive agency with my brother Kasey and a roving cast of experts at Kelly Creative Tech. I was the Director of Technology for Nonchalance during the The Latitude Society project. I was the Lead Web Developer and then Technical Marketing Engineer at Nebula, which made an OpenStack Appliance. I've been building things on the web and in person since leaving Ohio State University's Electrical and Computer engineering program in 2007. Lots of other really dorky things happened to me before that, like dropping out of high school to go to university, getting an Eagle Scout award, and getting 6th in a state-wide algebra competition. I have an affinity for hopscotch.