In the old, polish version of this blog, there are several posts about nginx server and PHP configuration. These entries are outdated now, but I will be writing them again in english soon. Meanwhile, today I would like to briefly share information on the ondemand mode in PHP-FPM. I have to used it and think it’s the best solution for most configurations.
Concentration is not an easy art and sometimes causes a lot of problems. This is especially noticeable visible during remote work, where we decide what and when we do it. Sometimes work is big and we looking for… something else. One moment on Facebook, one moment on YouTube, maybe we check news on Twitter and buy something on eBay? Yes, we know that – it’s a problem of procrastination. We can do anything, but not what we should. How can we deal with it? There is one, nice extension for browser called StayFocusd. And it works.
If you cycling, or only watch something about cycling in TV or over Internet, you should know aerobars – „strange” extension for road bike handlebar, or standard element of time trial bicycles. Is it worth buying something like that? I decided to check it out and bought XLC HB-T03 Tri-Bar aerobars.
Zend Framework is not as popular as Symfony, but it’s also nice and have a lot of nice features. One of them is view helpers – classes and objects which we can use in templates to make specific thinks. Zend has few build-in helpers, for example to use absolute app directory, set or receive HTML doctype, use partials templates or use authentication data. Sometimes we can (or maybe should) create our view helper to avoid repetition of the code. It’s simple, let’s try.