How would you like to create a static website written in PHP?
Talk about a solid business card site, right?
Use Phrozn, a static site generator written in PHP.
You write text files in your favorite format (Textile, Markdown, Twig, Haml etc), in your favorite environment (Vim, Vim, or Vim etc), spice them with styles (again, in format of your choice – CSS, LESS, or SASS), feed all this to Phrozn, and it will create static HTML site ready to be published.
Slick!
Phrozn
My first question was, “Why use a static site generator?”
- Fast – Static HTML pages load flippin’ fast!
- Safe – Static pages are safe. There’s no code executed server-side.
- Trivial Deployment – You don’t need to worry about server-side configuration – any web-server will do.
- Version Control – Since input pages are simple text files, you can version them, and re-generate whole site from any point in the past.
- Format Agnostic – Enter text in your favorite format, in your favorite text editor.
Phrozn Features
- Written in PHP, extensible in PHP. Supported text processors are not enough for you? Create your own – it is really simple!
- Exemplar of PHP 5.3 code. There’s no love for pre PHP 5.3 hosts, Phrozn requires PHP 5.3+ and relies on it heavily.
- Designed with extensibility in mind.
- Supports input files in Twig, Textile, Markdown, and LESS format.
- Easy to use: Only couple of commands to learn and you’ll be able to use Phrozn efficiently in no time.
- Robust: Phrozn is strictly tested. Check code coverage and see for yourself!
- Solid Foundation: Whenever possible wheel reinvention was avoided. Phrozn uses code from well-written and well-known projects including PEAR, Zend Framework 2, Symfony 2, Twig, Pirum.
Allan White says
That is actually pretty sweet. There’s many times where a static site is just what’s needed. Will be checking into this one.
Eric Dye says
Awesome! I hope you like it!
Allan White says
Honestly, after looking at it… setup looks kinda crazy. Love the idea, it’s maybe a bit too hardcore geeky for me. There’s a lot of UI bits that are useful when writing posts. I’ll let it percolate in my brain for a while.
Eric Dye says
Percolate. I do the same thing.