Archive for the 'PHP' Category

The inside scoop on Wikipedia & DBpedia.org

Monday, June 30th, 2008

Since the creation and launch of Wikipedia back in 2001 many people from all over the world have been busy collaborating, adding and updating content on this very popular wiki web.

The wiki concept started a long time ago back in the early 1990’s, nevertheless, Wikipedia, even though it hasn’t been around too long, it is by far the biggest and most active wiki on the web.

The amount of valuable data that has been accumulating on Wikipedia is already in the millions. The biggest challenge now is making all of that data relevant and meaningful to users exploring and searching for information.

Most people arrive into Wikipedia via Google… for example, if you do a quick google search on pretty much anything you’ll most likely get Wikipedia at the very top of the search results. That’s due to Wikipedia’s huge link popularity and page ranking (Different topic).

Read the rest of this entry »

Quick guide on how to choose a programming language

Tuesday, June 17th, 2008

I know, is not an easy thing, just don’t go with your gut feeling, make a solid assessment based your own experience, market, location and type of project (Just to keep it simple).

Most programmers will lean towards their favorite programming language and will give you a biased opinion. Some are more objective and willing to see beyond their comfort zone.

Read the rest of this entry »

Pull data from Google Search API and decode JSON string using PHP

Wednesday, June 11th, 2008

PHP has a built-in function that can decode a JSON string and turn into an object or an object tree and is called PHP-JSON. This is very helpful for when you need to integrate or mashup with other application such as the google APIs. Here is a quick simple example:

<?php
$json_str = ‘{ “name” : “chris”}’;
$obj = json_decode($json_str);
echo $obj->name;
echo “\n”;

The above will return:

chris

Read the rest of this entry »