Open Source

AngularJS awesome JavaScript framework

AngularJS awesome JavaScript framework

I was looking for easy and nice solution to maintain my growing JavaScript. I tried Backbone.js which is my opinion a little bit “to” complicated. Of course – you can do everything, but.. it was to much hassle with coding in details. Second approach was to KnockoutJS – this one is really nice but from the other hand – I didn’t have much on control on my code and details, but everything was really nice and sleek. So… Quite similar like with choosing PHP Framework. I wanted something which will do some job for me, but I also wanted to have control on everything. That’s why I chose CodeIgniter which was perfect for me. But… with JavaScript – Finally i funded: AngularJS . Made by Google engineers – but super nice and sleek.

CodeIgniter and PHP_CodeSniffer

CodeIgniter is the king 😉 But if we want to create good quality code, we should be aware about CodeIgniter style guide standards. What can be better than PHP_CodeSniffer for keeping our code consistent and clean as much as it possible.

Unfortunately standard rules from PHP_CodeSniffer doesn’t apply for CodeIgniter. You have to install additional set of rules – you can download them from here: PHP_CodeSniffer rules for CI .

Drupal and lighttpd mod_rewrite settings

Drupal and lighttpd mod_rewrite settings

Lighttpd is awesome and very fast webserver. But has one big disadvantage – is not reading apache .htaccess files with rewrite settings. Unfortunatley you need to create them manually in config file. How? Examples are below: