Web Performance Optimization – a curated list of awesome resources
Category: Web work
These days, most of my work is very related to the online world. Building web sites, reviewing web applications, integrating with web services, coordinating people who are far away from each other, etc. Whenever I find a new tool or service or an innovative, interesting idea about working online, I share it in this category.
CSSPlot – charts with pure CSS
CSSPlot – charts with pure CSS
Amazon AWS Advent Calendar
Amazon AWS Advent Calendar – this Tumblr blog covers a variety of Amazon AWS related topics in a nice and short series of posts. Â It’s a bit dated – from the end of 2012 – but most of it still applies.
Material Design icons by Google
URL rewriting in built-in web server of PHP
PHP comes with a handy for development built-in web server. Â However, most web projects have friendly URLs these days which are either Apache (mod_rewrite) or Nginx specific configuration. Â This almost renders built-in PHP web server useless. Â Unless you provide a PHP-based routing, like so:
$request_uri = __DIR__ . $_SERVER["REQUEST_URI"];
if (file_exists($request_uri)) {
return false;
} else {
include __DIR__ . ‘/index.php';
}
Start the PHP web server with the following command then (routing.php being a file with the above content):
$ cd my-project && php -S localhost:8000 routing.php
Thanks to this blog post and comments. Â Now you can completely skip having Apache and Nginx on developer machines and all that shenanigan with configuring virtual hosts, modules, and such.