Theo Rushin, Jr. Senior Web Application Developer World Singles and DoubleBlack Technologies 12/26/2015 1.

Slides:



Advertisements
Similar presentations
With ColdBox and REST. Co-Manager of IECFUG Flex, ColdFusion, JavaScript Developer A member of Team ColdBoxPresident of Sercossa Inc.
Advertisements

© 2012 Entrinsik, Inc. Informer Administration Exploring the system menu and functions PRESENTER: Jason Vorenkamp| Informer Software Engineer| March 2012.
CF and JSP/Servlets Developed originally by Robi Sen For the CF UnderGround II Seminar, Apr 2001 Edited and enhanced by Charlie Arehart (Robi had an emergency.
Web Services in ColdFusion 7 JaxFusion November, 2006.
Web Applications Development Using Coldbox Platform Eddie Johnston.
2007 Adobe Systems Incorporated. All Rights Reserved. 1 Glenda Vigoreaux Adobe Certified Instructor roundpeg, Inc. Component Development.
Fast Track to ColdFusion 9. Getting Started with ColdFusion Understanding Dynamic Web Pages ColdFusion Benchmark Introducing the ColdFusion Language Introducing.
Week 2 IBS 685. Static Page Architecture The user requests the page by typing a URL in a browser The Browser requests the page from the Web Server The.
EValid Getting Started. Agenda Introduction to eValid First experience of using eValid Recording and Site Analysis in eValid.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Struts. Agenda Preface Struts and its components An example The architecture required for Struts Applications.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Building + Consuming WebServices CF Style Kevin Penny MMCP (4.5/5/MX6)
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
ColdFusion MX Server Administration J2EE Deployment and Clustering Adam Wayne Lehman J2EE Deployment and Clustering Adam Wayne.
Exploring Real-time apps with ColdFusion and Blaze DS / Live Cycle Data Services ES Dan Blackman
The Art of Debugging Shlomy Gantz 02/13/01MDCFUG.
Oracle Application Express 3.0 Joel R. Kallman Software Development Manager.
Prepared by Stephen Olaño June 12, Rich Internet Applications It allow to build rich applications with data and multimedia contents, offering a.
What’s New in CF 8 Admin MDCFUG 8/14/2007 Ajay Sathuluri Sr. Web and Database Engineer TeraTech Inc.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Data File Access API : Under the Hood Simon Horwith CTO Etrilogy Ltd.
PUBLISHING ONLINE Chapter 2. Overview Blogs and wikis are two Web 2.0 tools that allow users to publish content online Blogs function as online journals.
Copyright 2007 Adobe Systems Incorporated. 1 ColdFusion 8 : Advanced AJAX Development Rakshith N Computer Scientist Jan 02, 2008.
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
Flex 2.0 Flex for ColdFusion developers Part 1. What is Flex Flex allows developers to create Flash content for Rich Internet Applications in a more programmer.
ColdFusion 9 and Flex 4: Application Development Ryan Stewart Platform Evangelist, Adobe Systems
Using Event Gateways with CFMX7 By Jeff Tapper Tapper.net Consulting.
ColdFusion MX Rob Filardo and Lindsay Matteo A Brief History ColdFusion 1.0 was created in 1995 by Adam Berrey in order to help HTML programmers create.
Introduction to ColdFusion Yu Fu 2003 MEC Candidate.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Flex Data Communications Nick Kwiatkowski, Michigan State University.
Transfer 101 Dan Vega. 2www.cfunited.com About Me Programmer ColdFusion / Flex / AS3 / HTML / JS / CSS / Groovy & Grails Cleveland ColdFusion.
Flex 2 Flex, ColdFusion and the Wizard Oh My! or Introducing the Flex/ColdFusion Wizard Theo Rushin Jr TeraTech, Inc.
1 ® Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 1 Building Portlets with ColdFusion Pete Freitag Foundeo, Inc.
2006 Adobe Systems Incorporated. All Rights Reserved. Designing & Building Structured Business Reports with ColdFusion MX 7 Adam Lehman ColdFusion Specialist.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Flex 2 We’re Not in Kansas Anymore! or Welcome to Flex Theo Rushin Jr TeraTech, Inc.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
CF101: Welcome to ColdFusion Simon Horwith CTO, Etrilogy Ltd.
The Future of ColdFusion Christian Cantrell ell.
Caching for Performance Jeff Tapper Tapper.net Consulting.
 Registry itself is easy and straightforward in implementation  The objects of registry are actually complicated to store and manage  Objects of Registry.
CFCs in Practice Raymond Camden Senior Developer, Mindseye Technologies.
Introduction to Flex 2 by Rich Tretola. About Me Rich Tretola is a senior software developer at Herff Jones, Inc. specializing in Rich Internet Applications.
Implementing and Using the SIRWEB Interface Setup of the CGI script and web procfile Connecting to your database using HTML Retrieving data using the CGI.
CFUNITED – The premier ColdFusion conference ColdFusion Components Ajay Sathuluri Based on presentation.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
How to Setup Scan to on most Sharp Models.
ColdFusion MX 7 “Blackstone” Macromedia, Inc. macromedia 2005 Living With Today’s Internet Chronic problems continue to exist for users and developers.
Securing Web Applications Lesson 4B / Slide 1 of 34 J2EE Web Components Pre-assessment Questions 1. Identify the correct return type returned by the doStartTag()
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTERSTAGE BPM ARCHITECTURE BPMS.
Randy Brown April 12, 2005 Reporting with ColdFusion MX v7.0: Web Reporting-Freedom Realized.
CFUNITED – The premier ColdFusion conference Flex 2.0 and ColdFusion Integration – 101 Nahuel Foronda Laura Arguello.
Cool CF Debugging Shlomy Gantz 07/29/01CF_ODYSSEY.
Ajax 101 for CF Programmers Randy Brown – Michigan State University
CF Eclipse Nick Kwiatkowski Michigan State University, Physical Plant 8/8/2006.
CFUNITED – The premier ColdFusion conference Using Event Gateways with CFMX7 By Jeff Tapper Tapper.net Consulting.
June 28 th – July 1 st 2006 Thomas Burleson Principal Architect Understanding Flex 2 Data Services “With ColdFusion, why should.
CFUNITED – The premier ColdFusion conference CFMX7 Admin API Nate Nelson
Linux Systems Administration
ArcGIS for Server Security: Advanced
A Free, Open Source ColdFusion Content Management System
CF101: Welcome to ColdFusion
+ A Look at CFAjax Stephen Rittler CounterMarch Systems
Building a CF Administrator Interface in Flex
IS 4506 Server Configuration (HTTP Server)
Nate Nelson I*LEVEL, Inc.
Intergral Team at CFUnited
Presentation transcript:

Theo Rushin, Jr. Senior Web Application Developer World Singles and DoubleBlack Technologies 12/26/2015 1

About Me Application Developer and Trainer Since ‘85 ColdFusion Developer Since ‘99 Flash Developer Since ’99 Flex Developer Since ‘05 Also work with SQL, JavaScript, HTML, and CSS Currently working for WorldSingles - a subsidiary of NicheClick Media ( 12/26/2015 2

What We Will Cover Today What is the ColdFusion Administrator API? Using the CF Admin API Building the Flex 2 Interface Summary Learn More Q & A 12/26/2015 3

What is the ColdFusion Administrator API? 12/26/2015 4

What is it? It allows you to perform most ColdFusion MX administrator tasks programmatically. In ColdFusion MX 6.x you could use the “undocumented” ServiceFactory to programmatically access ColdFusion’s administrator tasks. In ColdFusion 7.x you can use the Administrator API, a set of CFCs that offer a formal and secure way of accessing that functionality. 12/26/2015 5

Why use it? You could give developers the ability to perform certain administrator tasks without having to give out the single CF Administrator password featured in ColdFusion 6.x – 7.x. Refresh Trusted Cache Maintain Datasources Refresh WebServices Shared Hosting ColdFusion 8 is still in Beta (as of 7/10/2007) 12/26/2015 6

Where to find the CF Admin CFCs? The ColdFusion Administrator API exists as a set of CFCs located in the [coldfusion_webroot]/CFIDE/adminapi/ directory. 12/26/2015 7

CF Admin API CFCs (cont.) 12/26/ CFCDescription administrator.cfcContains basic Administrator functionality, including login, logout, the Migration Wizard, and the Setup Wizard. base.cfcBase object for all other Administrator API CFCs. datasource.cfcAdd, modify, and delete ColdFusion data sources. debugging.cfcManage debug settings. eventgateway.cfcManage event gateways. extensions.cfcManage custom tags, mappings, CFXs, applets, CORBA, and web services. mail.cfcManage ColdFusion mail settings. runtime.cfcManage runtime settings for fonts, cache, charts, configuration, and other settings. security.cfcManage passwords, RDS, and sandbox security. serverinstance.cfcStart, stop, and restart JRun servers. This CFC only works when running the multiserver configuration.

What are the CF Admin Methods? You may introspect the ColdFusion Administrator API cfc’s by entering in you browser’s address bar. 12/26/2015 9

CF Admin API Methods (cont.) 12/26/ CFCDescription administrator.cfcgetAdminProperty, login, logout, setAdminProperty, etc. base.cfcisAdminUser, etc. datasource.cfcdeleteDatasource, getDatasources, setMSAccess, setMSSQL, verifyDsn, etc. debugging.cfcaddDebugEvent, deleteIP, getDebugProperty, getIPList, setIP, getLogProperty, etc. eventgateway.cfcdeleteGatewayInstance, deleteGatewayType, getGatewayInstances, etc. extensions.cfcdeleteCFX, deleteCustomTagPath, getCFX, getCustomTagPaths, getMappings, etc. mail.cfcgetMailProperty, getMailServers, setMailServer, setMailProperty, etc. runtime.cfcclearTrustedCache, getCacheProperty, getRuntimeProperty, getScopeProperty, etc. security.cfcsetUseRDSPassword, setUseAdminPassword, setEnableRDS, etc. serverinstance.cfcrestartInstance,

Using the CF Admin API 12/26/

Accessing a Component Accessing an object … … using CFML … using CFSCRIPT adminObj = createObject("component","cfide.adminapi.administrator"); 12/26/

Calling a Method Calling a method … … using CFML … using CFSCRIPT adminObj.login(“mycfadminpassword”); 12/26/

Demo – ColdFusion Show a simple ColdFusion page that allows you to set your IP address for debugging. 12/26/

Building the Flex 2 Interface 12/26/

Calling your ColdFusion Component Use the RemoteObject service to invoke your ColdFusion cfc methods The RemoteObject uses AMF (Action Message Format), a binary encoding format, over HTTP. AMF is faster and leaner than using a standard HTTP or WebService call. 12/26/

Calling your ColdFusion Component (cont.) RemoteObject service example; 12/26/

Working with the result data Most methods return simple data types. Some methods return more complex data types such as arrays. Your ColdFusion code should return more complex data types such as structures and arrays that can contain result data or error messages. 12/26/

Demo – Flex Show a simple Flex 2 application that allows you to maintain various datasources. 12/26/

Summary Pros: Developers have access to most of the ColdFusion Administrator features through code. Cons: Developers have access to most of the ColdFusion Administrator features through code. Encapsulate your code using CFCs Use ColdFusion Try/Catch blocks to capture any possible errors. Use Flex RemoteObject calls to access your components. It’s easy!!! 12/26/

Learn More Adobe Administrator API LiveDocs elp/wwhimpl/common/html/wwhelp.htm?context=Col dFusion_Documentation&file= htm elp/wwhimpl/common/html/wwhelp.htm?context=Col dFusion_Documentation&file= htm Adobe Flex 2 RemoteObject LiveDocs ing/RemoteObject.html ing/RemoteObject.html Moving data from ColdFusion CFCs to Flex 2 applications html html 12/26/

Q & A Blog: Presentation materials: 12/26/