Knowledge Base Base de Conocimiento

Static Websites vs CMS and GitHub Updates

Some websites have a login and an admin panel, and some don't. That is not an accident, it depends on what type of site it is.

CMS website: a Content Management System (like WordPress) is a website that includes an admin panel, so you can login and edit pages, blog posts, images, and settings without touching code.

Static website: a collection of files (HTML/CSS/JS/images). There is usually no admin panel. If you want to update it, you replace the files on the server.

Why a static site can be better: it can be faster, simpler, and have less things that can break. It also has less security risk than a plugin-heavy CMS.

So how do you update a static site without a CMS?

One common way is a GitHub connection. You upload your website files to a GitHub repository, and the server periodically pulls the latest version and replaces the site files. This effectively lets you update content without a traditional CMS.

When a CMS makes more sense:

If you need a lot of non-technical people to login and edit content daily, a CMS can be worth the tradeoff.

Bottom line

CMS = admin panel convenience. Static = speed and simplicity. GitHub updates are one way to get "CMS-like updating" while still keeping a static site.

Sitios Estáticos vs CMS y Actualizaciones con GitHub

Algunos sitios web tienen un inicio de sesión y un panel de administración, y otros no. Eso no es casualidad, depende del tipo de sitio que sea.

Sitio con CMS: un Sistema de Gestión de Contenido (como WordPress) es un sitio web que incluye un panel de administración, para que puedas iniciar sesión y editar páginas, publicaciones de blog, imágenes y configuraciones sin tocar código.

Sitio estático: una colección de archivos (HTML/CSS/JS/imágenes). Generalmente no hay panel de administración. Si quieres actualizarlo, reemplazas los archivos en el servidor.

Por qué un sitio estático puede ser mejor: puede ser más rápido, más simple y tener menos cosas que se puedan romper. También tiene menos riesgo de seguridad que un CMS con muchos plugins.

¿Cómo actualizas un sitio estático sin un CMS?

Una forma común es mediante una conexión con GitHub. Subes los archivos de tu sitio web a un repositorio de GitHub, y el servidor periódicamente descarga la última versión y reemplaza los archivos del sitio. Esto efectivamente te permite actualizar contenido sin un CMS tradicional.

Cuándo tiene más sentido un CMS:

Si necesitas que muchas personas no técnicas inicien sesión y editen contenido diariamente, un CMS puede valer la pena.

En resumen

CMS = conveniencia del panel de administración. Estático = velocidad y simplicidad. Las actualizaciones con GitHub son una forma de obtener "actualización tipo CMS" manteniendo un sitio estático.