Data & Storage with the Larz Stack
Persist and query data without a database server - and safely. A deep dive on the stack's data family: the crash-safe embedded DB, injection-safe queries, migrations, caching, and every serialization format.
About this course
Persist and query data without a database server - and safely. A deep dive on the stack's data family: the crash-safe embedded DB, injection-safe queries, migrations, caching, and every serialization format.
What you'll be able to do
- Persist data without a database server using the crash-safe embedded larzdb
- Build injection-safe queries with larzsql - safe by construction, not by discipline
- Evolve a schema safely with larzmigrate migrations and drift detection
- Speed up apps with larzcache while managing freshness
- Know when to use embedded storage vs a database server, and choose the right serialization format
Syllabus
4 sessions, in order. Each has tables, charts, a worked example and hands-on tools.
| # | Session | |
|---|---|---|
| 1 | Storage Without a Database Server Most projects reach for Postgres on day one - and take on a server to run, secure and back up. Often you don'tโฆ | โฑ 8 min |
| 2 | Injection-Safe Queries with larzsql SQL injection is one of the oldest and most damaging bugs - and it's still everywhere. larzsql makes it impossโฆ | โฑ 8 min |
| 3 | Evolving Your Schema with Migrations Data outlives code, and its shape changes over time. Migrations let you evolve your database safely and repeatโฆ | โฑ 7 min |
| 4 | Caching for Speed The fastest work is the work you don't repeat. Caching stores expensive results so you can reuse them - and laโฆ | โฑ 7 min |
Coursework
Assignments
Problem sets with worked solutions to test what you learned.
๐ฏFinal project: Design a Server-Free Data Layer
Design the complete data layer for a small app using only the stack's data family - storage, safe queries, migrations, cโฆ
๐Certificate
Finish every session, the assignments and the project to unlock your certificate of completion.
More in Tech & Digital Skills
Code ยท Market ยท Design
Build employable skills โ web development, SEO/marketing and design, the realistic way.
Start course โAI & Productivity
Use AI like a pro โ what to automate, prompt craft, and getting real work done faster.
Start course โNo-Code & Automation
Build apps and automate work without writing code โ the modern maker's toolkit.
Start course โData & Analytics
Think clearly with numbers โ spreadsheets, reading charts, spotting bad stats and deciding with data.
Start course โCybersecurity & Privacy
Protect yourself online โ passwords, phishing, privacy and securing your devices.
Start course โCrypto & Web3
Start safely โ wallets, security, DeFi, and earning without getting rekt.
Start course โBuilding with the Larz Stack
Ship real software with zero third-party dependencies โ a tour of the 60+ pure-Python Larz libraries for money, data, security, web and AI, and how they click together with the Larz framework.
Start course โBuild a SaaS with Larz
Go end to end: build and ship a real money-native SaaS with the Larz framework - accounts and auth, plans and subscriptions, an admin dashboard, background jobs and email, and a production deploy.
Start course โUnderstanding & Building on LarzChain
Learn how a blockchain really works by studying a real one you can read: LarzChain, a fair-launch, proof-of-work, zero-dependency cryptocurrency. Blocks, mining, wallets, its smart-contract VM, and building on it responsibly.
Start course โ