Urgent.News

What's breaking now, across thousands of outlets.

Tech

Tanuki Framework, a PHP framework for people who really like writing Vanilla PHP

El problema con el que siempre me topaba Cada vez que empezaba un proyecto pequeño en PHP, tenía dos malas opciones. Opción uno: coger un framework completo. Conseguir un ORM cuyo lenguaje de queries tengo que aprender, un motor de plantillas que básicamente es PHP-pero-distinto, un contenedor de servicios, pipelines de middleware, y una estructura de carpetas diseñada por un comité. La mitad de…

Translated from Spanish Read in Spanish

Tanuki is a lightweight PHP MVC framework that provides a basic structure for building web applications without the complexity of larger frameworks like Laravel or Symfony. It includes a router, a model class that wraps around PDO, and views that are simply PHP files. The framework is designed for developers who prefer to write SQL directly and don't want to learn a new query builder or ORM.

Tanuki also includes features such as CSRF protection, session management, and a simple internationalization system. The framework is highly customizable and allows developers to work in a vanilla PHP style or follow a basic MVC pattern.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Also reported by 1 other outlet

Read the original at dev.to →

More in Tech

WebSockets in Node.js: Real-Time Apps Done Right

From a raw ws echo server to a horizontally scaled Socket.IO deployment — with the heartbeat, backpressure, and reconnection logic that keeps real-time apps alive in production.

  • WebSockets enable long-lived TCP connections for real-time apps.
  • Careful consideration needed for WebSocket connection state management.
  • Heartbeat mechanism prevents ghost clients on WebSocket servers.

More from Sunday 6 September →