5 Reasons Why Use Object Oriented Programming (OOP) in PHP

Hi guys! I’d like to share to you on why use OOP in PHP. Btw, this is my first post here, so I’m really excited! *giggles*

First of all why do we have to use OOP?

We all know that there are two types of programming languages, the Procedural Type, and the Object Oriented. Procedural Types are common in C languages and ASMs, it may also be the first type of PL you may have used. And there is OOP or Object Oriented Programming. Vb is an example of an OOP type.
I don’t want to elaborate those things because I am assuming that you guys already know the difference. If you don’t, you might want to do some Google-ing stuffs.

So back to PHP. We’ve seen PHP as a procedural language. But obviously, it is not. PHP can also do some OOP stuff too.

Continue reading

Resolving conflicts with other javascript libraries that use $() function – JQuery.noConflict()

One of the reasons that make a software popular is its extensions and plugins. jQuery has plenty of plugins that do almost anything you want, from simple button hide to full blown galleries. Plugins let non developers easily add functionality they need to their websites and there are times when one might include more than one javascript library such as prototype.js, YUI or mootools with jQuery. They all use $ as their main function name. Including second library might brake the behavior of the first one. To resolve such cases jQuery introduces .noConflict() method.

Continue reading

Most Common CSS Mistakes

Working with CSS can seem like a constant battle. Browsers are always changing they way they read the code and Internet Explorer is a culprit. While it’s an incredibly powerful language, it can easily be used incorrectly, which will doom your development to a lifetime of imperfections.

Here are some common CSS mistakes we all make.

Continue reading