Introduction to Macromedia Coldfusion MX 7, Part III Gateways, Charting, Searching, and other new goodness Presented by the Mid-Michigan Coldfusion User’s.

Slides:



Advertisements
Similar presentations
Introduction to Java 2 Programming Lecture 10 Applets.
Advertisements

© 2012 Entrinsik, Inc. Informer Administration Exploring the system menu and functions PRESENTER: Jason Vorenkamp| Informer Software Engineer| March 2012.
The Web Warrior Guide to Web Design Technologies
Web Applications Development Using Coldbox Platform Eddie Johnston.
29 Oded Moshe, Director of Product Management Beta Release May 3rd, 2010 Official Release May 24, 2010.
IBM WebSphere Portal © 2008 IBM Corporation 1 Deliver an Irresistible User Experience  Provides an interactive user experience  No programming needed,
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
APC Issue Tracking Introduction and Tour of APC’s JIRA Issue Tracker.
Server-Side vs. Client-Side Scripting Languages
Fast Track to ColdFusion 9. Getting Started with ColdFusion Understanding Dynamic Web Pages ColdFusion Benchmark Introducing the ColdFusion Language Introducing.
Explore the Dreamweaver Workspace View a Web page and use Help Plan and Define a Web site Add a Folder and Pages, and set the Home page Create and View.
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.
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
Enterprise Search With SharePoint Portal Server V2 Steve Tullis, Program Manager, Business Portal Group 3/5/2003.
DT228/3 Web Development Databases. Database Almost all web application on the net access a database e.g. shopping sites, message boards, search engines.
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
Paul Trani Adobe Certified Instructor/Expert Resources:
What’s Next in ColdFusion Raymond Camden. This Guy  Developer Evangelist for Adobe  Blog:   Twitter:
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Exploring Real-time apps with ColdFusion and Blaze DS / Live Cycle Data Services ES Dan Blackman
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
Introducing Dreamweaver MX 2004
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Software Architecture for ColdFusion Developers Unit 4: Application Events and Global Variables.
What’s New in CF 8 Admin MDCFUG 8/14/2007 Ajay Sathuluri Sr. Web and Database Engineer TeraTech Inc.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
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,
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
CIS 205—Web Design & Development Dreamweaver Chapter 1.
Bonrix SMPP Client. Index Introduction Software and Hardware Requirements Architecture Set Up Installation HTTP API Features Screen-shots.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Using Event Gateways with CFMX7 By Jeff Tapper Tapper.net Consulting.
Introduction to ColdFusion Yu Fu 2003 MEC Candidate.
Flex Data Communications Nick Kwiatkowski, Michigan State University.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
IIS 7.0 for CFML Developers Vince Bonfanti. Introduction Vince Bonfanti President and co-founder of New Atlanta Software developer by training and trade.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
March 12 & 13, 2007 IIS 7.0 for CFML Developers Deploying on IIS 7.0 with Adobe ColdFusion and New.
Publishing Your Web Pages Ann Emmanuel SIUE Web Administrator
SciDAC SSS Quarterly Report Sandia Labs August 27, 2004 William McLendon Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed.
CF Pest Control By Shlomy Gantz President, BlueBrick Inc. Presented by Sandra Clark
Introduction to Morpho BEAM Workshop Samantha Romanello Long Term Ecological Research University of New Mexico.
CF101: Welcome to ColdFusion Simon Horwith CTO, Etrilogy Ltd.
Evaluating & Maintaining a Site Domain 6. Conduct Technical Tests Dreamweaver provides many tools to assist in finalizing and testing your website for.
Introduction to Morpho RCN Workshop Samantha Romanello Long Term Ecological Research University of New Mexico.
Don’t Duck Metadata March 2005 Introducing Setting Up a Clearinghouse Node Topic: Introduction to Setting Up a Clearinghouse Node Objective: By.
Locking In CFML. Locking in CFML - Why - How - What - When } to lock? Understand Locking.
©2003 Paula Matuszek GOOGLE API l Search requests: submit a query string and a set of parameters to the Google Web APIs service and receive in return a.
ColdFusion MX 7 “Blackstone” Macromedia, Inc. macromedia 2005 Living With Today’s Internet Chronic problems continue to exist for users and developers.
Interactions & Automations
4000 Imaje 4020 – Software Imaje 4020 – Content ■ Content of Chapter Software: 1. Flash Up 2. Netcenter 3. FTP 4. Active X 5. XCL commands 6. Exercise.
MySpace.com – One Year Later & CFML on the.NET Platform Overview Vince Bonfanti President, New Atlanta.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
Ajax 101 for CF Programmers Randy Brown – Michigan State University
CFUNITED – The premier ColdFusion conference Using Event Gateways with CFMX7 By Jeff Tapper Tapper.net Consulting.
SciDAC SSS Quarterly Report Sandia Labs January 25, 2005 William McLendon Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed.
Section 10.1 Define scripting
Netscape Application Server
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Bomgar Remote support software
LGC Website, Software updates, Documentation, and Videos
Nate Nelson I*LEVEL, Inc.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
GT Portal v. 2.0 Data Delivery
Presentation transcript:

Introduction to Macromedia Coldfusion MX 7, Part III Gateways, Charting, Searching, and other new goodness Presented by the Mid-Michigan Coldfusion User’s Group 5/9/2005

The Final Part of the Series… In previous meetings, we discussed: –The New CF Forms (Flash Forms) –The New CF Document Commands (PDF) –The New CF Reporting Application This week’s meeting: –Gateways –Charting Enhancements –Verity Searching Enhancements –Other various enhancements in CF7

Gateways Gateways are Macromedia’s solution to integrate CFML with other applications and protocols. It also allows one to create processes that are executed asynchronously. Available in the Enterprise Edition, and Developer editions ONLY.

Gateways Possible uses of Gateways: –Asynchronous Logger Still get the verbose logs, but don’t sacrifice your processor power during heavy loads. –Interact directly with Cell Phones via SMS Includes a SMS tester, and instructions on how to make your CFML apps “SMS-Aware” –Interact directly with the TCP/IP stack Make an SNMP trap, a full featured FTP server, or even your own web-server!

Gateways Caveats –Requires Enterprise Edition Your target audience may be limited. –To create custom gateways, it requires an extensive Java background Limiting to non-java programmers outside the “standard components” –The SMS gateway requires an SMS aggregator to use outside of testing… $$$

Included Gateways Asynchronous CFML Gateway –Allows you to spawn asynchronous CFML pages to do background processing, for example Directory Watcher –Watch for files to change, and trigger events if the directory changes JMS Gateway –Seamless communication between your application and most Java Aware applications

Included Gateways SAMETIME Gateway –IBM Lotus Notes Instant Messenger Gateway SMS Gateway –Communicate directly with Cell Phone Text Messaging Socket Gateway –Work directly with the TCP/IP stack to send/receive data (Telnet) XMPP Gateway –Instant Message with Jabber clients

Using Gateways Using the Event Gateways feature of Coldfusion is easy! –All events are triggered using specially named CFC Functions! –Those events are automatically called by the running gateway, no work needed to get them to execute. –These events can also be triggered by CFML code.

Gateways Example Experience Bank Example

Charting Enhancements… Coldfusion MX 7 now has a completely new charting engine, which is extremely customizable! –Labeling / Dates works! –Custom Charts Can be derived as XML files, or can be put on server and called by name Charting Designer included in CFMX7 Install

Charting Enhancements… Make sure Java is installed… Double click on the “webcharts.bat” within the charting directory in the Coldfusion Root Directory

Charting Enhancements…

Once you have customized the chart the way you like, click on the “XML Style” tab, and click on the “Save” button Save your style in the Charting\Styles directory in your Coldfusion Root. You can now call the new style via the style=“” attribute of the tag.

Charting Example CFchart.cfm

Verity and Searching For the MX 7 release of Coldfusion, Macromedia got us a new version of Verity K2 Search Engine This new release allows us to –Full Text Searching (same as previous versions) –Spelling Corrections based on indexes (new) –Highlighted Search Results (new) –Search within results (new)

Verity and Searching Highlighting Search Context –By setting the “contextPassages” attribute of the command to a non-zero number (zero is the default), you can pull the highlighted context from the resulting Query –Use the “context” column from the query to display the results, instead of the “summary” –This works with ALL documents, except for PDF files.

Verity and Searching “Did you mean …. ?” –By setting the “status” attribute of the, you can enable suggested spelling results. –Spelling Results are derived by the index of the collection, *NOT* a dictionary, so names of products, or models will return results –Creating the “status” structure, is a small performance hit, so watch out!

Verity and Searching Did you mean #info.SuggestedQuery#?? #context#

Verity and Searching Searching within results –Now you can do efficient searches of search results. Verity will cache your searches and allow you to search the results for additional results. Using the previousCriteria attribute, you can pass the name of the Search Query of the search you wish to mine.

Verity and Searching Categories! –You can now categorize your new collections for searching, and search only certain categories. –For example, if you wanted to create a search tool for a software company, you might create categories such as whitepapers, documentation, release notes, and marketing collateral.

Verity and Searching Categories! –Create your new collection with the Categories attribute set to “yes” –Use the Category / CategoryTree attribute when creating the index with the CFINDEX tag. –Use the Category / CategoryTree attribute when using the CFSEARCH tag. This will delimit the return results to those categories.

Verity and Searching <cfcollection action = "action" collection = "collectionName" path = "path_to_verity_collection" language = "English" categories = "yes"> <cfindex collection="#Form.IndexColl#" action="update" extensions=".htm,.html,.xls,.txt,.mif,.doc,.pdf" key="#Form.IndexDir#" type="path" urlpath="#Form.urlPrefix#" recurse="Yes" language="English" category="taste, touch, sight, sound, smell" categoryTree="human/senses/taste">

Verity and Searching <cfsearch collection="collectionName" name="results" maxrows = "100" criteria="search keywords" category="FAQ,Technote" categoryTree="Docs/Tags">

The *NEW* Application.CFC In CFMX7, Macromedia introduced the Application.CFC –Now includes an elegant way to run code on application start, application end, session begin, session end, page begin, and page end. –Application.CFC supersedes the Application.CFM and OnRequestEnd.CFM

Method NameMethod Runs When onApplicationEnd()The application ends: the application times out, or the server is stopped onApplicationStart()The application first starts: the first request for a page is processed or the first CFC method is invoked by an event gateway instance, or a web services or Macromedia Flash Remoting CFC. onError()An exception occurs that is not caught by a try/catch block. onRequest()The onRequestStart method finishes. (This method can filter request contents.) onRequestEnd()All pages in the request have been processed: onRequestStart()A request starts onSessionEnd()A session ends onSessionStart()A session starts

The *NEW* Application.CFC The Methods will be executed in the following order: –onApplicationStart (if not run before for this application) –onSessionStart (if not run before for this session) –onRequestStart –onRequest –onRequestEnd

The *NEW* Application.CFC There is no tag available when you use the Application.cfc –You must set all the application settings via the this.xxx variable in the constructor. The tag is discouraged from being used. Use the OnError method instead.

Other new enhancements… Dreamweaver Enhancements –Improves components usability. –Auto-create CFC’s to interact with queries Better CFCs –No longer suffers from certain design issues from prior releases CF Administrator API –A true API to work with data sources, etc.

Other new enhancements… New DB Drivers –Improved performance Note: No longer supports mySQL 4.x out of the box due to licensing restrictions. You can download the new JDBC driver from Bug fixes, and other little add-ons –Don’t worry, we won’t list them all here

Q&A