This is how it all started

Posted by on Sep 13, 2013 in Various | One Comment

In the following article I want to relate how I started in the programming and web development industry, how I learned to code and build websites from scratch. Why did I write this you may ask? So I don’t forget. Time makes you forget things. My 28th birthday was close and I wanted to keep track […]

How to load and use SimplePie 1.3+ with CodeIgniter 2.1+

Posted by on Jun 18, 2013 in CodeIgniter | 2 Comments

The famous RSS parser, SimplePie, has changed a few rules in the last couple of versions. The previous methods used to install the library in CodeIgniter are now obsolete. Lets take a look at the new way to get it working in just 5 minutes.

How to automatically force a cache refresh on CSS and JavaScript files with PHP?

Posted by on Dec 30, 2012 in CSS, PHP | One Comment

There is your client, complaining that they can’t see the changes you just made to their website. You explain them that they need to delete their browser cache in order to properly visualize the modifications. They said they don’t know how, and this is when you lose your patience and decide for a more radical […]

Integrating the jQuery Validation plugin with Twitter Bootstrap

Posted by on Oct 22, 2012 in CodeIgniter, jQuery | 5 Comments

Twitter Bootstrap has some nice styling for error messages in forms. Using jQuery form validation could come handy and its actually pretty easy to integrate. The question is, how do we use the Bootstrap styling along with jQuery Validation plugin? Read on for more.

Mobile browser detection for WordPress – embedded is_mobile() function

Posted by on Mar 7, 2012 in PHP | 5 Comments

Lets face it. Responsive design is here to stay and it is the solution to all of our nightmares regarding mobile web design. For those who are not aware of this technique, I invite you to read my other post where I explain what it is. But lets get to the point. Sometimes we need […]

How is responsive design the answer to mobile web consumption?

Posted by on Feb 13, 2012 in CSS, Various | No Comments

The number of people perusing the web on mobile devices is huge, nobody can say otherwise. Ericsson reported that in the past year, mobile traffic more than doubled. The number of users in the United States alone who use the internet via a mobile device grew 19% over the past year. The Times of India recently reported […]

Load several instances of your Tweet, Like and +1 buttons asynchronously

Posted by on Sep 22, 2011 in Social Networks | No Comments

In one of my blogs, I was having issues with page loading because the social buttons were locking the page when they were being rendered. This is a serious issue for the visitor, since most of them just want to get to the info quickly. This issue is very noticiable on blogs, where you have […]

Finding unique array combinations with PHP (permutations)

Posted by on Jun 23, 2011 in PHP | 4 Comments

I was developing a website where people would place horse bets and the system should be able to calculate all the possible permutations based on the user selection. That means: finding all the possible combinations in a two dimensional array. I found a couple of functions but none of them would keep the array keys […]

How to add a Twitter Poll to your website

Posted by on Jun 17, 2011 in CSS, Social Networks | One Comment

Twitter is great and with it comes great ideas from everywhere. Today, I decided to try a new kind of poll that I really liked and will boost your Twitter mentions a lot. I am talking about Twitter Polls. If you don’t know what it is, keep reading, you will enjoy it.

How to add the Google +1 button to your website

Posted by on Jun 2, 2011 in Various | No Comments

Google started rolling the +1 button as an experimental version of Google Search. Today, the +1 button is available to everyone and this means that “you” as a webmaster can add the +1 button to your website and let people share on Google your content.

Twitter adds a one-stop ‘Follow’ button for websites

Posted by on Jun 1, 2011 in Social Networks | No Comments

Good news for us developers. Twitter added a new “Follow” button so people can one-click and follow you without leaving your website. It even pops a couple of tweets and some information about your profile!

Error Validation Class for CodeIgniter Reactor 2.0

Posted by on May 3, 2011 in CodeIgniter, PHP | 3 Comments

CodeIgniter lacks of an error handling class for custom errors. The Form Validation class is very nice for forms, the logs are pretty useful as well, but what happens when we need to handle our own errors?. Currently there is no official solution for this so I decided to take the matter in my own […]

Alternate row colors with pure CSS, yes, CSS3

Posted by on Apr 29, 2011 in CSS | 6 Comments

CSS3 is here. All the modern browsers support it, even the infamous Internet Explorer in its 9th version. In this small article we will learn how to alternate row colors in a table, or any other HTML element with pure CSS3. The best part is that you will be able to do it in just […]

Exporting your MySQL table data with PHPExcel + CodeIgniter

Posted by on Mar 8, 2011 in CodeIgniter, PHP | 12 Comments

Most of the time my clients need to download data from their database tables. Exporting to CSV is a pain in the rear for users and it leads to confusion (you know the colon and semicolon stuff). Today, I decided to make a very small controller that is portable and efficient for exporting full MySQL […]

63% of web video is HTML5 friendly

Posted by on Mar 2, 2011 in Various | No Comments

According to MeFeedia, from all the web videos around the net, 63% of them are HTML5 friendly. For those on iPad or iPhones, it believe this is a very good thing. Flash is a thing of the past for watching videos on your smartphone or personal computer, considering a year ago the percentage of HTML5 […]

Load More