Replace Google Chrome by Safari in personal usage

Until recently, I thought that was impossible, but it turned out that it is – our main browser can be changed, although we have used it for years and in many respects were satisfied with it. I used to use Google Chrome for both personal and work, because it was a universal choice full of useful options and the ability to easily expand with applications and add-ons. Recently, I moved to Safari. Although the reasons were not incredibly revealing, but I decided to share what I like in this browser.

Continue reading “Replace Google Chrome by Safari in personal usage”

23c vs 25c vs 28c – tyre width in road bike

Road bikes are governed by their laws. These laws are not fixed, but change over time. One such issue is the use of this type of bicycle is tire equipment. We used to run the race to use the thinnest tires and thus the fastest tires. Now this type of election is no longer obvious. I had the opportunity to ride on different widths and can share you my experiences. Each must draw conclusions after testing, but this post may be helpful when you will select new tires for your bike.

Continue reading “23c vs 25c vs 28c – tyre width in road bike”

PHP/Mongo – Using JOIN in queries

I’ve written one post about MongoDB and PHP about creating nested set model in this database, but there is another interesting topic: using JOINs in mongo queries. Sorry, wh… what? Joining tables in non-relational database? Yes, it’s possible and we can do this to collect much more data in only one, but more complicated query. Let’s start to see how we can achieve this.

Continue reading “PHP/Mongo – Using JOIN in queries”

Zend Framework – create custom controller plugin

Few weekes ago I wrote about custom view plugins in Zend Framework. It’s great solution to separate and re-use code for our templates, build simple functions for menus, thumbnails etc. But… what about similar situation in controller? Yes, it’s possible to use view helpers in controllers, but it isn’t good. Creating controller plugin is much better option and we can do that in Zend Framework. Let’s try.

Continue reading “Zend Framework – create custom controller plugin”