Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

CFlickr
Project Home Contact Project

Author: Chris Blackwell (All RIAForge projects by this author)
Last Updated: November 21, 2010 5:42 AM
Version: 2.0
Views: 65,593
Downloads: 2,406
License: Apache License, Version 2

Description:

CFlickr is an API Kit for Coldfusion, it wraps the Flickr's REST API making it even easier to use within your CFML code.

CFlickr version 2 does away with the numerous cfcs used inthe original version and the one-to-one mapping of methods in the interfaces. Instead version 2 now uses onMissingMethod to dynamically call methods of Flickrs API and receives a response in JSON format which is then deserialized and returned directly.

This simple approach has a few advantages and disadvantages

Pros:
* Extremely lightweight, no longer need to instantiate multiple cfc's to represent a api response
* Very easy to work with returned data, everything is represented as Coldfusion Structs, Arrays and Strings.
* CFlickr.cfc can now be placed anywhere in your application, no more need for mappings or installation in the webroot

Cons:
* You must always used named arguments to your method calls, for exmaple cflickr.auth_getToken(frob='1234')

Requirements:

CF 8+
Railo 3.1
(OpenBD if it supports onMissingMethod)

Subversion Access:

You may access this project's Subversion repository with your client here: http://svn.riaforge.org/cflickr.

To view files and changelists associated with this repository, go here: http://cflickr.riaforge.org/index.cfm?event=page.svnbrowse.

You may download the latest set of files from Subversion as a zip file.

Anonymous users have read access to the repository while the administrator has write access.

This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/