homepage | white paper | live samples | development board | unit tests
PageAmp is a ground breaking server-side tool for web developers. It makes HTML reactive and it's designed to work in a standard LAMP environment. You'll be surprised at how simple and effective reactive HTML can be.
It allows you to:
- add reactive logic to plain HTML that works the same in both the server and the client
- make pages ready for search engine indexing and still fully dynamic in the browser
- modularise your source code and bring it all together with the <:import> tag
- separate content and markup, as well as to access and implement local and remote services
- define common blocks as custom tags, keeping your code DRY
- turn blocks into proper HTML components and leverage PageAmp's Page Kit.
- it extends HTML: its additions are marked with
:in tag and attribute names and wrapped in${}in texts and attributes - it works in the server: once you copy its
.pageamp/,index.phpand.htaccessto a LAMP server, it will handle page requests and execute application logic at page delivery - it works in the client: the output will be a standard and complete HTML page, but will also include application state and code so capable clients can take over application execution.
-
reactive JS frameworks: the latest trend in web development, and yet, born for the client only. React and Vue.js are great, but:
- server-side rendering is bit of a gimmick, and how many projects are you actually hosting on NodeJS anyway?
- they override the declarative HTML with the procedural JavaScript — only to then having to mitigate that with yet another language like JSX
PageAmp keeps it straight by making HTML reactive itself, and it works in the server out of the box
-
server-side templating: each server technology has its own set, but none can make the client an integral part of their design:
- in most, output pages are static by design: adding dynamic behaviour and, crucially, keeping it coherent when they change is a job in itself
- the few that provide companion client-side components don't let you easily customize them or add your own
PageAmp cancels the client/server divide making real, customizable client/server components natural to write