Blog posts

Simple Basic PHP Tutorial for Beginners

What is PHP

PHP is scripting language used for web development. It is one of the several web languages out there. It can be said to be easily the most widely used language for building websites.

PHP stands for Hypertext PreProcessor. It is a server side language due to the scripts getting executed on the server and not on your computer.The most recent version of PHP at the time of this writing is is PHP 5.5.0

BlackBerry 10 launch event, Wednesday January 30

President and CEO of RIM Thorsten Heins launched the BB10 today.

He said RIM had definitely been on a journey of transformation not only for their business and brand, but one which he truly believe will transform mobile communications to mobile computing. He saidd it has been the most challenging year of his career till date, but the mosst exhilariting and rewarding.

Google Nexus 7 and 10 are now available again.

Google Nexus 7 and 10 are now available again after a while of waitig.

I had the opportunity of playing with one for a whole weekend. The 7 inch and 10 inch both come in 16gb and 32gb. As you know the 7 inch was built by ASUS, and the 10 inch by samsung. The Nexus 7 16gb goes for 159 pounds, However you get to pay an addtional 10 pounds for shipping at checkout. the 32gb nexus 7 goes for 199 pounds.



CodeIgniter Vs Laravel

CodeIgniter has been the most preferred and still is currently the most preferred PHP framework for building simple websites rapidly. Reason been, CodeIgniter is relatively easy to use and understand. It has what I will term by far the best documentation for any PHP framework. Plus it also has a very large community base meaning you can be guaranteed that it is stable and been tested by many users. 

Ifixit gives Microsoft's Surface RT tablet a low repairability score

Ifixit posted their tear down of Microsoft Surface for Windows RT. Microsoft Surface scored a repairability rating of 4 out of 10 (10 is easiest to repair). Although while this might seem low, apples repairability rating is 2 out of 10. Here are the reasons iFixit posted at the end of the process, 


Themeing views exposed filter in drupal

There are not many tutorials out there on themeing views exposed filter in drupal. I recently had a project from a client in which I had to learn how to theme views exposed filter. Here is the solution on how I did it.

In your views module locate the themeing file for exposed filter called views-exposed-form.tpl.php, anc copy it into your theme directory. For those who do not know the location of the file, here is what the code looks like

Alter views in drupal

Have you ever wanted to implement a custom sql query for view? Recently, I was working on a project and I wanted to pass an argument to my filter. No matter what I tried doing it never really worked. Someone even suggested using a module which I never found so I started my research on how to manually pass this value to the already generated query.

Then I stumbled on the views hook called hook_views_pre_execute. What this hook does is, it overrides your initial query generated by the views module.


Subscribe to Blog