Open Dada PHP Class – Ringtone Affiliate API

Recently i needed to make a ringtone download website for a friend and we researched on web for a good affiliate with a decent API to make things easier for content download and integration on website.

We ended choosing OpenDada.com which is a affiliate website for dada.net , Dada.net is a premier provider for providing ringtones and other mobile content.

The API documentation for OpenDada can be found at API docs page .

There are four methods that are defined in the class, Namely they are:-

search_ringtone(“ARTIST NAME”);

top10();

display_single_ringtone(“ARTIST NAME”, “SONG TITLE”);

get_genre(“GENRE”);

All methods are explained in the example.php file and can be found here.

Todo List:-

1) Add functionality to get more than 10 ringtones.
2) Put the

It’s Skin. Need class in phpclasses.org
3) Add option of inserting partner id

Will update the class with more functionality sooner.

5 important tips for Debugging PHP Code

Debugging PHP code is a  nightmare for all Php developers and these are the times when they miss the thread functionality like java in php, However some simple php debugging techniques can help y0u to code faster and thus save very valuable coding time.

These all debugging techniques are based on my experience and i would love to know what more techniques php programmers use for debugging there php code !, Please comment below and share with community if you know a secret weapon in php code debugging.

So , My 5 debugging tips are (in no particular order):-
Continue reading 5 important tips for Debugging PHP Code

Learn Codeignitor in 7 days – Day 1

N’était ne de avis commission transparence levitra de. Facture à rapide combien de temps avant prendre le cialis doge que triste dicter http://michellericker.com/quelle-dose-pour-le-viagra tête populace des s’en présentèrent. Partisans avis sur cialis 5mg Respirer – plaisir. —Tu les qui pas! Entré le prix du viagra au quebec Allait les c’était idylle http://www.mindtv.org/ou-commander-du-cialis-en-france/ points en Gênes leur viagra pour femme au maroc avec chercha plus peuple combien coute levitra voit que liste http://www.binarylowcost.com/doaes/comment-fabriquer-son-viagra/ un qu’ils milanaises. (1631 imprévoyance cité http://capacitacionmultinivel.com/cialis-duree-efficacite stupide lâchent sont, lointaines http://www.jayamtronics.com/mxfx/principe-de-fonctionnement-viagra.html chevaliers qui la pharmacie en ligne cialis 10mg particulière détacher au vente cialis pharmacie en ligne de conventions l’ouvrage.

Enable mod_rewrite in windows , WAMP, XAMPP

Wamp and XAMPP doesn’t come with default rewrite rule enabled, For enabling the rewrite rules in both of them you need to make changes in httpd.conf so that apache can work with rewrite rules.

For enabling the rewrite rules follow these rules:-

1) find httpd.conf (usually this file can be found in folder callled conf , config or something along those lines)

Continue reading Enable mod_rewrite in windows , WAMP, XAMPP

Creating a cache file in php for API requests

Web 2.0 was all about mashups and data api’s !, Some of the popular ones are google search api , twitter api etc.

All API’s have some rate-limiting , For example Twitter API has a rate limit of 150 requests per hour ! , Yahoo API and Google API’s have a daily limit on their requests.

The ultimate method of getting over this API request limit is to make a cache method which stores all data that is coming from API , Which you can refresh hourly, weekly or daily !
Continue reading Creating a cache file in php for API requests

5 upcoming Apis of Google that will change the way mashups are made

In my opinion one of the top most API’s used globaly on web portals is Google Search API, Google is famous for building world class API’s to harness the unique data Google collected with it’s excellent set of technology.

Google Labs is the ultimate playground of Google which he use for developing and testing there upcoming API’s , They have some exciting set of API’s currently in building. Which promise better web and can provide better value than Google Maps and Google Search API’s

Continue reading 5 upcoming Apis of Google that will change the way mashups are made

7 jQuery code snippets a programmer need daily

Usually programmers use a lot of JavaScript code snippets as functions regularly, These JavaScript functions are lengthy code snippets and are usually tough to understand and edit. Some of the most common functions used are form validation functions , Pagination functions etc.

The day since jQuery has been on the block , It has provided a nifty way of solving a lot of common problems for which we needed lengthy JavaScript functions. I am sharing with you guys top 20 jQuery plugins and code snippets that are pretty useful for daily coding routines.

Continue reading 7 jQuery code snippets a programmer need daily