INTRODUCTION

Three Technologies • Three Eras • One Mission

📦 GET THE CODE

All examples are open source and ready to run locally.

📦 DOWNLOAD FROM GITHUB

COBOL 1959

Procedural • File-Based • Explicit Control

📚 About COBOL

COBOL (COmmon Business-Oriented Language) uses a procedural file-processing model. You tell the computer EXACTLY what to do, step by step.

🚀 Quick Start

# Install GnuCOBOL (macOS)
brew install gnucobol

# Compile programs
cd cobol
cobc -x -free CREATE-EMP.cbl
cobc -x -free READ-EMP.cbl

# Run
./CREATE-EMP
./READ-EMP

"The language that still runs the world's financial systems"

SQL 1974

Declarative • Relational • Set-Based

📚 About SQL

SQL (Structured Query Language) uses a declarative, set-based model. You describe WHAT you want, not HOW to get it.

🚀 Quick Start

# Initialize database
cd sql
sqlite3 employees.db < schema.sql

# Run queries
sqlite3 -column -header employees.db < read.sql
sqlite3 -column -header employees.db < search.sql

"The declarative language that revolutionized data management"

MONGODB 2009

Document-Oriented • NoSQL • Schema-Flexible

📚 About MongoDB

MongoDB uses a document-oriented, flexible schema model. Developer-friendly with JSON-like documents.

🚀 Quick Start

# Start MongoDB (Docker)
docker run -d -p 27017:27017 mongo

# Run operations
cd mongodb
mongosh < create.js
mongosh < read.js
mongosh < search.js

"The database built for the modern web"

📚 EXPLORE MORE

🏠 HOME 💻 EXAMPLES ⚖️ COMPARISON 🚨 ANTI-PATTERNS 💎 CONCLUSIONS