Vincent Faliès - Artisan Codeur

EnvDev 2.0 is available

Development php web project apache nginx envdev
Reading time: 1 minute, 0 seconds

A new version of EnvDev project is now available in 2.0 version.

This version is a complete refactoring of the project to rationnalize the stack and use Alpine version of container to reduce the image size.

Your projects can be with several PHP version from 5.6 to 7.2. A cache stack had been a...

Continue reading...

Web App Manifest

web Development progressive web apps
Reading time: 5 minutes, 0 seconds

Web app manifest is a part of a collection of web technologies called progressive web apps.

It is a jSon text file use to provide informations about application (name, author, icon, etc.). The purpose is providing a richer user experience on any devices. With the wep app manifest, the applicatio...

Continue reading...

PHPunit : Test a method with redirection

php web Development phpunit test
Reading time: 1 minute, 0 seconds

Development's tests are a mandatory step for guarantee the validity and viability of the code. Sometimes, the tests writing are not trivial. For instance, a method can do an HTTP redirection :

class MyClass
{
    /**
     * Method to redirect to https://vfac.fr
    **/
    public function doRedire...

Continue reading...

KISS principle

Development Principles POO
Reading time: 1 minute, 0 seconds

KISS principle or Keep it simple, stupid is a design guideline that recommends simplicity and and forbidden all unnecessary complixety.

Complexity is a source of production costs, maintenance and therefore errors. Keep it simple, limit unwanted effets.

The KISS principle also makes it easier...

Continue reading...