Build websites from Bricks.
SiteBricks is a tiny flat-file PHP website framework for people who want websites to be simple again.
No database. No build tools. No Composer. No Node. No nonsense.
Pages are ordinary text files. Themes control how your site looks. Bricks add optional features.
Core provides capabilities. Bricks provide features.
The SiteBricks Core does the small number of jobs every SiteBricks website needs: configuration, page loading, routing, Themes, Bricks and rendering.
Everything else should be optional.
This SiteBricks 1.2 release includes five useful Bricks:
- Navigation — automatically builds navigation from your pages.
- Page List — displays a list of SiteBricks pages wherever you need one.
- RSS — displays RSS or Atom feeds with source attribution.
- Ads — supports simple adverts and named slots for systems such as Revive Adserver.
- Analytics — lets you plug in the analytics provider you choose.
How simple?
A page can be as simple as:
pages/20 My New Page.txt
The number controls its position. Visitors see My New Page, not the number.
A Brick can be added to a page with readable syntax:
[[brick:rss url="https://example.com/feed.xml" limit="5"]]
Switching the whole site's appearance is one configuration setting.
SiteBricks is running SiteBricks
This website is itself running on SiteBricks 1.2.
We are deliberately developing SiteBricks by using it. If building this site exposes something awkward, that becomes evidence for improving the next 1.x release.
The aim is not to turn SiteBricks into another enormous CMS. It is to keep the Core small, understandable and useful.
Read more
- Why Small Websites Still Matter
- Brick Test
- Building A Five Page Website
- The Case For Flat File Publishing
- What Is A SiteBricks Brick
- Why Simple Themes Are Useful
- Keeping A Website Portable
- Numbering Files To Control Page Order
- Why Fast Websites Feel Better
- Building Without A Database