Manage Hierarchies with Composite Pattern

Introduction The composite design pattern generalize a hierarchical structure. It helps deal with tree structure of information. This make things easier for clients due to uniform way to work with individual items and for collections. Lets start by stating that composite is not composition (composition is another useful software design approach. Decorator pattern utilizes composition). … Read more

Play is such a powerful system for learning

There was a game “Street Fighter”: You see, I used to be obsessed about this game. I would put hours and hours into it. Probably hundreds, maybe even thousands. I was hooked. I would play with friends at lunch. after some breaks. At stores. Anywhere I could play, I would. It was 90s. Vidoe games … Read more

AWS DynamoDB Basics

Introduction AWS DynamoDB is a fully managed NoSQL database service all managed by AWS. As per the official website “Amazon DynamoDB is a fully managed, serverless, key-value NoSQL database designed to run high-performance applications at any scale. DynamoDB offers built-in security, continuous backups, automated multi-region replication, in-memory caching, and data export tools”. In this post, … Read more

AWS IoT Basics – Persisting IoT Data to DynamoDB

Introduction AWS IoT is a managed cloud platform that lets connected devices – cars, light bulbs, sensor grids, and more – easily and securely interact with cloud applications and other devices. These devices generates data and we can use AWS IoT services to collect this data. Once data is collected, a typical requirement is to … Read more