Blog Archives

Database Transactions: The try-catch-gargara idiom

Here’s the PHP code that triggered pretty weird feelings and… this post 🙂 The above PHP snippet purposely tries to set an illegal value to a datetime field of an SQL Server (2012)  table. Don’t mind the PHP syntax, it

Posted in Uncategorized

Choosing your framework

Software frameworks make you more productive. They’ve handled all the boring, repeating stuff and leave you with the specifics of your application. Everybody knows you’re cool and really capable, but building on top of existing, solid, work and knowledge makes

Tagged with: , ,
Posted in Software Engineering

HTTP Sessions using Redis in Yii

This post serves two main goals: Explain how to use Redis as a cache and http session storage in a Yii project Explain why it’s possible to do it only with configuration due to Object Orientation and Design Patterns

Tagged with: , , , , , , ,
Posted in PHP, Yii
In Archive