What - PowerPoint PPT Presentation

About This Presentation
Title:

What

Description:

The 'monitor' option of the EXCEPTION attribute is deprecated. CFCOL ... The THREAD, DATE, and TIME attributes are deprecated. CFWDDX ... – PowerPoint PPT presentation

Number of Views:41
Avg rating:3.0/5.0
Slides: 24
Provided by: mattl3
Category:

less

Transcript and Presenter's Notes

Title: What


1
Whats New in CFMX
  • Matt Liotta
  • President CEO
  • Montara Software, Inc.

2
Agenda
  • Overview
  • Tag changes
  • Function changes
  • Small changes
  • Large changes
  • Nitpicking
  • Q A

3
Overview
  • Java 2 Enterprise Edition (J2EE)
  • Performance Profile
  • Editions
  • Developer
  • Professional
  • Enterprise
  • J2EE
  • Supported platforms
  • Mac OS X supported on developer edition only

4
CFMX for J2EE
  • Deploys CFMX as a J2EE application
  • Supports
  • JRun
  • SunOne
  • WebSphere
  • WebLogic
  • Not supported, but still deployable
  • JBoss
  • Faster than CFMX Enterprise
  • Supports multiple instance on single server

5
Tag Changes
  • New
  • CFARGUMENT
  • CFCHART
  • CFCOMPONENT
  • CFFUNCTION
  • CFIMPORT
  • CFINVOKE
  • CFINVOKEARGUMENT
  • CFLOGIN
  • CFLOGINUSER
  • CFLOGOUT
  • CFPROPERTY
  • CFTRACE

6
Tag Changes (cont.)
  • Deprecated
  • CFAUTHENTICATE
  • CFCOMPONENT
  • CFGRAPH
  • CFGRAPHDATA
  • CFIMPERSONATE
  • CFREGISTRY (only on nix)
  • CFSERVLET
  • CFSERVLETPARAM

7
Function Changes
  • New
  • GetAuthUser
  • GetMetaData
  • GetK2ServerDocCount
  • GetK2ServerDocCountLimit
  • GetProfileSections
  • IsK2ServerABroker
  • IsK2ServerOnline
  • IsObject
  • IsUserInRole
  • IsXMLDoc
  • IsXMLElement
  • IsXMLRoot
  • URLSessionFormat
  • XmlChildPos
  • XmlElemNew
  • XmlFormat
  • XmlNew
  • XmlParse

8
Function Changes (cont.)
  • Deprecated
  • AuthenticatedContext
  • AuthenticatedUser
  • GetCollectionLanguage
  • GetCollectionPath
  • GetTemplatePath
  • GetVerityCollections
  • IsAuthenticated
  • IsAuthorized
  • IsCollectionExists
  • IsCollectionExternal
  • IsCollectionMapped
  • IsProtected
  • ParameterExists

9
Scopes
  • All scopes are now structures
  • Locking is no longer required in most cases

10
Structure Changes
  • Synchronized
  • Variable names containing . create structs
  • StructGet
  • If there is no structure or array present in
    pathDesired,this function creates structures or
    arrays to make PathDesired a valid variable
    "path."

11
UDF Changes
  • Parameters now accessed via a struct named
    arguments
  • It can still be accessed as an array though
  • Parameters can be named
  • UDFs can be tag based using
  • CFARGUMENT
  • CFFUNCTION
  • CFRETURN

12
Database Manipulation
  • Everything is done with JDBC
  • Dynamic datasources are gone
  • Query of Query improved

13
CFSCRIPT Changes
  • No longer use reserved words
  • Supports try and catch

14
J2EE Integration
  • Share data through scopes
  • Application Accessible to J2EE through request
  • Request CF and J2EE share the same request scope
  • Session CF and J2EE share the same session scope
  • CF must be configured to use J2EE sessions
  • Built-in session replication

15
XML
  • New tag and functions
  • XML is a new type that represents a DOM tree
  • XPATH supported
  • XSLT supported

16
Unicode
  • CF now fully supports Unicode
  • New tag attributes
  • CFFILE
  • CFHTTP
  • CFPROCESSINGDIRECTIVE
  • New function parameters
  • ToBase64
  • ToString
  • URLDecode
  • URLEncodedFormat

17
Components (CFCs)
  • Gives CF OO capabilities
  • Self documenting
  • Supports inheritance
  • Can be used as web service endpoint
  • Callable from Flash MX

18
Web Services
  • Consumable via CFINVOKE or CreateObject
  • Publishable via CFCs
  • CFHTTP now supports raw XML POSTs

19
Flash Integration
  • Flash Remoting Allows Flash MX to talk to CFMX
  • CFCs talk through methods
  • CFMs talk through flash scope
  • Server-side ActionScript

20
Nitpicking
  • Sorting
  • Sort order has changed
  • Dates
  • New masks for date formating
  • Inaccurate data functions have been fixed
  • Localization
  • Behavior may differ depending on JVM
  • Regex
  • Perl compatible
  • Much faster
  • File handling
  • CFFILE no longer supports Windows specific
    attributes
  • CFDIRECTORY no longer returns . and ..
  • Comments
  • Can now be placed just about anywhere
  • RequestTimeOut
  • Must now be done using CFSETTING

21
Nitpicking (cont.)
  • NumberFormat
  • Returns the number unchanged if the format mask
    cannot correctly mask a number
  • IsWDDX
  • Properly returns FALSE for a var that is not WDDX
  • IsDefined
  • Can only deal with
  • A simple variable
  • A named variable with dot notation
  • A named structure with dot notation
  • GetTempDirectory
  • Returns the temp directory of the Java app
    server, not the OS
  • GetMetricData
  • CACHEPOPS parameter is deprecated
  • ListQualify
  • Strictly enforces a property elements parameter
    ("all" or "char")
  • CORBA
  • When instantiating objects, the Naming Service
    separator format for addresses has changed from a
    dot to a forward slash
  • ExpandPath
  • Can now accept absolute paths (don't use web
    server virtual paths)

22
Nitpicking (cont.)
  • CFINCLUDE
  • Can be used to include page of 0 bytes
  • CFERROR
  • The "monitor" option of the EXCEPTION attribute
    is deprecated
  • CFCOL
  • You can now construct dynamic statements
  • CFSWITCH
  • The CFDEFAULTCASE no longer needs to be the last
    case
  • CFMODULE
  • Properly uses values in the AttributeCollection
    parameter if a name conflicts with a passed
    attribute
  • CFREPORT
  • Makes independent connections to the DataSource
    regardless of CF Administrator settings on that
    DataSource
  • CFLOG
  • The THREAD, DATE, and TIME attributes are
    deprecated
  • CFWDDX
  • Preserves the case of column names in JavaScript
  • CFPARAM
  • Validates a 36 character GUID with TYPE"GUID"
  • CFCATCH

23
Q A
  • Special thanks to Nathan Dintenfass for sharing
    content for this presentation
  • Matt Liotta
  • Blog http//DevilM.com
  • Email mliotta_at_r337.com
Write a Comment
User Comments (0)
About PowerShow.com