Working with CFAAS and Flex

Comments

There aren't any comments for this presentation.

Add Comment

Comments have been closed.

Transcript

no image

Slide Text

Slide Notes


Slide 1


Working with CFAAS and Flex
Simon Free
@simonfree

no notes exist for this slide

Slide 2


Outline
What is CFaaS?
All about security
What classes are available?
How do you use them?

no notes exist for this slide

Slide 3


What is CFaaS?
ColdFusion as a Service
Acts as a proxy to ColdFusion functionality
Accessible via any technology
For flex a swc file is provided
Only available with CF9
Gives you the ability to:

no notes exist for this slide

Slide 4


All about Security
To use services a valid username and password must be provided
ip addresses must be given access
All settings are updated via the CF Administrator

no notes exist for this slide

Slide 5


Lets take a look

no notes exist for this slide

Slide 6


Config Class
Used to set configuration settings such as server IP, username, password etc
If using multiple services in your application it is easier to the config class
Settings can be overwritten in each class
Only class you do not actually execute()

no notes exist for this slide

Slide 7


Mail Class
Allows you to send email (only)
Accepts the usual email information such as to email, from email, subject and content
Allows for attachments
Emails can be plain text or HTML
A mail server can be supplied or the default mail server in ColdFusion will be used

no notes exist for this slide

Slide 8


Image Class
Allows you to manipulate an image
An image is not returned, only a url to the image
Available actions range from adding a border to rotating, flipping and inverting
Documentation is not that great

no notes exist for this slide

Slide 9


PDF Class
Allows you to manipulate a pdf
It does not create a pdf!! (document class does though!!)
Offers functionality such as generating thumbnails, merging documents processing DDX Commands
Workflow for this can be a little clunky. I will explain..... (stop me if I don’t)

no notes exist for this slide

Slide 10


Chart Class
Allows you to create jpg, png and flash charts
Pass in array of chart data and chart series (allowing for charts to be overlaid)
Flash format provides rollover tooltip support
Available chart types are:

no notes exist for this slide

Slide 11


Document Class
Allows you to create PDF’s or FlashPaper
Allows for content items and content sections, which means:
bookmarked sections
header and footer controls
access to variables such as current page and page count values

no notes exist for this slide

Slide 12


Pop Class
Allows you to interact with a POP account
Available options are getHeaderOnly, getAll and delete

no notes exist for this slide

Slide 13


Util Class
Provides a URL on the server to post files to
Any file post to that url will automatically be uploaded to the server, regardless of file type
Files are outside the web root so can not be run, only served up to the user
For each file upload a url to the file is returned as part of a wddx packet
Class provides a function to extract the url

no notes exist for this slide

Slide 14


Lets take a look

no notes exist for this slide

Slide 15


That’s All!
Questions / Comments?
Simon@simonfree.com
Slides will be available at:
http://www.simonfree.com/presentations/
Follow me on Twitter:
http://www.twitter.com/simonfree
Resources:
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/index.html

no notes exist for this slide