Search

Lessons (40)

  • Meaningful Names

    … Learn simple rules for naming variables, functions and classes so code explains itself. The big idea A name …

  • Cluster Networking, DNS and NetworkPolicies

    … deny all ingress in a namespace. yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: default-deny …

  • Classes and Objects

    … runs once when you create a dog with new constructor(name: string, age: number) { this.name = name; this …

  • Composition over Inheritance

    … string) { return ${name} flies through the air ; } } class Swim implements Movement { move(name: string) { return ${name} swims through …

  • StatefulSets, DaemonSets, Jobs and CronJobs

    … containers: - name: postgres image: postgres:16 volumeMounts: - name: data mountPath: /var/lib/postgresql/data volumeClaimTemplates: - metadata: name: data …

  • Practical Project: Deploy a Real CRM App on EKS

    … API AND CONFIG MAP addons: - name: vpc-cni - name: coredns - name: kube-proxy - name: eks-pod-identity-agent …

  • RBAC and Cluster Security

    … ci-reads-pods namespace: prod subjects: - kind: ServiceAccount name: ci-bot namespace: prod roleRef: kind: Role name: pod …

  • Reusable Modules and Clear Interfaces

    … Add a second call named web with a different name and port. Design a useful boundary A production …

  • Inheritance

    … string) {} eat() { return ${this.name} is eating. ; } speak() { return ${this.name} makes a sound. ; } } class Dog extends Animal …

  • DRY: Don't Repeat Yourself

    … Merging them couples things that should change independently. js // These look identical… const validateProductName = (name) = name.length 0 …

  • GitOps, Progressive Delivery and Observability

    … shop-api namespace: argocd spec: project: default source: repoURL: https://github.com/example/platform.git targetRevision: main path …

  • JavaScript Language Fundamentals

    … short, no own this function greet(name = "friend", ...rest) { // default + rest parameters return Hello ${name}, and ${rest.length …

  • Services and Ingress: Let Traffic Find Your App

    … A Service gives a group of pods one stable name. An Ingress routes HTTP/HTTPS traffic from outside …

  • HCL, Resource Addresses, and Project Layout

    … name = upper(name) } . Exit with exit . Practice: split the local lab across versions.tf , main.tf , and outputs …

  • Normalization & Denormalization

    … We will normalize one deliberately bad order table: order id customer name customer email product id product name …

  • Extending Kubernetes: CRDs, Operators and Admission

    … Namespaced names: kind: Backup plural: backups singular: backup versions: - name: v1 served: true storage: true subresources: status: {} schema …

  • Python Fundamentals

    … every tool has a clear name and place. Python's built-in types ( list , dict , set , tuple ) are …

  • Structural Patterns: How to Connect Objects

    … each wraps a function and returns a function with the same shape const withLogging = (fn, name) = async (...args …

  • Frontend Testing Strategy

    … One behaviour per test, with a name that reads like a sentence. Component tests with Testing Library ⭐ Testing …

  • Go Fundamentals

    … Every file starts with package <name , and all files in the folder share the same name and can …

  • Small Functions That Do One Thing

    Short, focused functions are easy to name, test and reuse. Learn how to spot a function doing too …

  • Kubernetes Cluster Architecture, Simply

    … Knowing their jobs helps when you read errors or diagrams. Name Plain-English job --- --- API server The front …

  • Encapsulation

    … string, name: string, passwordHash: string) { this.id = id; this.name = name; this.passwordHash = passwordHash; } } 💡 private vs private : TypeScript …

  • Configuration, Secrets and Storage

    … name: shop-api-secrets type: Opaque stringData: DATABASE URL: "replace-with-real-value" yaml envFrom: - secretRef: name: shop …

  • Variables, Locals, Outputs, and Validation

    … A local avoids repeating the naming expression. An output publishes a result. Supply values Create dev.tfvars : hcl …

  • I — Interface Segregation Principle

    … string; name: string }) { return <img src={src} alt={name} / ; } <Avatar src={user.avatarUrl} name={user.displayName} / <Avatar src …

  • Providers and Your First AWS Resources

    … Review provider release notes before upgrading a real project. bucket prefix lets the provider choose a unique name …

  • Microkernel (Plugin) Architecture

    … this { if (this.plugins.some((p) = p.name === plugin.name)) throw new Error( Plugin ${plugin.name} already registered …

  • Safe AWS Deployments with IaC and CI/CD

    … Value: !Ref UploadsBucket CloudFormation generates a bucket name, avoiding a hard-coded naming collision. This template creates a …

  • Pods: Where Your App Actually Runs

    … containers: - name: web image: nginx:1.27 ports: - containerPort: 80 bash kubectl apply -f pod.yaml kubectl get …

  • React Fundamentals

    … cart, products"] -- products, onAdd PL[ProductList] PL -- name, price, onAdd PC1[ProductCard] PL -- name, price, onAdd PC2[ProductCard …

  • What Are Design Patterns?

    Design patterns are named, reusable solutions to problems that keep coming up in software design. Meet the three …

  • SQL vs NoSQL Databases

    … 17, name: "Ana", email: "ana@mail.com" }, items: [ { productId: 5, name: "Keyboard", qty: 1, priceCents: 4999 }, { productId: 9 …

  • Health Checks and Scaling

    … Deployment name: shop-api minReplicas: 3 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization …

  • Nginx Reverse Proxy & HTTPS

    … Nginx picks the block whose server name matches the requested domain: nginx /etc/nginx/sites-available/shop.example …

  • Production Capstone and Interview Practice

    … define the module contract The module takes name prefix , environment , and owner . It creates a private, encrypted, versioned …

  • What Is Clean Code?

    … subtotal; } What changed? 1. Names explain intent: calc became orderTotal , and a[i].s === 1 became item.inStock …

  • Cross-Service Data: How to Join Without a Database JOIN

    … order history page Suppose the page needs order ID, total, status and customer display name: 1. Order Service …

  • Domains, Load Balancers and HTTPS

    Follow a browser request from a domain name to healthy app copies, with AWS-managed HTTPS certificates. The …

  • CI/CD with GitHub Actions

    … CI, test every push and pull request .github/workflows/ci.yml : yaml name: CI on: pull request: push …