
上QQ阅读APP看书,第一时间看更新
Chapter 2. Building a "Hello World" Application
We have built a static Flash application and integrated it within Drupal, now our next step is to replace the static text with dynamic content extracted from Drupal. We will accomplish this task by building a Flash application that is able to read a Drupal "Hello World" page, and then displaying that text using Flash. Although this may seem like a trivial task, surprisingly, there is much effort required to simply display those two words using Flash and Drupal. In this chapter we will go over all the necessary elements needed for communication between Flash and Drupal. Some of the key topics that will be covered are as follows:
- How Flash and Drupal communicate
- Understanding Web Services
- Setting up Drupal for Web Services using the Services module
- Using Drupal's web services to say "Hello World" in Flash
- Using FlashVars in our Flash applications