Writing

Blog

Product notes, engineering write-ups, and lessons from building software.

How to configure permanent system-wide variables for a Django app

How to configure permanent system-wide variables for a Django app

A great solution to this common problem lies within the database (which is always visible to the application).

How to update MongoDB database in Python

How to update MongoDB database in Python

Developers can use PyMongo to read and write from a MongoDB Atlas database with just a few lines of Python code in a web app like Django or Flask or Python script.

How to schedule future code execution with Django

How to schedule future code execution with Django

If you're trying to schedule future code execution with Django, you've come to the right place. We'll achieve this with the threading and schedule modules in Python.

What are the differences between mobile apps, web apps, and hybrid apps?

What are the differences between mobile apps, web apps, and hybrid apps?

Mobile apps are also usually called native apps. They're built specifically for one platform or device. Commonly, these are apps built for iOS (written in Swift) or Android (written in Kotlin). Mobile apps are downloaded from a marketplace or app store, and can sometimes be used without an internet connection. The performance of mobile apps is usually superior to other apps, as they are developed and compiled for one platform. This also reduces the occurrences of bugs.

How do you use ChatGPT to create web apps?

How do you use ChatGPT to create web apps?

The trick to using this tool is in how you write your prompts. The more bit-size and specific, the better. Asking ChatGPT to “make a web app” wouldn’t give you much more than if you were to Google that same question. However, prompting ChatGPT with “Ruby on Rails model for a user” would likely yield you something much better. This allows you to work much more quickly and productively than if you had to write out the Ruby file by hand.

Rapid MVP prototyping using Ruby on Rails

Rapid MVP prototyping using Ruby on Rails

A few weeks ago, I did some rapid MVP prototyping on a community/forum web application. Both the front end and back end were built using Ruby on Rails, which continues to be one of the most powerful web app frameworks available. Although a template or no-code platform (like WordPress) would be an option for a use-case as common as a forum, using Ruby on Rails allows for complete ownership of the source code and nearly infinite customization moving forward.

How to create a clean landing page with React

How to create a clean landing page with React

React (written in JavaScript) is a powerful front-end framework that can be used to make clean, and user-friendly websites. This post will walk you through how to set up a basic landing page using React.The first step is to use npx to create a new React app, and then navigate to your project directory. The install process will also automatically install some useful packages, like react-dom.Create new React appnpx create-react-app landing-page cd landing-pageGreat. Now that we've done that, you s

How to store posts in database with Ruby on Rails

How to store posts in database with Ruby on Rails

This post is going to walk you through how to add post information to a database in a Ruby on Rails application. This is likely relevant for you if the app you're building consists of a feature that allows visitors to create posts (like Twitter, Facebook, Google Reviews, Reddit, literally any forum, etc.) Unless you store each new post in a database, you won't be able to access that information past any given visitor's browser session.The first step to storing post information in a database with

Top web app development companies

Top web app development companies

So let's say you have an idea for a web app, but you don't know how to code, and you're looking to hire a company to build it. Well, you're in luck! There are plenty of development agencies across the U.S. and world that could help you. However, it's important to note that each company usually specializes in specific platforms, at specific price ranges, so you may have to search before you find the right one. See below for a list of some of the top web app development companies across the world.