Build an API in 2 minutes or less APIs are a convenient approach to getting or manipulating data contained in a remote database programmatically. They allow two applications to communicate with one another. If I had to compare an API to a physical entity, it would be a waiter in a restaurant. The waiter takes your order (i.e., request), goes to the kitchen (i.e., API server), and brings you back your food (i.e., response). There are APIs, from retrieving news …
Tag: Programming
I learned a lot during my eight years as a programmer. I’m grateful for the experience and for the things I learned. Here are some of the most important things I learned: 1. How to think like a computer This may sound obvious, but it’s not as easy as it sounds. Once you learn to think like a computer, it becomes much easier to understand how they work and how to program them. 2. How to break down problems into …
.htaccess is a file used on web servers running the Apache HTTP Server to control how the server handles requests for files and directories. It can be used to password-protect directories, redirect traffic, and more. Here are five .htaccess redirects that every developer should know: Redirecting all traffic to https:// If you want to redirect all traffic from http:// to https://, you can add the following code to your .htaccess file: Redirecting www to non-www If you want to redirect traffic from www.example.com to …
In programming, as in most things in life, results matter most. It’s not about how hard you work or how long you spend on something; it’s about what comes out the other end. This is a lesson that I’ve had to learn the hard way — through a lot of trial and error. In this post, I’ll share some of the lessons I’ve learned along the way, and how they’ve shaped my thinking like a programmer. Hopefully, they’ll be helpful …
Social Profiles