Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Konstantin's Blog:
Counting Facebook Fans in PHP: The Graph API Way
Aug 25, 2010 @ 18:06:30

In a quick new post to his blog Konstantin shows how to get the number of fans for a Facebook page with a quick two line piece of code that uses their Graph API.

In a previous blog post called How to Count Facebook Fans in PHP I've shown a code snippet of how to count the number of fans on a fan page using PHP. Times have changed, the Graph API has been introduced, and due to some responses I introduce here the new way of retrieving your fans count using the new Graph API and php.

He uses the Facebook PHP SDK to make the connection and call the "api()" method on a page (his example is the one for Mashable) and return back an array that includes the "fan_count" value.

tagged: graphapi facebook fan page api sdk

Link:

Chris Shiflett's Blog:
Ruby on Rails Fans
Feb 02, 2006 @ 12:57:19

In his latest post today, Chris Shiflett takes a good look at Ruby on Rails from the perspective of a PHP developer to see what all of the fuss is about.

I'm glad to see all of the hype surrounding Ruby on Rails lately. I've always been an advocate of open source software, and Ruby (particularly Ruby on Rails) is yet another feather in the cap. I'm not afraid to say it - I'm glad Rails exists.

I do think it's good to maintain some perspective, and some Ruby fans are more than a bit overzealous. Ruby on Rails is a niche technology, and although all signs indicate that its popularity is growing rapidly, it's a bit premature to be thinking that it will dethrone existing technologies.

He goes on, mentioning that he doesn't see Rails as a direct competitor to PHP, rather two technologies that have the flexibility/power to do the same jobs well. There are "camps" for both sides, but really, as Chris puts it:

It's also important to realize that excitement is subtly different than popularity. Excitement is trendy.

He lists a few sites built in both, noting that, of the popular sites out there, things seem pretty equal. He also notes that, despite what language you're using, the real key is that it takes a good developer to write a good application, regardless of the language...

tagged: ruby on rail fan hype versus java j2ee good developers ruby on rail fan hype versus java j2ee good developers

Link:

Chris Shiflett's Blog:
Ruby on Rails Fans
Feb 02, 2006 @ 12:57:19

In his latest post today, Chris Shiflett takes a good look at Ruby on Rails from the perspective of a PHP developer to see what all of the fuss is about.

I'm glad to see all of the hype surrounding Ruby on Rails lately. I've always been an advocate of open source software, and Ruby (particularly Ruby on Rails) is yet another feather in the cap. I'm not afraid to say it - I'm glad Rails exists.

I do think it's good to maintain some perspective, and some Ruby fans are more than a bit overzealous. Ruby on Rails is a niche technology, and although all signs indicate that its popularity is growing rapidly, it's a bit premature to be thinking that it will dethrone existing technologies.

He goes on, mentioning that he doesn't see Rails as a direct competitor to PHP, rather two technologies that have the flexibility/power to do the same jobs well. There are "camps" for both sides, but really, as Chris puts it:

It's also important to realize that excitement is subtly different than popularity. Excitement is trendy.

He lists a few sites built in both, noting that, of the popular sites out there, things seem pretty equal. He also notes that, despite what language you're using, the real key is that it takes a good developer to write a good application, regardless of the language...

tagged: ruby on rail fan hype versus java j2ee good developers ruby on rail fan hype versus java j2ee good developers

Link:


Trending Topics: