8

Capítulo ocho

Hablando
el idioma

El vocabulario de construir —
no código, solo los sustantivos y verbos.

Estás a punto de sentarte con un agente de código y construir algo. Va a usar palabras como "deploy," "endpoint," "componente" y "schema." Si esas palabras te resultan opacas, te sentirás perdido — no porque no puedas construir, sino porque no puedes dirigir. Este capítulo te da el anillo decodificador. No cómo programar. Cómo hablar el idioma de construir.

Piénsalo como conducir un coche. No necesitas entender motores de combustión, relaciones de transmisión ni presión de líquido de frenos. Necesitas saber: acelerador, freno, volante, espejos. El vocabulario de dirección, no de implementación.

El stack: un anillo decodificador

Cada app — desde Instagram hasta una simple lista de tareas — está construida con cuatro capas. Los desarrolladores lo llaman "el stack." Aquí está todo, desmitificado:

Frontend

Lo que la gente ve y toca. Botones, texto, imágenes, animaciones. El comedor de un restaurante.

Backend

La lógica detrás de escena. Procesa peticiones, verifica contraseñas, envía emails. La cocina.

Base de datos

Donde tu app recuerda cosas. Cuentas de usuario, publicaciones, configuraciones. La despensa y el libro de recetas.

Deployment

Cómo llega a internet. Hosting, dominios, salir en vivo. Abrir las puertas del restaurante.

Eso es todo. Cada app que has usado es alguna combinación de esas cuatro capas. Cuando tu agente de código dice "voy a configurar el backend," significa "voy a escribir la lógica detrás de escena." Cuando dice "vamos a hacer deploy," significa "vamos a ponerlo en internet." No necesitas saber cómo funciona cada capa. Necesitas saber que existen y para qué sirven.

El agente como tutor

Esto es lo que nadie te cuenta: el agente de código también es tu profesor. ¿No sabes qué significa "npm"? Pregunta. ¿Un mensaje de error te confunde? Pégalo y di "explícame esto como si no fuera desarrollador." ¿Quieres saber por qué el agente eligió React en vez de otra cosa? Pregunta. Te explicará su razonamiento en español llano, paso a paso, las veces que necesites.

Tus primeros cinco minutos

Abre tu herramienta de código. Describe tu proyecto en lenguaje natural: "Quiero crear un seguimiento de entrenamientos donde registre mis ejercicios y vea mi progreso a lo largo del tiempo." El agente te hará preguntas para clarificar, sugerirá un stack y empezará a construir. Tu primer trabajo es responder sus preguntas y observar lo que crea.

Explora las cuatro capas de una app web. Haz clic para aprender el vocabulario — y luego ponte a prueba.

The Stack Decoder

Click a layer to explore its vocabulary

The frontend is everything a user interacts with — buttons, text, images, forms, animations. It runs in the browser on the user's device.

Think of a restaurant. The frontend is the dining room — the menu, the tables, the decor. It's what customers experience.

Nouns (the things)
Component

A reusable piece of the interface, like a button or a card.

ReactVueSvelte
Page

A single screen or view in your app.

Home pageSettings pageProfile page
Style

How things look — colors, fonts, spacing, layout.

CSSTailwindSass
State

Data that can change — like whether a menu is open or a form field is filled.

Dark mode on/offItem count in cartCurrent tab
Verbs (the actions)
RenderDisplay something on screen. When a page renders, it becomes visible.
NavigateMove from one page to another.
Handle eventsReact to user actions like clicks, typing, or scrolling.

The backend is the server-side code that processes requests, applies business logic, and communicates with the database. Users never see it directly.

The backend is the kitchen. Orders come in, the kitchen prepares them, and sends out the finished dish. Customers don't see the kitchen, but nothing works without it.

Nouns (the things)
Server

A computer that listens for requests and sends back responses.

Node.jsPython/FlaskGo
API

A set of rules for how the frontend talks to the backend. Like a waiter taking orders.

REST APIGraphQLtRPC
Endpoint

A specific URL the frontend can call to get or send data.

/api/users/api/login/api/posts
Authentication

Verifying who a user is — login systems, passwords, sessions.

JWT tokensOAuthCookies
Verbs (the actions)
FetchRequest data from the backend. "The app fetches your profile from the server."
ProcessApply logic to data — calculate, validate, transform.
AuthorizeCheck if a user has permission to do something.

The database stores all the persistent data — user accounts, posts, settings, anything that needs to survive a page refresh or server restart.

The database is the pantry and the recipe book. It stores all the ingredients (data) and keeps them organized so the kitchen (backend) can find them fast.

Nouns (the things)
Table

A structured collection of data, like a spreadsheet. Each row is a record.

Users tablePosts tableOrders table
Schema

The blueprint for your data — what fields exist and what type of data each holds.

name: textage: numbercreated_at: date
Query

A request to find, add, update, or delete data in the database.

SELECT * FROM usersINSERT INTO postsDELETE FROM comments
Migration

A change to your database structure — like adding a new column to a table.

Add email fieldCreate orders tableRemove old column
Verbs (the actions)
StoreSave data so it persists. "Store the user's preferences in the database."
QueryAsk the database for specific data. "Query all users who signed up today."
MigrateUpdate the database structure without losing existing data.

Deployment is the process of taking your app from your computer and putting it on the internet where anyone can use it. It includes hosting, domains, and keeping things running.

Deployment is opening the restaurant. You've built the dining room, hired the kitchen staff, stocked the pantry — now you unlock the front door and put up a sign.

Nouns (the things)
Hosting

A service that runs your app on the internet 24/7.

VercelNetlifyRailwayFly.io
Domain

Your app's address on the internet — the URL people type to find you.

myapp.comcool-project.vercel.app
Environment Variables

Secret settings (like API keys) stored outside your code so they stay private.

API_KEY=abc123DATABASE_URL=...
Build

The process of converting your source code into optimized files ready to serve.

npm run buildProduction buildStatic export
Verbs (the actions)
DeployPush your app to the internet. "Deploy to Vercel" means put it live.
BuildPrepare your code for production — optimize, bundle, compress.
MonitorWatch your app for errors, slowdowns, or crashes after it's live.
Share this course
No necesitas saber cómo funciona el motor. Necesitas saber cómo conducir.

Ya conoces las palabras. Tienes la idea. Ahora es hora de sentarte con tu agente de código y construir de verdad. A continuación: el arte del ciclo de construcción — iteración, evaluación y qué hacer cuando las cosas se rompen.

Complexity Score

New tool unlocked!