- Singleton Pattern
Introduction The Singleton pattern ensures a class has only one instance and provides a global point of access to it. It is one of the most widely used — and misused — design patterns in software engineering. When applied correctly, it solves real problems around shared resource management, such as…
- MongoDB – Type of Applications
Good fitheavy read Bad fitAd hoc queriesUpdatesJoins Social ApplicationsSocial applications can go from 0 users to a million users in a very short time. The best DB fit for these kinds of applications is the DB that can easily scale horizontally which is where MongoDB comes into the picture. Online…
- MongoDB – Why nosql or mongodb?
PerformanceMongoDB tends to be faster than relational DB when it comes to retrieving data. NoSQL database scales horizontally and is designed to scale to hundreds of millions and even billions of users doing updates as well as reads Relational DB tends to be faster on ad hoc queries, updates, and…
- MongoDB – Data Modeling
- SQL DATE_FORMAT
DATE_FORMAT(date, format) %a Abbreviated weekday name (Sun to Sat) %b Abbreviated month name (Jan to Dec) %c Numeric month name (0 to 12) %D Day of the month as a numeric value, followed by suffix (1st, 2nd, 3rd, …) %d Day of the month as a numeric value (01 to 31) %e Day of the […]