Create views display plugin for services
marcingy - March 8, 2009 - 16:08
| Project: | Services |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
| Issue tags: | views service integration |
Description
After discussions with Boris Mann, Merlin, heyrocker, snelson and Robloach at drupalcon DC it was agreed to introduce a views display type for services. This type will allow services to be exposed via the views builder and allow users to define security etc. This is raised as a placeholder and stimulate discussions about this issue.

#1
added tag
#2
This patch is an initial roll of a views display plugin for services. At the moment it doesn't really do much at all but I wanted to share my work so far. Basically it exposes a new display type of service to views. The services_view module in hook service then picks up these entries from the database table and build service definitions for the views. Views arguments are used to defined service arguments. These services can be viewed on the browser services page - note that the cache is not currently being cleared when a view is being created so you have to manually flush the cache to see them. There is a lot of work that needs to go on in terms of defining types etc. Feedback welcome eventhough it is early days.
#3
Wonderful. Nothing to add today, but subscribing and hope to contribute going forwards. Anyone at DC Paris looking at this? I will be there. =)
#4
Greg
Looks like I'll be at drupalcon Paris so if you fancy getting together to work on this issue at the sprints or anything else services based ;) I believe Hugo and Amitaibu are also going to be there.
Marc
#5
Hi Marc - would love to. I really need to work on my PHP OO skills so pairing with someone on a nice Views 2.x project would be great. =)
Edit: Your d.o contact form is switched off by the looks of things, but mine isn't, so ping me an email about DC via that (it goes to my Gmail account) and I'll reply.