Hey there! Welcome to my blog where I post about my journey as a self-taught developer. You can find my GitHub by clicking HERE.

As an application grows, sometimes it is difficult to determine where you should be putting your code. In this post I will share some ideas I have used lately to store my SQL queries in one location within my codebase. We will be importing functions, and using parameters to represent models.

Let’s check out an example file tree. Take a look below!

Screenshot by Author — James Lewis

Alright, a straightforward file tree representing one blueprint in flask, and a queries directory…


Hey there! Welcome to my blog where I post about my journey as a self-taught developer. You can find my GitHub by clicking HERE.

cottonbropexels

State management! Let’s dive into what this means for you as a developer and why it is valuable. We are familiar with SPAs, right? One of the benefits of using a JavaScript framework is that we can create single-page applications which have many benefits!

An SPA or single-page application is very powerful because once the browser loads, a page refresh is never required. All HTML, CSS, and JavaScript are loaded at once and remain loaded.

Every…


Hey there! Welcome to my blog where I post about my journey as a self-taught developer. You can find my GitHub by clicking HERE.

Mikepexels

Dropbox has become a staple in the business world assisting in the replacement of paper, making desks less messy, and simplifying procedures.

What will you need to follow along?

  1. Python
  2. Dropbox Account
  3. Dropbox API Key
  4. Install and import dropbox in your script (pip install dropbox/import dropbox)
  5. A file to upload (PDF)

In a recent project for work, I was assigned the task of implementing an automatic PDF upload into a folder located in a Dropbox account. …


Hey there! Welcome to my blog where I post about my journey as a self-taught developer. You can find my GitHub by clicking HERE.

Miguel A. Padrinanpexels

Quick Disclosure!

This is a very quick post, the purpose is to enlighten readers who have a specific use case where they need to have two or more submit buttons with different actions in a single form. If this applies to you! This post may be helpful.

You are most likely familiar with an HTML form, it’s opening and closing tag, several attributes such as method, action and class. That is enough to produce a quality web application…


Hey there! Welcome to my blog where I post about my journey as a self-taught developer. You can find my GitHub by clicking HERE.

Photo by Jarrett Mills on Unsplash

Welcome to my first tutorial! I am very excited about this one since I love working with API’s. Especially free API’s that do not require any credit card information! What are we building in this tutorial? Check out the video below!

We pull filtered data from a government site that tracks earthquakes. We list and export real natural disaster data to a CSV file. Pretty cool right? Heck ya it is! Let’s get to it…


Hey there! Welcome to my blog where I post about my journey as a self-taught developer. You can find my GitHub by clicking HERE.

By Tiger LilyPexels

What are we building?

We will be building a small python script which will do the following.

  1. Query users and their personal data
  2. Populate a PDF letter head with the user data
  3. Append each PDF with user data to make one large PDF which we can then print in bulk to mail out.

What are we using to build this?

  1. Python
  2. Report Lab.

You will need Python and Report Lab installed. …


Hey there! Welcome to my blog where I post about my journey as a self-taught developer. You can find my GitHub by clicking HERE.

Image by PixabayPexels

When I first started dabbling with HTML and CSS, I fell in love. It was the best feeling ever to make something appear in my web browser. HTML was cool, learning mark-up and all that it could do! CSS was great too! I could change colors, adjust font size, create boxes and make something static look presentable and official!

Fast forward a year or two. CSS transformed (no pun intended…) into CSS3 for me. Things became…


Author Eric Anada Pexels

This quick post will discuss the benefits of keeping our Vue.js templates simple, with minimal logic in the html. This idea is also known as ‘Declarative’. And it is discussed in the docs HERE.

But what good is a definition if there are no examples? So let’s create some.

Basic Vue Component scaffold:


Hey there! Welcome to my blog where I post about my journey as a self-taught developer. You can find my GitHub by clicking HERE.

Author LukasPexels

Quick Note!

This post assumes the reader understands the structure and architecture of a basic Python / Flask app with SQLAlchemy as well. We will be looking at Blueprints, Queries, Models, Tables and the CSV module. With that said, please read on!

CSV Files are commonly used in the business world. Specifically for accounting and closing the books each month. Even certain programs require CSV file uploads (Quickbooks)! Perhaps a company is making a transition from their paper…


Hey there! Welcome to my blog where I post about my journey as a self-taught developer. You can find my GitHub by clicking HERE.

During a project involving SQLAlchemy and several models in a models.py file, I encountered an issue with one of my columns in the database.

In the web app we have our User Table and users can have multiple vehicles. So we also have a Vehicle Table.

User Table:

Screen shot taken from Author — James Lewis

Vehicle Table:

James Lewis

I am an obsessive autodidact, I love coffee, early mornings, guitar, camping, traveling with my wife and of course…software development!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store