Quantcast
Channel: Webification » Frameworks
Viewing all articles
Browse latest Browse all 6

A skinny PHP framework – Fat-Free Framework

$
0
0

Fat-Free framework is a PHP framework that weighs only 55kb.


//Hello World in Fat-Free

<span style="font-family: monospace; line-height: 18px; font-size: 12px; white-space: pre;">require_once 'path/to/F3.php';</span>
<pre><code>F3::route('GET /','home');
	function home() {
		echo 'Hello, world!';
	}
F3::run();</code><span style="font-family: monospace;">


Its size is pretty remarkable, as there are 10MB+ frameworks that have even lesser functionality.

However, why on earth would you want to use Fat-Free?

The answer is simple: it eases coding to an extent, and has nice features that ease coding even more.

It also has other features, though.

  • Neatly customized URLs
  • Optional plugins for extended functionality
  • Automatic optimization of pages (reduced CSS and JavaScript)
  • XML sitemap generator for SEO

Viewing all articles
Browse latest Browse all 6

Trending Articles