During my career, I’ve mostly been using MongoDB, so I decided to go with DynamoDB for my current project. Here are my findings.
The setup of DynamoDB or MongoDB is relatively easy.
Setting up DynamoDB to work with other Amazon services such as EC2 is incredibly easy. No AWS keys are needed to access the database. Instead, assign the EC2 instance the correct DynamoDB IAM roles, and it will automatically have the correct access to the database.
The connection code to DynamoDB couldn’t be easier, as seen in the following code sample.
With the MongoDB setup, we do end…
When is the last time you:
It’s time for self-reflection! As developers, we always need to stay sharp and up to date. You never know when your technologies could suddenly become outdated.
Technology doesn’t keep up with us, we have to keep up with it. Wake up, and start your learning path now. As developers or architects, we should always be working towards one of our goals.
Spend your time in a focused manner. Gain…
AWS is all the hype right now. Everybody is talking about it, and wants to gain more experience with it.
Cloud hosting in specific has become very popular in recent years. The ability to spin up a server, with your exact configuration and specific needs, in a matter of minutes is amazing. More than that, you don’t need to worry about the physical setup at all. It will run consistently and as expected.
Naturally, AWS experience is in high demand, as many projects require cloud-based skills, such as Azure or AWS. …
I used to avoid cloud hosting platforms such as AWS for a couple of reasons. One of them is pricing. Every item is priced separately, making it somewhat difficult to understand the total picture when you are beginning with AWS. Some prices can be more complex unless you understand all the AWS terms.
In this article, we will take a look at the required services for a MERN stack, and how we can optimize their costs.
The cost calculation can be tricky. Thankfully there are tools to simplify this, which we will look into. When using AWS, you don’t know…
Are you working on a Gatsby website that has to work in multiple languages? With our experience, we will explain in-depth how this can be achieved while revealing the common pitfalls.
In this article we will work with json translation files, using i18n.
There are a few plugins available for internationalizing Gatsby websites. We have found that
gatsby-plugin-intl seems to be one of the most popular with around 6k weekly downloads on npm. It uses
react-intl behind the scenes, which has about 950k weekly downloads on npm!
Have you recently been through the React documentation? As developers, we should do our best to always stay up to date. Going through documentation is the perfect way to learn something new. This is how we can discover React’s error boundaries.
Before you close this article, wait! Yes, Error Boundaries are from 2017. However, React very recently introduced a new feature for the React DevTools!
This feature will allow developers to test how different components will act upon errors. It will allow you to simulate a React Component as “crashed” using the DevTools.
Sure, you should implement error handling…
In this article, we’ll make our very own HTML Element framework with state management and event handlers. We’ll discover the world of Web Components with practical examples.
First of all, let’s get to know custom elements. If you already know what they are, feel free to skip this part of the article and continue below with Adding State to Custom Elements.
Custom Elements are part of Web Components which were introduced back in 2011. This, along with Shadow DOM and HTML Templates. Let’s dive deeper and learn while developing!
Thinking about performance can be crucial to get a stable end-product. I have often seen things go wrong at this crucial first step of designing a solution. When the first step goes wrong, the next steps will fall apart. Let’s go over a practical example together and see why this is so important.
One of the biggest mistakes in development is simply developing “a solution”. We don’t want the first come first serve approach when it comes to developing solutions. Instead, take the time to think of a solution approach. Once you compare the pros and cons of different solutions…
Let’s have a look at a famous database structuring mistake and how we can avoid it. These mistakes can make the maintenance and further development of an application extremely difficult for no reason.
This is the top one for developer frustrations. Wrongly structured time-related data can make it difficult to sort data, convert data, and show the correct time depending on the user’s timezone. Let’s stop this once and for all.
Let’s take a look at the following database table
users Do you see any issues with the following data?
Are you still using class-based React components? Have you never had the chance to use React Hooks? You’re not alone — although React Hooks have been around a while, some developers still haven’t got round to using them yet.
In this article, we’ll show you how class-based components can be translated into React Hooks. We’ll also go into detail on each hook and explain its capabilities using code samples and exercises. By the end of this article, you should be a master of basic React Hooks.
Be sure to follow the examples and create them in a demo React app…
Enthusiastic Software Architect, Team Lead and Small Business Owner