Real Time Population Counter

PHP Server Sent Events

World Population Real Time Counter (API)

This World Population Real Time App pushes updates by monitoring an API for changes. PHP is being used to read the API and to detect a change and generate JSON to send down to the Javascript.

This is a server-sent events which excel at telling a website when thereโ€™s an update, using a one-way channel the webpage has initiated with the server, but AJAX form submissions can also be used.

PHP

JSON

MAMP

HTML

CSS

Javascript

Responsive Web Design

Camille Pacamalan