Services

Events happening in the community are now at Drupal community events on www.drupal.org.

This is a discussion and working group for anyone interested in the Services module and related modules. This module was created out of a need for a standardized solution of integrating external applications with Drupal, specifically Flash and Flex applications. Visit the issues page for all bug reports. Also visit the Services Handbook for information and examples.

New Drupal/AMFPHP/Flex site

Posted by wishbone on January 5, 2008 at 5:03pm

Some history: I developed a Plone CMS/XML/Flash app a year ago for a university and have had problems with speed, XML filesize and scalability (for rather obvious reasons). Now I have a contract for a MAJOR music/film entertainer and want similar functionality with increased speed and use of AMF. I started yesterday with custom php/mySQL and Flash Remoting and then found this group. :-)

Read more

REST Server

Posted by robloach on January 5, 2008 at 6:35am

A REST Server is now available for the Services module, so that external REST clients can communicate with Drupal Services. In order to use the REST Server, you have to install the Zend Framework.

http://drupal.org/project/rest_server

Read more
4 comments Categories: , , ,

Lesson #38: Drupal and the Desktop

Posted by robloach on January 4, 2008 at 2:45am
Start:
2008年01月05日 11:00 - 13:00 Canada/Eastern

Only local images are allowed.Drupal is a powerful web application platform, we all know that. But what happens when we want to use it from the desktop in a software application? Join the world of Drupal web services in this lesson, covering how to break down the bridge between the desktop and Drupal through Services and Mono/.NET.

Read more

The Zend Framework Module

Posted by robloach on December 28, 2007 at 7:57am

The Zend Framework Module for Drupal ensures that the Zend Framework is installed properly and ready for use. It lists the Zend Framework version number in the server status page, let's the administrator change Zend's installation directory, as well as provide a nice API feature set to make the Zend Framework's functionality easily accessible to other modules. One of these API benefits is the zend_initialize($class) function that cleanly includes a class from the Zend Framework and make it ready for use.

This could lead to some very powerful Service modules that use the powerful web service platform.

Read more
10 comments Categories: , ,

phpbb3

Posted by krisbfunk on December 28, 2007 at 5:19am

has anyone here attempted to use the Services Module to show phpBB3 within a drupal page? (post drupal5/phpbb3 integration)

it's explained here for phpbb2, but i'm not sure how to do the same thing with phpbb3.. just wondering if anyone has attempted it, or is willing to lead me in the right direction to do this with phpbb3..

http://drupal.org/node/44977#comment-265968

Read more

Help me with 'My account' -> 'Edit' form..

Posted by napoly on December 26, 2007 at 1:56am

Hello people..

I'm trying to populate some forms with flex.. one of the most important is user edit form..[I'm really new to this and drupal].. so I called my simple one-line service return user_edit_form() to see the structure:

Result

Array
(
[account] => Array
(
[#type] => fieldset
[#title] => Account information
[name] => Array
(
[#type] => textfield
[#title] => Username
[#default_value] =>
[#maxlength] => 60
[#description] => Your preferred username; punctuation is not allowed except for periods, hyphens, and underscores.
[#required] => 1
)

[mail] => Array
(

Read more
1 comment Categories:

Service Permissions

Posted by ccdoss on December 20, 2007 at 2:56am

I've created a service for my Flex app. It determines if a user has a certain role. I need this service available to authenticated users. However, it appears that only the original user can access this service. How do I specify permissions for services so that I can allow other users to access them?

Read more
5 comments Categories:

New server: Get Server

Posted by sime on December 18, 2007 at 3:36am

I've just finished new server that lets you pass parameters over the URL.
http://drupal.org/project/get_server

As I've mentioned in another post, I was playing with the idea of calling it a REST server, but in the end this is not trying to implement a specific protocol, so I went with a generic name that still describes what's going on.

Interested in thoughts.

Read more
Categories:

Services: dynamically changing the returning server?

Posted by sime on December 16, 2007 at 11:39pm

Look at the services architecture, a service is defined in such a way that it receives and sends data independently of the server involved.

I've been writing a "GET" server (some might call it a REST server, but there's semantic baggage that comes with REST that I don't care for). The GET server simply allows parameters to be passed on the url query string ie. in the path.

Read more
1 comment Categories:

Pulling Data not in nodes

Posted by Gambler on December 12, 2007 at 4:23am

Enter the genuine Drupal and Services noob.

I have been looking at the integration between flex and Drupal, using services and AMFPHP to pull nodes. However, I haven't seen anything about using AMFPHP to get data that is not part of a node, for example, data specific to a table created by a module.

So: Is it possible to use Services to get data that does not lie in a node? If so, how? I can easily write a method for getting the data I want, the problem is how to use Services to use AMFPHP to send the data to a flex application.

Thanks!

Read more
6 comments Categories:

Creating a new user

Posted by raydale on November 11, 2007 at 9:52am

Hi, I have just started using the Services Module as well as Drupal.

So far the integration of the Services Module and Flash is working extremely well - beyond well in fact - so far it is performing superbly. However, I now have a bit of a problem as I am trying to allow a front end user to create a new user account to enable front end login all through Flash. I have absolutely no idea of how to go about this.

I am using Flash 8 and Actionscript 2.

Can anyone please help me??

Read more
1 comment Categories:

What about Services security?

Posted by csiknor on November 5, 2007 at 10:56am

Hi!

(Unfortunately I couldn't find any information about the subject so I've decided to ask the group memebers wheter they can help.)

I'm creating a flex application using Drupal, Services and AMFPHP. The whole bunch is looking good, but I've a small problem with the security. It is OK to require API KEY and SESSION ID from each request to gain security, but.

My problem is, AFAIK, I can save a node without the right permission.

Read more
4 comments Categories: , , ,

path_server.module?

Posted by sime on November 2, 2007 at 6:59am

My client is setting up a service, but they would like to have the call by url.

This is straight forward, I just parse the url arguments and we're away. But in order to use the services module and have our service display consistently, and use the api key functionality, I'm thinking a path_server.module might be the nicest way to do this.

One of our assumptions before we started the project was that Services would support this out of the box.. so my quick question is: have I missed something?? Is there something odd about my thinking? (Not unusual!)

Read more
11 comments Categories:

jquery call to services xmlrpc

Posted by sime on October 30, 2007 at 8:01am

I'm trying to understand the substance of an xmlrpc call. I've got a plain node with PHP and using drupal_add_js() to get an alert with the callback results.

<?php
$js
= '
alert(
$.post("http://example.com/services/xmlrpc",
"{methodName: node.load; nid: 1}")
);'
;
drupal_add_js($js, 'inline', 'header');
?>

The alert says "undefined", and as far as i can tell, I'm not getting to the services_server call in the code.

Any ideas?

Read more

Need a quick service written

Posted by ethank on October 26, 2007 at 3:40pm

Hey all. I need a quick service written that does the following:

  • Users total
  • Users total by user group
  • Users logged in today
  • Users registered today
  • Delta for both from yesterday
  • Users logged in and registered this week
  • Current users online (guest and logged in)

This is for a dashboard project. Its a paying gig, but I need it super quick (like Monday)

Please e-mail me at ethan (@) warnerbrosrecords.com if interested.

Read more

Active Records, a possible approach for consistent Data APIs

Posted by recidive on October 25, 2007 at 11:53pm

As mentioned on the other paper A Data API for Drupal. Here is a paper that shows how this could be accomplished with some OOP bits implementing the Active Records Pattern. While keeping the interface procedural.

We all know that Dupal will not go full OOP. But some OOP code could help us do things not possible with procedural code. Such as lazy loading of nested objects and 'on demand' database fields processing.

Read more

Data APIs for Drupal 7 and web services support

Posted by nedjo on October 25, 2007 at 7:21pm

There's growing interest in the Drupal community in the prospect of renewing our core data handling APIs. Doing so will increase consistency and efficiency and ease barriers. It will also be a key step in enabling transactional web services.

In Drupal 6 we took some impressive first steps. What should we tackle for Drupal 7?

The attached paper, written by Nedjo Rogers and Henrique Recidive and sponsored by CivicSpace, aims to carry this discussion forward and map out both some conceptual space and concrete development tasks.

Read more

User.login?

Posted by newms on October 24, 2007 at 8:09pm

Hi,

I am trying to use the user service from a flex app. However, whenever I use the user.login method I get a Flex error

[RPC Fault faultString="Wrong username or password." faultCode="AMFPHP_RUNTIME_ERROR" faultDetail="/*****/modules/amfphp/amfphp.module on line 101"]

I am certain that I am using the correct username/password. The actionscript code I use to call the method is:

public function login(event:Event):void
{
user.login(username.text, password.text);

}

Any ideas on why the user.login method is not working for me?

Read more

Flex controls creation

Posted by herc on October 7, 2007 at 11:04pm

If there a way to create flex controls on the fly ?

Read more
2 comments Categories:

User Service Module - Upload/Change User Picture

Posted by pajoh on September 26, 2007 at 7:16pm

I am using Flex 2.0 and AMFPHP to access Drupal user services, and it has been going pretty smoothly. I've managed to create a couple simple user services on my own.

However, I am currently attempting to expand the user service module to allow uploading / changing the user picture. I am have more difficulty with this.

The following is my first stab at this and it doesn't work. I am hoping someone could point me in the right direction! Thanks!


function user_service_image( $source ) {

$info = image_get_info($source);
$file = file_check_upload( $source );
if ($file){
Read more
Categories:
Subscribe with RSS Syndicate content

Services

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /