CSS Specificity

| Webtraffic Exchange

CSS Specificity - Which CSS Rule to apply?

Each CSS selector has a specificity value and the more specific the selector is the higher precedence it has. If multiple selectors apply to a single element, the highest specificity CSS rule applies to the element. Have...

Development

Read More +
ZF2: ZF1 like URL Routing

| Webtraffic Exchange

ZF2: ZF1 like URL Routing

ZF2 introduces a new routing for the framework which is similar to ZF1 but has slightly different semantics. The skeleton application ships with a default Application level router which takes a matching controller/action...

Framework

Read More +
Android ROM Explained

| Webtraffic Exchange

Android ROM explained

There has been a lot of talk about Android ROM and how to flash it with a custom ROM to bring new features to your smartphone. People are also talking about rooting an Android OS and installing aftermarket firmware on it...

Development

Read More +
Doctrine 2 with ZF 2

| Webtraffic Exchange

Getting started with Doctrine 2 in ZF2

Using Doctrine as an ORM to persist your data significantly lowers your overhead in managing your database. However, if you're just getting started with Doctrine, you'll have to invest in moderate time to overcome the le...

Framework

Read More +
Get Client IP from PHP

| Webtraffic Exchange

How to retrieve Client IP address in PHP?

There are a number of array name/value pairs provided in the PHP's "predefined" $_SERVER variable, which you can use to extract client's IP address. Some of the IP-related $_SERVER parameters retrieved from the web serve...

Programming

Read More +