ColdFusion MX 7 - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

ColdFusion MX 7

Description:

Allaire created ColdFusion in mid 90's. Procedural way to create ... Cfdocument creates PDFs and FlashPaper. Asynchronous support. AXIS support for SOAP Headers ... – PowerPoint PPT presentation

Number of Views:41
Avg rating:3.0/5.0
Slides: 18
Provided by: davef7
Category:

less

Transcript and Presenter's Notes

Title: ColdFusion MX 7


1
ColdFusion MX 7
  • By David Fekke
  • 3/21/2005

2
History
  • Allaire created ColdFusion in mid 90s
  • Procedural way to create dynamic web pages
  • Allaire purchased JRun
  • Macromedia purchased Allaire 2001
  • Macromedia released CFMX
  • Supported WebSphere, Weblogic, JRun, Sun

3
CFMX
  • New features included Flash remoting, Web
    Services
  • CFCs allow basic OO coding
  • Improved Java support

4
ColdFusion MX 7
  • Over 20 new features
  • Flash Forms using cfform
  • Event Gateways, SMS, JMS, IM, Sockets
  • New reporting capabilities
  • Cfdocument creates PDFs and FlashPaper
  • Asynchronous support
  • AXIS support for SOAP Headers

5
Event Gateways
  • Allows execution of CFML code other than web
    pages
  • Built-in Gateway Types include SMS and IM, and
    JMS
  • Only available in Enterprise

6
Definition
  • Event Gateways provide a gateway to allow java
    and server events to pass through to ColdFusion
    MX code.

7
Event Gateway Model
8
Event Gateway Terms
  • Event
  • Message
  • Event Gateway
  • Gateway Type
  • Event Gateway Instance

9
Terms continued
  • Event Gateway Application
  • Listener CFC
  • ColdFusion MX gateway service

10
Gateway Types
  • SAMETIME and XMPP IM
  • JMS Java messaging
  • SMS Mobile phone messaging
  • Telnet Socket
  • Asynchronous CFML
  • DirectoryWatcher

11
Custom Gateways
  • Event Gateways are extensible
  • Create new types in Java
  • Stand alone cf_root/gateway/src/examples/
  • J2EE cf_root/WEB-INF/cfusion/gateway/src/example
    s/

12
Event Function
  • SendGatewayMessage() 2 params
  • 1 Name of Gateway instance
  • 2 Event structure

13
CFEvent structure
  • msg structNew()
  • msg.command "submit"
  • msg.destAddress "5551234"
  • msg.shortMessage SMSMessage

14
Listener CFC
  • Incoming events require CFC
  • Default methods depend on the configuration file
    and gateway type

15
Asynchronous Events
  • Multiple threads allowed
  • Speeds large operations that do not require a
    result returned

16
Menu Framework
  • Menu and menunode CFCs
  • Use for simple interface
  • Works with SMS, IM, and socket
  • webroot\cfide\componentutils\gatewaymenu\

17
Useful links
  • http//www.macromedia.com/devnet/mx/coldfusion/art
    icles/gateway_print.html
  • http//livedocs.macromedia.com/coldfusion/7/htmldo
    cs/00001729.htm
Write a Comment
User Comments (0)
About PowerShow.com