Building a CF Administrator Interface in Flex

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

Esri International User Conference | San Diego, CA July 14, 2011 Troubleshooting ArcGIS Web APIs (JavaScript, Flex, Silverlight) from a Support Perspective.
© 2012 Entrinsik, Inc. Informer Administration Exploring the system menu and functions PRESENTER: Jason Vorenkamp| Informer Software Engineer| March 2012.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
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.
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)
ColdFusion MX Server Administration J2EE Deployment and Clustering Adam Wayne Lehman J2EE Deployment and Clustering Adam Wayne.
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,
ColdFusion 9 and Flex 4: Application Development Ryan Stewart Platform Evangelist, Adobe Systems
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.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
What is Web Site Administration Tool ? WAT Allow you to Configure Web Site With Simple Interface –Manage Users –Manage Roles –Manage Access Rules.
CF101: Welcome to ColdFusion Simon Horwith CTO, Etrilogy Ltd.
GOAL User Interactive Web Interface Update Pages by Club Officers Two Level of Authentication.
 Registry itself is easy and straightforward in implementation  The objects of registry are actually complicated to store and manage  Objects of Registry.
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.
Theo Rushin, Jr. Senior Web Application Developer World Singles and DoubleBlack Technologies 12/26/
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
ColdFusion MX 7 “Blackstone” Macromedia, Inc. macromedia 2005 Living With Today’s Internet Chronic problems continue to exist for users and developers.
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.
17 Copyright © 2006, Oracle. All rights reserved. Information Publisher.
Cool CF Debugging Shlomy Gantz 07/29/01CF_ODYSSEY.
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
CFUNITED – The premier ColdFusion conference Undocumented CFMX Nate Nelson.
Thomas Burleson. Using MVC with Flex & Coldfusion Projects June 27, 2007 See how Coldfusion MVC is similar to Flex MVC…
For Rapid Application Development Developed By
ArcGIS for Server Security: Advanced
Web Technology Solutions
Overview Blogs and wikis are two Web 2.0 tools that allow users to publish content online Blogs function as online journals Wikis are collections of searchable,
Data Virtualization Demoette… Custom Java Procedures
A Free, Open Source ColdFusion Content Management System
TNQ
CF101: Welcome to ColdFusion
Jeff Coughlin FarCry 3.0 An Overview Jeff Coughlin
Sarge Sr. Technical Support Engineer Adobe Systems
+ A Look at CFAjax Stephen Rittler CounterMarch Systems
HC Hyper-V Module GUI Portal VPS Templates Web Console
IS 4506 Server Configuration (HTTP Server)
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Nate Nelson I*LEVEL, Inc.
Intro to PHP.
Web Application Development Using PHP
How to install and manage exchange server 2010 OP Saklani.
Intergral Team at CFUnited
Presentation transcript:

Building a CF Administrator Interface in Flex Theo Rushin, Jr. rushint@yahoo.com Senior Web Application Developer World Singles and DoubleBlack Technologies 11/19/2018

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 (http://nicheclick.com/index.html) 11/19/2018

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 11/19/2018

What is the ColdFusion Administrator API? 11/19/2018

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. 11/19/2018

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) 11/19/2018

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. 11/19/2018

CF Admin API CFCs (cont.) Description administrator.cfc Contains basic Administrator functionality, including login, logout, the Migration Wizard, and the Setup Wizard. base.cfc Base object for all other Administrator API CFCs. datasource.cfc Add, modify, and delete ColdFusion data sources. debugging.cfc Manage debug settings. eventgateway.cfc Manage event gateways. extensions.cfc Manage custom tags, mappings, CFXs, applets, CORBA, and web services. mail.cfc Manage ColdFusion mail settings. runtime.cfc Manage runtime settings for fonts, cache, charts, configuration, and other settings. security.cfc Manage passwords, RDS, and sandbox security. serverinstance.cfc Start, stop, and restart JRun servers. This CFC only works when running the multiserver configuration. 11/19/2018

What are the CF Admin Methods? You may introspect the ColdFusion Administrator API cfc’s by entering http://[webserver]/CFIDE/adminapi/[apicfc].cfc in you browser’s address bar. 11/19/2018

CF Admin API Methods (cont.) CFC Description administrator.cfc getAdminProperty, login, logout, setAdminProperty, etc. base.cfc isAdminUser, etc. datasource.cfc deleteDatasource, getDatasources, setMSAccess, setMSSQL, verifyDsn, etc. debugging.cfc addDebugEvent, deleteIP, getDebugProperty, getIPList, setIP, getLogProperty, etc. eventgateway.cfc deleteGatewayInstance, deleteGatewayType, getGatewayInstances, etc. extensions.cfc deleteCFX, deleteCustomTagPath, getCFX, getCustomTagPaths, getMappings, etc. mail.cfc getMailProperty, getMailServers, setMailServer, setMailProperty, etc. runtime.cfc clearTrustedCache, getCacheProperty, getRuntimeProperty, getScopeProperty, etc. security.cfc setUseRDSPassword, setUseAdminPassword, setEnableRDS, etc. serverinstance.cfc restartInstance, 11/19/2018

Using the CF Admin API 11/19/2018

Accessing a Component Accessing an object … … using CFML <cfset adminObj = createObject("component","cfide.adminapi.administrator")> … using CFSCRIPT adminObj = createObject("component","cfide.adminapi.administrator"); 11/19/2018

Calling a Method Calling a method … … using CFML … using CFSCRIPT <cfset adminObj .login(“mycfadminpassword”)> … using CFSCRIPT adminObj.login(“mycfadminpassword”); 11/19/2018

Demo – ColdFusion Show a simple ColdFusion page that allows you to set your IP address for debugging. 11/19/2018

Building the Flex 2 Interface 11/19/2018

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. 11/19/2018

Calling your ColdFusion Component (cont.) RemoteObject service example; <mx:RemoteObject id="srv" source="samples.data.EmployeeService"> <mx:method name="addEmployee"/> </mx:RemoteObject> 11/19/2018

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. 11/19/2018

Demo – Flex Show a simple Flex 2 application that allows you to maintain various datasources. 11/19/2018

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!!! 11/19/2018

Learn More Adobe Administrator API LiveDocs http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00001734.htm Adobe Flex 2 RemoteObject LiveDocs http://livedocs.adobe.com/flex/2/langref/mx/rpc/remoting/RemoteObject.html Moving data from ColdFusion CFCs to Flex 2 applications http://www.adobe.com/devnet/flex/articles/helloworld.html 11/19/2018

Q & A Email: Blog: Presentation materials: rushint@yahoo.com http://therush.wordpress.com/ Presentation materials: http://therush.wordpress.com/my-presentations/ 11/19/2018