Architecture / 7 min read
Designing fast content systems with plain PHP.
A modern site does not need a heavy runtime to feel polished. Framex keeps page resolution, templates, assets, and Markdown close to the filesystem.
Framex Team
Published May 12, 2026
Routing
Files become URLs
Views
PHP and Markdown
Design
Tailwind CSS 4
Simple routing
Framex resolves URLs by checking for matching PHP and Markdown files inside app/views. This keeps page creation predictable for new developers and small teams.
A route such as /demo/blog-post can be backed by app/views/demo/blog-post.php, while documentation can be written as Markdown in app/views/docs/index.md.
Shared layouts
Every page is wrapped by the main template, which includes the top menu, current view content, footer, compiled CSS, and JavaScript. PHP views can set metadata through the $data array.
Keep page-specific content in views, shared structure in templates, and reusable visual rules in Tailwind source CSS.
Content speed
Markdown pages are useful for documentation and simple publishing workflows. PHP views are better when a page needs custom data, cards, grids, forms, or conditional rendering.
// PHP view route
app/views/demo/blog-post.php
// Markdown view route
app/views/demo/page.md