PHPnews.io


Replacing controllers with middleware

Written by Dracony / Original link on Mar. 30, 2015

Middleware is now a very popular topic in the PHP community, here are some of my thougts on the subject. First, let’s take a quick look at what middleware is ( if you already know about middleware you can skip this part): Short intro The idea behind it is “wrapping” your application logic with addi…



Checked errors in F#

Written by Jef Claes on software and life / Original link on Mar. 29, 2015

In the land of C#, exceptions are king. By definition exceptions help us deal with "unexpected or exceptional situations that arise while a program is running". In that regard, we're often optimistic, overoptimistic. Most code bases treat errors as exceptional while they're often commonplace. We ar…