WEBT Logs
Containers package an app with its dependencies and share the host OS kernel, making them far lighter than VMs, which each run a full guest OS.
* VMs stack a full guest OS under every app (heavy); containers run apps on a shared host kernel via the engine (lightweight). *
Bar...
Q What is the difference between static and dynamic CMS architectures?
A static CMS pre-generates HTML files ahead of time for speed and security, while a dynamic CMS builds each page from the database on every request for real-time flexibility.
* Static vs dynamic CMS: a static CMS generates all pages at build time and serves files; a dynamic CMS...
Q What is a Dockerfile and how do you create a Docker image?
A Dockerfile is a text recipe of instructions — starting from a base image — that docker build runs to produce a container image.
* A Dockerfile's instructions plus its base image are combined by docker build into your own runnable image. *
FROM node:24.0.2-alpine3.20
COPY src/...
Q What are some popular Content Management Systems?
Widely used systems include the dynamic PHP open-source CMSes WordPress, Drupal, Joomla, and Typo3, plus the static generator Hugo.
Commercial:
Adobe Experience Manager (AEM)
Microsoft SharePoint
Open Source (Dynamic, PHP-based):
WordPress - most widely used CMS globally
Drupa...
Q What are the main phases in a web application's lifecycle?
A web app moves through four phases — pre-project, development, deployment, and operations — and the cycle repeats as new features are added.
* A web app's lifecycle runs pre-project → development → deployment → operations, then loops back to development whenever new features ar...
Q How do you create and run a Docker container?
Run an image by creating a container from it with docker create (mapping ports with -p), then launching it with docker start.
# Create container with port mapping
$ docker create -p 80:80 --name myweb myapp:latest
# Start the container
$ docker start myweb
Port mapping -p 80:80...
Q What technologies make up the complete web application stack?
A full web app splits into three pieces: the client (frontend) that runs in the browser, the server (backend) that runs on a machine you control, and the communication layer that carries data between them.
* A full web application is three tiers over the wire: the browser sends...
Q What are the main types of software testing for web applications?
Web testing climbs four levels — unit, integration, system, and acceptance — each widening the scope from single functions to whole-business requirements.
* The four levels of software testing, each widening the scope from single units up to whole-business acceptance. *
Test...
Q How do you connect multiple Docker containers?
Attach containers to a shared Docker network so they can reach each other by container name as a hostname.
* On a shared Docker network, containers reach each other by container name as hostname; the host maps port 80 to the app container. *
# Create a network
$ docker network c...
Q What are best practices for domain registration?
Register your domain directly with a registrar rather than through your web host, so you keep ownership and can switch hosts freely.
Why separate from hosting:
Independence - switch hosts without domain issues
Control - maintain ownership regardless of host
Flexibility - point d...