27 Jul 2013
For some time now I've been using Apache Solr search engine, and I thought that some people might be interested in the advantages and disadvantages of the software, and why they should probably use it or not. This article is not supposed to be a tutorial on how to install and use it, as it will be a really long article, and also there is some official documentation that you should read if you are already convinced to use it. It is just personal thoughts and opinions, as I am not a searching expert.
Image from flickr - Original photo from fabiolug
30 Jun 2013
Writing in PHP is fun. It is a language that gives the developer the chance to focus on business logic rather than spending half of their time deciding which type of variables you will use, being confused with pointers, or trying to find what each exception type means. I used to write in Java when I was in university. I definitely cannot do this anymore. Writting in a language like Java is interesting, but it can be really no fun. However this gives Java a big advantage. It is such a strict language that it is quite hard to get bamboozled, while in Php even the most crappy piece of code will work, making it really easy for the developer to be lazy and write unsecure, buggy and generally bad code. In year 2013 and you can still see lots of php login systems using plain md5 hash, quering the database with the "old-school way" and having insecure code. Some tips to be secure are simple though.
5 May 2012
Most applications developed with ZF1, are composed from single modules. An e-shop for example could be analysed in two modules, the shop management (product, order, statistic etc. management) and the actual shop. Myself I have divided returnsuccess blog in 3 modules. The CMS, and the actual blog. It is obvious that I needed different layouts for each one of them (It is imposible the CMS and the mobile edition to share layouts).
We will create a simple Zend plugin to choose layout according to the module.
14 Oct 2011
As more and more devices are capable of connecting to the internet it is time to imagine how we want our websites to look on an android phone, a tablet, a netbook or our very wide screen. So we have to think responsively.