Yii1 AR model select associative array

No Picture

Just a quick snippet on preparing models into assoc array:

Read More »

Support Ukraine

No Picture

My homeland suffering from unfair and ruthless war. Ukrainians die every day on both frontline and in the rear. My hometown Zaporizhya is suffering from rocket strikes. Cities like Soledar and Bakhmut are wiped off the face of…

Read More »

Moving existing Vue2 app to TypeScript

No Picture

I’ve got some situation when I was wanted to update my current Vue app to TypeScript. I considered on only updating it partially: update store to typescript update components to typescript So for that I did the following…

Read More »

Why it is impossible to decode hashed value

Hashing algorithms are widespread used in software development. But usually people don’t know, how they work and why you cant to decrypt hash value. I’ll try to explain it in this article. FYI: Bcrypt is based on symmetric…

Read More »

Large pivot table tool

No Picture

Hi everybody! Recently I had an interesting discussion: my friend who is a head of analytics team was complaining about low speed processing on large amount of data when you making pivot tables and/or do filtering in Excel….

Read More »

Simple template engine on PHP

A short tutorial about how to write a simple php-based template engine (similar to what they use in Yii) To make it comfortable to use, lets write it by using OOP and php7. As the first thing to…

Read More »

Need Yii’s gridview in Laravel?

It was a pleasure to work with this flexible and powerful component in yii! But, when I started coding on laravel, I was unable to find a good analog. I spend some time on the previous job with…

Read More »

How to convert PHP array to ascii (console) table

I’ve got an interesting task on my work – make a table with pretty-print in console. I’ve googled it by request like php associative array to text table, but didn’t find anything which is good for me. So…

Read More »