Presentation is loading. Please wait.

Presentation is loading. Please wait.

CFUNITED – The premier ColdFusion conference www.cfunited.com Undocumented CFMX Nate Nelson.

Similar presentations


Presentation on theme: "CFUNITED – The premier ColdFusion conference www.cfunited.com Undocumented CFMX Nate Nelson."— Presentation transcript:

1 CFUNITED – The premier ColdFusion conference www.cfunited.com Undocumented CFMX Nate Nelson

2 June 28 th – July 1 st 2006 Agenda   CFML Comment

3 June 28 th – July 1 st 2006 Agenda  XML Configuration Files  CFAdmin Extensions  Service Factory  Query Object  String Object  CFC getMetaData  CFMX7 Charting Styles

4 June 28 th – July 1 st 2006 Disclaimer  Not Supported  No Guarantee  Use At YOUR OWN RISK!

5 June 28 th – July 1 st 2006 XML Config Files  Always make backups  Use an editor that helps you write XML  CF Service needs to be restarted for most changes

6 June 28 th – July 1 st 2006 XML Config Files  ColdFusion file extensions CFMXDir\wwwroot\WEB-INF\web.xml CfmServlet *.cfm  Add one for.html to run html files  Restart CF Service

7 June 28 th – July 1 st 2006 XML Config Files  ColdFusion File Extensions If using IIS  Add.html as a file type and make sure it is parsed by  [webroot]\runtime\lib\wsconfig\1\jrun.dll Restart both IIS and CF

8 June 28 th – July 1 st 2006 XML Config Files  CFMXDir\lib\password.properties  Not XML, but certainly a useful config file #Tue Mar 15 07:36:27 MST 2006 rdspassword=%<4OP6GD \n password=%7\=<3DXD \n encrypted=true To reset, delete both password values  Set encrypted = false  Enter password value  Restart CF Service

9 June 28 th – July 1 st 2006 CFAdmin Extensions  Add custom menu items to CFAdmin Create empty file wwwroot\CFIDE\administrator\extensionscustom.cfm Add links Undocumented CFMX Menu  No need to restart CF Service

10 June 28 th – July 1 st 2006 Service Factory  Service Factory = set of Java objects providing access to internal CF services  Use to see details

11 June 28 th – July 1 st 2006 String Object  Represented as Java string objects java.lang.string several undocumented features: #str.substring(3)# = dfusion #str.substring(0,2)# = co #str.indexOf("o")# = 1 #str.indexOf("o",4)# = 8 #str.startsWith("col")# = YES #str.endsWith("z")# = NO #str.charAt(3)# = d

12 June 28 th – July 1 st 2006 Query Object  Internally represented as Java Object: coldfusion.sql.QueryTable  Udocumented features to include: ability to manipulate results first(),last(),next(),previous(),sort() get info of query and results isFirst(),isLast(),getColumnCount(),findColumn(),getColumn TypeName()

13 June 28 th – July 1 st 2006 CFC getMetaData  Common method  Get more info this way reads additional attributes hint and displayname of cfcomponent,cffunction,cfargument

14 June 28 th – July 1 st 2006 CFC getMetaData  Instant built in documentation for CFCs http://127.0.0.1/cfide/componentutils/componentdetail. cfm?component=mycfc  Component Browser http://127.0.0.1/cfide/componentutils/componentdoc.cf m  This feature is documented and supported, not commonly known

15 June 28 th – July 1 st 2006 Application Scope  Get Useful Application Settings application.getApplicationSettings()

16 June 28 th – July 1 st 2006 CFMX Charting Styles  Customize the style of your CFMX7 Charts and Graphs CFMXDir\charting\userguide.pdf  This feature is documented and supported, not commonly known

17 June 28 th – July 1 st 2006 Demo  CFAdmin Extensions  Service Factory  Query Object  String Object  CFC getMetaData  Application Scope

18 June 28 th – July 1 st 2006 Questions ?

19 Resources  ColdFusion Developers Journal http://coldfusion.sys-con.com  CFCDev https://www.cfcdev.com  Nate Nelson nate@xententia.com


Download ppt "CFUNITED – The premier ColdFusion conference www.cfunited.com Undocumented CFMX Nate Nelson."

Similar presentations


Ads by Google