starts in the database 2. A theme, written in PHP, queries the database for content. This is called “the loop.” 3. PHP returns HTML on the server side, and the browser renders the content.
starts in the database 2. Functions written in PHP connect the endpoints for the API -‐ how content is queried and how it retrieves it from the database.
starts in the database 2. Functions written in PHP connect the endpoints for the API -‐ how content is queried and how it retrieves it from the database. 3. Instead of HTML the server returns JSON
starts in the database 2. Functions written in PHP connect the endpoints for the API -‐ how content is queried and how it retrieves it from the database. 3. Instead of HTML the server returns JSON
starts in the database 2. Functions written in PHP connect the endpoints for the API -‐ how content is queried and how it retrieves it from the database. 3. Instead of HTML the server returns JSON 4. — and JSON can go just about anywhere. All at once