Open Source

Phalcon is a new PHP Framework of my choice

Phalcon is a new PHP Framework of my choice

I’m working on multiple PHP based projects. Most of them using CodeIgniter as a base framework. I mastered it into stage, where has no secrets for me. The problem is that I also know disadvantages of this bit outdated framework. Recently core team announced that they are dropping future development so it means that CI is dead. Doesn’t mean that I don’t like it anymore. I just started looking for something new.

I like CI because I got control over everything. Modern PHP frameworks trying to solve all problems for you. It’s amazing, but lack of control is what you don’t need in when you developing projects. What do you need it’s this easy flow during development process. Full control over your MVC structure, but also a lot of “help” from framework itself.

CodeIgniter-minify update

CodeIgniter-minify update

Just introduce some new options to my quite popular library CodeIgniter-minify . From now one you can chose CSS compression engine (cssmin || minify), also FORCE rewrite CSS files. Some speed improvements were also made. Please feel to checkout library on GitGub – CodeIgniter-minify
The easiest way to share files within same network

The easiest way to share files within same network

Sometimes you are just to lazy to copy files to local storage server. Sending files over email ? To long. What other options you have. If you are on Mac – AirDrop is an answer but – you have to be on wireless. What if you are using old fashion cable ? There is a solution for that – web experiment called www.sharedrop.io ShareDrop is a free app that allows you to easily and securely share files directly between devices in the same local network*, without having to upload them to any server first.
CodeIgniter img update

CodeIgniter img update

It’s been a while since my library CodeIgniter img was updated. Purpose of this library is pretty clear – to scale images on the fly using CodeIgniter. It’s very useful in all kinds of website and CMS-like projects. All you need to do, is just load library and inside view use it like that

$this->img->rimg('path/to/image.jpg', array('width' => 100, 'height' => 200, 'alt'='my awesome image'));

First time when script hits image, will create thumbnail. Next time, website will get already scaled image. If you need change dimensions, just change it within view – don’t worry about recreating images.