PHPNews

Stack Machines: Fundamentals

Written by igorw - Published on igorw
Aggregated on Monday January 2, 2017 - Permalink

Stack Machines: Fundamentals fundamentals << rpn-calculator << shunting-yard << io << jumps << conditionals << comments << calls << variables << stack-frames << heap << compilers This series will explore design and implementation of virtual stack machines. That is, virtual machines whose operations …

Continue reading »


How heavy is Silex?

Written by igorw - Published on igorw
Aggregated on Monday January 2, 2017 - Permalink

How heavy is Silex? Quite often silex has been described as heavy or bloated. It's time to put this myth to rest. Quotes Silex: The world's largest microframework. Silex: All the bloat of Symfony but with only half the features. Silex is so big: It has more lines of code than your project. Micro-framework What an excellent buzzword! Let's face it, this is an …

Continue reading »


Composer Vendor Directory

Written by igorw - Published on igorw
Aggregated on Monday January 2, 2017 - Permalink

Composer Vendor Directory A common question in composer support is to install packages into a directory other than vendor . I want to explain why that is a bad idea. Achtung: Might be a little ranty. One True Vendor You don't own your vendor directory. When you use composer, you are waiving your right to decide where things go. This is for your own good. You should not know …

Continue reading »


Dependency Responsibility

Written by igorw - Published on igorw
Aggregated on Monday January 2, 2017 - Permalink

Dependency Responsibility Convenience is great, and many tools provide you with it. Dependency managers are one such tool that allow you to easily install any library instantly. But you should not use them blindly. There are more important considerations than "I want foo right now" . Which type of foo do you want, and how long do you want it to last? Hairball as a Service You can get …

Continue reading »


Git Branching Model

Written by igorw - Published on igorw
Aggregated on Monday January 2, 2017 - Permalink

Git Branching Model Since the original A successful Git branching model post from nvie there have been numerous attempts to simplify his model. While it is a very solid branching strategy, you do end up with a ton of branches that you may not actually need. This post aims to document the general strategy that has been in use by a subset of the PHP community (and likely other communities …

Continue reading »


Stack Machines: RPN calculator

Written by igorw - Published on igorw
Aggregated on Monday January 2, 2017 - Permalink

Stack Machines: RPN calculator fundamentals << rpn-calculator << shunting-yard << io << jumps << conditionals << comments << calls << variables << stack-frames << heap << compilers A very simple form of stack machine is a so-called RPN calculator. It is quite easy to understand and implement, and uses …

Continue reading »