Developer Getting Started Guide
In this track we introduce the implementation details of the Google Email Service and how it is integrated into the framework. This should provide you a useful basis to extend the framework to meet your requirements.
This track assumes that you successfully downloaded the latest expressFlow Engine:
Before you are able to hack your own workflow activities and test them in the Google Cloud you need to ensure, that the engine and the designer are integrated accordingly. This is rather simple:
First, you need to ensure, that the Designer bin path is set to the matching folder in the expressFlow Engine.
Second, you need to adapt the Flex compiler settings to integrate the services-config.xml. This file sits in the [engine Home]/war/WEB-INF/flex directory and configures the AMF Service Endpoints. More on AMF communication can be found here.
Ok, after finishing the interaction issues you are ready to configure the framework to start it locally before deploying it into the Google App Engine. Open the Debug Configurations in the Engine workspace and set the following parameters:
After applying these changes to your Debug Configuration the engine is ready to start! Click Debug and head your browser to http://localhost:8888. If everything is configured correctly, the expressFlow Engine welcomes you with the starting screen illustrated below:
When you click on Connect with my Google Account the Google User Service redirects you to a Debug User Authentication website. When you click Ok you are connected with Debug credentials to the engine! Great! The expressFlow Engine is ready for development.
Now you can change to your favorite Adobe Flex IDE (we use the Eclipse based Flash Builder) and start debugging locally. We suggest you to adapt the building path to change to the expressFlow Engine war directory. The benefit of this is that with every change in the Flex implementation, the IDE compiles an SWF file and atomatically deploys it to the engine.
To configure the Debugging of the most recently generated Flex file on the engine you need to define a Debug Configuration pointing to the url http://localhost:8888/designer/Start.swf
After defining this Debug Configuration the expressFlow Designer is ready for development.
Let's start!
> Google Email Service Development Guide [Coming Soon!]
blog comments powered by Disqus