[ckan-dev] CKANClient-J (+ an introduction)

Andrew Martin andrew.martin at newcastle.ac.uk
Mon Apr 15 15:09:17 UTC 2013


Already on it, I should point out the way I'm doing it at the moment isn't a 100% formed pattern, as I find out more about the API I'm going to try and use factories in the java code to (in effect) "loosen" the type casting somewhat...

Andrew

From: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of Ross Jones
Sent: 15 April 2013 13:31
To: CKAN Development Discussions
Subject: Re: [ckan-dev] CKANClient-J (+ an introduction)

Hi Andrew,

Welcome to the list, glad to see you managed to get around the list problem :)

That's great, I suspect maintaining a list of action calls as the CKAN core API grows might become a little onerous, but you know, the joys of statically typed languages ;)  Not sure who on the core team is comfortable with Java, but if no-one objects, and if you submit a PR I'd be happy to try it out and merge the changes for you. I think there is another fork of the client containing a few patches, so it'd be great if you could merge those in too.

Ross.

On Mon, Apr 15, 2013 at 1:05 PM, Andrew Martin <andrew.martin at newcastle.ac.uk<mailto:andrew.martin at newcastle.ac.uk>> wrote:
Hello all,
                As a newbie I thought I should introduce myself, we're currently evaluating the potential of CKAN at Newcastle University and I'm focussing on the integration side of things, I've had a look at a few of the clients and all 3 versions of the API, it does all seem relatively sane. As much as I like REST I'm also liking the RPC departure in the version 3 API.

I have a bit of a history with creating web services and clients for SOAP and REST, in Java and PHP (plus a little in c# and .js), so I thought I'd see if I could make my life easier before starting any integrations, so, I have taken a fork of Ross Jones' prototype java client and added to it and tried to make working with it easier too (not that it was hard to begin with!) and so far I've managed to work my way through everything on this list... https://github.com/andmar8/CKAN-Java-Client/blob/master/README.md#actions-api

A few of those existed already, so I'll not take credit for that(!), but I'm playing with a little structural rewrite that makes adding the missing API much faster.

Once this is a little more mature I will port the code to PHP, which shouldn't be too hard a task given the PHP web service libraries!

Just thought I'd let people on the list know....

Andrew Martin
Research and Collaborative Services
Newcastle University

_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>
http://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130415/e71fd64c/attachment-0001.html>


More information about the ckan-dev mailing list