June 25, 2015

As you may have noticed (or not), this blog has been moved from Wordpress to Jekyll. Why? Short answer is that It’s cheaper.

April 11, 2015

I have just started learning Symfony Framework for PHP and the first thing that I did is to create a simple vagrant box with just PHP and mysql.

February 6, 2015

Laravel 5 is now officially released! You can check out the new features here https://laravel-news.com/2015/01/laravel-5/

January 16, 2015

A lot can go wrong just by naively storing passwords. Imagine if someone got in your system and stole your database including your email address and passwords. You have to admit, a lot of people are using the same passwords for their accounts so if passwords are stored as plain text, they could then hack your email potentially gaining control of sensitive and even financial information.

December 22, 2014

You may have noticed that phpinfo(); does not work in HHVM. Try the code below.

October 31, 2014

After updating OS X to Yosemite, Xcode 6 immediately became available. After updating, my perfectly working apps are now crashing. Let’s try fixing Xcode 6 property.

August 22, 2014

Laravel is very good framework in creating PHP apps. It’s fast and has a lot of cool features such as queuing, DB migrations, DB seeding, artisan command line. Also, Laravel’s dependency is managed by Composer, so you’ll need to worry less about compatibility.

June 16, 2014

In computing, a shell is a way for the user to access an operating system’s service. Generally, the either use a graphical or command-line user interface (GUI/CLI). Since web servers are basically just computers, there are ways to move your website using the command line. Server’s CLI is accessed using Secure Shell (SSH), it’s a network protocol used for secure data communication, remote login and remote command execution. Basically, you can remote control the server from your house.

February 1, 2014

to wp WordPress is a popular CMS. It has grown from a simple blogging engine into a very versatile platform.

January 19, 2014

In this video, a guy proposed to his girlfriend by doing a phishing kind of thing to his GF to make her think that she is in Facebook where in fact she is somewhere else where the guy already set up a surprise.

December 30, 2013

It’s almost new year and I thought why not make a quick post about countdown timers just in-case you want to have one for your blog.

December 25, 2013

There are a lot of instances where in a mobile device connects to the internet. And for developers, it’s a must to be able to see these requests of debugging and optimization purposes.

October 31, 2013

AngularJS is an awesome framework that allows data bindings to your HTML. Whenever the a variable changes, all the corresponding values in the HTML are automatically changed without further coding. You can make dynamic tables with ease. But as awesome as it is, there are stuff that jQuery does best. Angular may lack in parts of events. For example, what if you want to trigger an angular method whenever the user reaches the bottom of the page he is scrolling?

October 29, 2013

Creating login and registration functionality in your CI project is repetitive work. Almost all projects have those functionalists. So I made a simple template to start with, so you can start coding the important stuff. This is made using FlexiAuth Library.

October 26, 2013

Editing directly through FTP can be risky. Files can get corrupted and you are doomed when it happens. Your editor can crash while you are working with a file, or someone else broke the file you are working on. Either way, you need some sort of back-up. There is a neat trick that you can do with your Notepad++ where in it does the backup for you. You can even go to the next level and apply extra layer of git.

October 21, 2013

Adsense is the best for monetizing blogs. Because it’s popular and has a lot of advertisers, there are also a lot of ads to display and more money for the publishers.

October 15, 2013

What is a domain and the DNS

October 8, 2013

**An invalid hidden character. You get if from copy pasting from a document file like MS Office.

October 6, 2013

This post is a log during my site’s optimization. The page speeds in the tests are not very consistent, so I’ll focus on complying the optimization checklist.

August 29, 2013

is a web-based hosting service for software development projects that use the Git revision control system. GitHub offers both paid plans for private repositories, and free accounts for open source projects. As of May 2011, GitHub was the most popular open source code repository site.

August 28, 2013

As web developers, there are instances that we need to see he insides of a website without having an access to it’s back-end. Yeah, you can manually check the source code or the HTTP headers for clues, but there’s a simpler and much faster way. Use http://wappalyzer.com/.

August 28, 2013

If manual SQL import is your last resort to migrate a database from one WordPress site to another, then, this method is for you. The advantage of this method is that widget information will be preserved, unlike the Find-All-And-Replace-All method which basically breaks the widgets.

August 26, 2013

By default, pressing Ctrl+P will print the current webpage you are visiting. But without special attention from the developer, you could waste your ink by printing all the stuff that you don’t want to print.

August 17, 2013

JSON or JavaScript Object Notation is a, is a text-based open standard designed for human-readable data interchange.

August 15, 2013

As developers, we always seek ways to finish the work before the deadline. So it’s a good idea to use tools to speed things up a bit.

August 12, 2013

CSS Level 3 has awesome new features that makes web development easier for us. It allows rounded corners, gradient colors, box and text shadow, transitions, etc. But in the other end, there is the dreaded IE where and it’s lower versions that does not support CSS3. We are itching to use CSS 3 to its full potential but since we have to create website for everyone, including IE 8 and below, we can’t use CSS 3 to it’s full potential.

August 11, 2013

This article is for all of you who never tried setting up a real website with a domain. What you need To start a website is a server to be the home where your website lives.

August 5, 2013

As I have mentioned in the [previous post][1]. Long polling is an AJAX request that behaves as if it is attached to a server event. For instance, in this example we will try to use long polling to pop out a notification as soon as it is inserted in the database.

July 31, 2013

A WordPress Child Theme is simply a theme that inherits a parent theme. It allows you to modify the parent theme without touching it’s files, it is done by overriding it’s files.

July 31, 2013

If you like Bootstrap and WordPress and want them to get intimate and produce and offspring, then you might need BootstrapWP.

July 17, 2013

I’m not really an expert in Software Engineering, but I have my own share of educational experience to understand more about Object Oriented Programming. It is not just another way of programming, but it’s another way of thinking itself. you have to drift away from the classic procedural aproach in order to appreciate the beauty of OOP.

July 7, 2013

Tired of implementing login functionality all over again? try this.

May 3, 2013

[Lukasz Kujawa][1] did some [benchmark on famous PHP frameworks][2]. I’m glad that my all time favorite [Codeigniter][3] is in the upper half. It may not be the fastest, but the point of a framework is for faster and more comfortable development, so it’s ok.

May 1, 2013

http://bootsnipp.com/ is a collection of commonly used snippets for twitter bootstrap. All you need to do is select a layout and then copy the codes for the layout.

March 26, 2013

One of the things I learned in the world of software/website development is to not make it perfect in the first version. This doesn’t mean that don’t put your heart in to it, what I am trying to say is don’t put too much features in the first version.

March 16, 2013

The “Fragment Numpad” is a simple keypad app that has buttons from  0 to 9 and clear, when a number is pressed it is then appended to the display board. When the clear button is pressed all numbers in the board will be removed.

February 24, 2013

Best way to make your data persist even when your app is destroyed is by saving your object’s instance into a file and loading them back when you need them. But in the course of using these technique, I stumbled upon some things to consider to make it work.

February 9, 2013

When you want to make changes to a live website, you ideally copy the website to your computer, modify it there and re upload it when you’re done. The problem with this is that most sites are configured to work in a specific domain. Transferring to “localhost” will need further fixing.

December 5, 2012

Being a web programmer is an awesome and rewarding profession, especially when people appreciate your creations.

November 22, 2012

The internet is undoubtedly one of the most popular sources of knowledge. But not all people are able to acquire knowledge comfortable, specially those with impaired eyesight.

November 11, 2012


November 11, 2012

Backup Buddy is an essential tool for developers and webmasters alike. It’s a WordPress plugin that automatically back’s up everything in your WordPress site including images, comments, posts, and even non WP files.

October 30, 2012

This Datatype cheat sheet is mainly for PHP/mySQL combo. I cannot possibly cover all the “field types” in this initial post but I’ll be listening to your comments for the things to add.

September 19, 2012

Today’s websites compared to it’s ancestors 10 years ago are far far more sophisticated. Not only in design but also in its underlying technology. One of these technology that is common in modern sites is having real-time data. You can easily observe this when using the ever popular Facebook. It has top right bar called the ticker, it automatically shows you your friend’s activity exactly when they happen.

September 16, 2012

What is Database Sharding?

September 12, 2012

WordPress itself already offers some degree of protection against hackers. But since its code is free to for everyone to tinker with, it can’t be helped that its security holes are easily discovered.

September 7, 2012

Codeigniter Add/Edit/Delete Maker is a Codeigniter library that automatically creates a simple add/edit/delete module.

September 1, 2012

WordPress plugins are a neat way to extend WordPress without tampering with the core files. This allows the system to be extendable while maintaining its ability to be upgraded.

August 26, 2012

PHP is has a strong community, and by that I mean there are a lot of good programmers out there developing opensource classes for PHP.

August 25, 2012

Facebook apps for pages – they are Facebook apps that can be used in Facebook pages in order to customize user experience. They can range from contact forms, galleries, e-shops, slideshows, embedded flash or anything you can think of.

August 11, 2012

What is quirks mode?

August 8, 2012

Why you need to continue reading?

August 4, 2012

Why do I need a development version?

August 3, 2012

Some Side Story
I know the title says “How to test javascript codes without writing it in a file”, but I wanna say something first. In the old days (when I was a student), I never really knew there was more to web developing than IE. I use IE 6 to debug everything from CSS, html and JavaScript. I even used to code only using notepad. I can’t even imagine why I didn’t went crazy that time. It’s just that I didn’t know any better. Why not research on it in the internet? Well, our town din’t have a bountiful access to the world wide web either.

July 5, 2012

Magento is a truly powerful e-commerce platform. It works well out of the box complete with e-commerce and security features. But its a little bit not perfect. It seems that Magento’s RSS is not totally valid. It’s not a big problem but it doesn’t hurt to fix either. So, how to defeat Magento feed validation error?

July 5, 2012

Sometimes you want to do a cross-domain ajax or an ajax request to other domains. Specially when calling web APIs. But as a security feature, some browsers does not allow ajax request to other domains. But as far as I know there are 2 handy and quite simple tricks to overcome this. Using JSONP (json with padding) and using PHP Proxy

June 26, 2012

When doing JavaScript, you may experience at times when your JSON seems to be out of syntax. But the question is.. “How to debug javascript json errors?”

February 24, 2012

In case you don’t know this already, WordPress already includes jQuery in its package. But the problem with it is you have to use “jQuery” instead of the very simple “$”. I have a very simple but often not known trick to use $ without a lot of work.

February 9, 2012
It converts your site into a mobile site that looks like an app using jquerymobile . It will work directly after install without any configuration. It also has a theme system that is similar to a Wordpress theme . You can access the theme inside the plugin folder to modify the plugin to your needs.
February 4, 2012

There are times when you want to schedule a task in WordPress. It could be that you want to automatically retrieve data in a certain time or automatically or you’re running a promo that declares 1 random winner per hour. The possibilities are limitless.

February 2, 2012

Why is their a need to Increase the PHP Memory Limit in WordPress? Some hosting company limits your php memory to 32mb by default – WordPress is a CMS built in PHP. It requires and demands a lot of memory to process heavy PHP scripts.

February 1, 2012

When it comes to creating pagination, it’s quite puzzling at first when you’re using mssql since it only has TOP 1, unlike mysql that has LIMIT 1,2 where you can specify an offset. What I have here is a handy function that makes your mssql code paging friendly. :)

January 26, 2012

Having problems importing a large MySQL Database file?  You can’t access the server shell and you can’t import the dump using phpMyAdmin or any other scripts due to hard memory resp. runtime limit of the web server?

January 25, 2012

Orphan entries  are table rows who’s foreign keys does not relate to another table.For example, look at the sample database below of a blog. A blog can have zero or more posts, but what happens if the blog is deleted and the posts are not? The posts will not have a blog where they belong and they become orphan entries.

January 19, 2012
Did you know that you can actually add conditional statements to your css? This is very useful when you are creating layouts that automatically adjust when the with of the window changes.
January 19, 2012
This is a neat way to cache your Wordpress site. It stands above the cache plugins because it executes before everything else. Just add this code at the beginning of your index.php in the root directory.