Diamond sponsors

Better Console Applications

Profile picture for user chr-hertel
Christopher
Hertel
Software Developer
SensioLabs
Type
Talk
Experience level
Intermediate
Duration
45 minutes
Room
0.04 dynamicum
Starts at
Ends at
Industry track
Summary

Console applications - whether part of a larger (Symfony-)application or standalone-tool - usually are the bash-script of PHP developers. Thereby one often leaves the path of clean code and hacks a very pragmatic solution. Despite the fact that a lot of these fast solutions remain in project and need to be maintained for longer. What to reason about while developing a console application and which simple tricks help to clean up your code, is shown by examples in this talk. How do I decouple my code from CLI runtime, how do I optimize long running processes and so on.

Description

The talk is made for beginners and intermediate developers. A code-centric collection of best practices and small tricks, that ease the daily life of developing and CLI-command. The talk is not meant to present a perfect solution for every problem, but provides code examples that invite to reflect about your own work.

Platinum sponsors