Now that we have set the foundation for retrieving content from within Drupal, we can focus our efforts on turning that one-way street of data transfer into a two-way street, where we can not only retrieve content, but also add and manipulate that content from within a remote Flash application. Obviously, this may raise some concerns regarding security, which is why we will cover how Drupal allows for this type of remote interaction, while, at the same time, keeping our data safe. In this chapter we will learn how to add content to our remote Drupal web site, from within Flash, by building a custom Flash node editor that will allow us to create, view, and edit nodes within the Drupal system.
In this chapter, we will cover the following points:
Learning about Drupal Services Security
Building a Drupal Service class
Building a node editor in Flash
Adding content to Drupal from Flash
Editing existing content in Drupal from Flash