Torkil Johnsen

My personal piece of cyberspace

Facebook API tutorial with PHP SDK

Posted in PHP on Dec 6th, 2010

Joey Rivera wrote a nice tutorial where he demonstrates how to use the Facebook PHP SDK to interact with Facebook’s Graph API. He presents a few simple examples where he starts out by creating a Facebook Application, and then goes on to both read and add photos and a status message. It’s a short and sweet tutorial, and really easy to get into.

Installing Phing on MAMP (Mac OSX)

Posted in joomla,mac,mamp,osx,pear,phing,PHP,Web apps on Apr 6th, 2009

Just bumped into Phing, and thought I’d share my experiences. Installing Phing is easy enough. Phing is a build system in the shape of a PHP Pear package, that can do many things. To quote Hans Lillelid, this could include for instance configuring, packaging, uploading and testing. Ideal for building installable Joomla zip-files, which is what I am using it for right now.

MySQL connection (resource) management

Posted in Content management,Databases,PHP on Aug 18th, 2006

Just came across a good article by Jay Pipes talking about lazy loading and caching of content. A nice read with some good code examples that I thought I should share with my fellow readers. (more…)

Creating symlinks without shell access

Posted in Content management,PHP on Aug 9th, 2006

While testing out the WordPress plugin WP-Cache, used to cache and speed up wordpress powered websites, I came across a list of commens on the plugin creator’s website where alot of comments had questions as to how one should create a symlink that was required in the plugin installation. (more…)

Creative Commons License
This work by Torkil Johnsen is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.