The FEB Framework is a light and unobtrusive set of PHP scripts that allow you to write HTML templates, in HTML, but in a DRY fashion. It also does a better job of separating content from presentation by storing content in separate XML files. The ultimate goal is not to create a robust templating framework with its own syntax , but one that is easily understood, plays well with others, and most importantly light.

Easily understood:

Working with the content (requiring XML), and the presentation (requiring HTML, CSS, JS—optional) layers does not require knowing PHP. But keep in mind knowing the templating aspects of PHP is recommended, as well as the shorthand methods provided by FEB, which can help you write cleaner XML.

Plays well with others:

FEB eschews using a new syntax. It requires more learning, and it limits code reuse across different frameworks. Partials in FEB can be easily wired and incorporated into an existing framework, as HTML/CSS/JS are universal across frameworks.


FEB only runs off of 3 files. To get you started it also includes the pages and assets for this demo site, done in the framework. A noted package is my the very early version 1.2 of my CSS Framework; this new version does not support IE6, so the selectors are a lot more concise.

FEB is also designed to serve as an makeshift static website, meaning you can put it in stage it in webhosting directory via FTP for clients. Each page can be exported back into clean HTML files for your deliverables.

Aside from these barebones features, FEB is primarily the lowest common denominator for an organizer of frontend templates. From this base, you are free to use PHP to extend any area of these scripts. Most of FEB can be scaled simply by following the existing pattern. However, keep in mind I designed FEB to be scaffolding, not the finished product. Feel free to fork the project on GitHub.