Yii2 dev digest #1 Nov'13

As I am very interested in Yii2 and spend some time to track project development process on GitHub (and try to participate a little), I decided to make small periodic digests of most interesting and valuable changes so far. Also I often catch useful hints in GitHub discussions and don't want to loose them, so will try to collect some.


Read more ...

Can't stop looking at how it works

Animated view on lock opened via key and via picklock.

There are so much ordinary things in our life that are really brilliant in aesthetics of its simplicity and complexity simultaneously.


Read more ...

Grand opening ! ;)

open

Here we go !

It took just a little more that 1 year from idea of having own blog to it's implementation :) Upcoming Yii2 inspired me to have a tight look on it ... and to do something - so this is what I got up to date.

What I have learned while making this blog

  • Yii2 going to be much better that Yii1 and it is worth of switching on it
  • Composer is cool, you can leave without... before you try it. After that - it is very hard without it
  • Namespaces + Composer's autoloader in PHP are cool, that's a pleasure now to write code (with good IDE autocomplete)
  • Markdown is cool, integrated it in this blog, very handy to write formatted posts now

What next :

  • Automatic target "_blank" assiging to markdown parsed links
  • Make page caching
  • Redis cache storage
  • Static pages functionality (veeery static)
  • Tags manipulation/autocomplete functionality + widget (selectize.js) for blog admin
  • Full-text search, experiment with PostgreSQL ts_vector/ts_query, in any case Sphinx is always here to help
  • Nginx + PHP-FPM (I want to try how it goes)
  • Multy-language separation on blog to have Russian and Deutsch (Es wird SpaƟ machen) sections
  • Full dynamic and relevant OG tags generation

So that's pretty large plans, furthermore I want to make a copule Yii2 extensions/widgets. Really hope to bring something useful this year :)


Fix PhpStorm text paste issue

phpstorm

Symptoms : Text copied from any other source except PhpStorm itself (Chrome, text editor etc.) can't be pasted in PhpStorm. But text is being in buffer - as it could be pasted in other editors.

The reason is in Oracle Java 8 (according to this bug report).

TL;DR

  • Install Oracle Java 7
  • Profit !

Read more ...
Ievgen
Kuzminov "iJackUA"
Web Team Lead
at MobiDev (Kharkiv, Ukraine)
Code in Ruby and Elixir, but still love PHP. Explore ES6 and Vue.js. Explore databases, use Ubuntu and MacOS, think about IT people and management

Notes