Tuesday, December 22, 2009

ColdFusion ORM Frameworks Now in in Adobe ColdFusion 9

Object-Relational Mapping (or ORM), is a programming technique that links databases to object-oriented language concepts, creating (in effect) a “virtual object database.” There are both free and commercial packages available that perform object-relational mapping, although some programmers opt to code their own object-relational mapping for their systems.

In object-oriented programming, programming objects represent real-world objects. To illustrate, consider the example of an address book, which contains listings of people along with zero or more phone numbers and zero or more addresses. In object-oriented terms this would be represented by a “person object” with “slots” (fields, members, instance variables etc.) to hold the data that make up this listing: the person’s name, a list (or array) of phone numbers, and a list of addresses.

The crux of the problem is in translating those objects to forms which can be stored in files or databases, and which can later be retrieved easily while preserving the properties of the objects and their relationships; these objects can then be said to be persistent.

Object-Relational systems attempt to solve this problem by providing libraries of classes which are able to do this mapping automatically. Given a list of tables in the database, and objects in the program, they will automatically map requests from one to the other. Asking a person object for its phone numbers will result in the proper query being created and sent, and the results being “magically” translated directly into phone number objects inside the program.

From a programmer’s perspective, the system looks like a persistent object store. One can create objects and work with them as one would normally, and they automatically end up in the relational database.

A number of ORM frameworks have been created for ColdFusion:

Reactor

Reactor, created by Doug Hughes of Alagad fame, is a very simple API for ColdFusion which generates and instantiates database abstraction CFCs on the fly as needed.

http://www.doughughes.net/

Arf!

Active Record Factory (Arf!) is a Rails-style ActiveRecord implementation in ColdFusion.

Below is a list of the basics that Arf! provides:

  • JDBC metadata based reflection: not database specific
  • Creates ActiveRecord API‘d instances out of CFCs that extend a base ActiveRecord component
  • Implements hasMany() and belongsTo() methods for establishing Record properties that point to other tables
  • Allows for overloading any of the automagically generated methods to add custom business logic
  • Automagic methods on Records include GetInstance(), Create(), Read(), Update(), Delete(), Save() [smart create/update], List(orderBy, whereClause), Validate() [does type and length checking], and SetNNN()/GetNNN() methods for each DB column

http://www.clearsoftware.net/

objectBreeze

Developed by Nicholas Tunney, objectBreeze is an ORM tool that allows you to interact with your data persistence layer and easily model objects within your ColdFusion applications. With no setup, objectBreeze will instantly create objects directly from your database schema. objectBreeze requires that your table has -a- primary key defined. Currently, objectBreeze works with Microsoft SQL, Oracle, MySQL and PostgreSQL, but other versions are on the way.

http://www.objectbreeze.com/ob/

cfcPowerTools

Batch generation of your data layer objects in minutes.

http://cfcpowertools.riaforge.org/

Transfer

Transfer was built out of a need to speed up the development process that is normally slowed down by the development of Business Objects and Data Access Objects.

Transfer does this through a series of methods, including SQL generation and CFML code generation, that all occur during the run-time process.

All this is configured through a XML file, that maps your object generation back to the tables and columns in your database.

http://www.compoundtheory.com/

Wednesday, October 14, 2009

ColdFusion Training syllabus

ColdFusion Training syllabus

1. Introduction and Installation

Time: 2 hours

This course provides an introduction to the interface and the new features of ColdFusion MX, as well as how to install and set up ColdFusion Server.

Objectives

  • Describe ColdFusion MX
  • Describe ColdFusion tag and function syntax
  • Demonstrate ColdFusion code
  • Install and set up a ColdFusion development environment
  • Use the ColdFusion Administrator application
  • Register datasources

Topics

  • Introducing ColdFusion MX
  • New in ColdFusion MX
  • Getting started with ColdFusion
  • Setting up the development environment
  • Installing ColdFusion MX Server
  • Configuring ColdFusion Administrator
  • Data and Services settings
  • Debugging and Logging Settings


2. Talking With the Database

Time: 3 hours

This course introduces the two basic ColdFusion tags used to query a database and display results. The user learns to use CFQUERY to perform queries and CFOUTPUT to display the results on a Web page. The user also learns to use standard SQL to perform basic database operations.

Objectives

  • Establish a connection between a Web server and database
  • Write SQL statements to select, insert, update, and delete information
  • Use CFQUERY tags to send and receive database information
  • Use CFOUTPUT tags to display database information
  • Use advanced ColdFusion functions to create new queries and query the results of previous queries

Topics

  • Making database connections
  • Defining and organizing tables
  • Introduction to SQL
  • Adding and deleting data
  • Using SQL joins
  • Grouping and aggregating results
  • Getting data to and from your database
  • Constructing queries
  • Outputting your data
  • Grouping the data
  • Getting the most from your queries
  • Manipulating data
  • Queries without a database
  • Queries of queries


3. Displaying Data

Time: 3 hours

This course provides an overview of form basics, validating form data, and submitting the form and saving the data. It also includes information on building dynamic pages by using query results to create charts and graphs.

Objectives

  • Create a form
  • Validate form data
  • Submit a form
  • Display data dynamically
  • Create charts and graphs

Topics

  • Creating a form
  • Using form elements
  • Validating data
  • Required fields
  • Submitting the form
  • Displaying dynamic data
  • Building dynamic pages
  • Creating charts and graphs
  • Dynamic graphing
  • Standard and drill-down charts


4. Programming and Application Framework

Time: 3 hours

This course covers programming elements including variable scoping and flow-control statements, which are key to building useful ColdFusion applications.

Objectives

  • Scope and lock variables
  • Use the flow control statements CFIF, CFSWITCH, and CFLOOP
  • Link pages using the application framework
  • Track users using Client and Session variables

Topics

  • Understanding CF variables
  • Setting variables with CFSET
  • Variable scope
  • Basics of program flow
  • Looping
  • Manipulating the page
  • A dynamic example
  • The application framework
  • Application.cfm and OnRequestEnd.cfm
  • Variables for applications
  • Tracking users within sessions
  • Tracking users across sessions
  • Locking variables
  • CF development frameworks


5. Custom Tags and Building Blocks

Time: 3 hours

This course explains how to use ColdFusion custom tags and how to build custom tags. It introduces ColdFusion Components, built-in functions, and user-defined functions.

Objectives

  • Describe how custom tags work in ColdFusion MX
  • Create and modify custom tags
  • Build ColdFusion components
  • Identify built-in functions and describe their uses
  • Use CFSCRIPT to enhance your code
  • Create your own user-defined functions

Topics

  • Working with custom tags
  • Finding and installing custom tags
  • Using custom tags
  • Creating custom tags
  • Custom tag scope
  • ColdFusion components
  • Using ColdFusion components
  • Built-in functions
  • Using CFSCRIPT
  • User-defined functions
  • Creating user-defined functions


6. Using E-mail, Complex Data Types, and FTP

Time: 4 hours

This course provides information on integrating e-mail into ColdFusion applications, using complex data types such as lists, arrays and structures, and managing directories and files using FTP.

Objectives

  • Use ColdFusion to send and receive e-mail and attachments
  • Describe the use of complex data types, and the functions that support these data types
  • Work with files and directories on a Web server
  • Allow users to upload files to a Web server
  • Manipulate files and directories on an FTP server

Topics

  • Sending e-mail
  • Reading e-mail
  • Complex data types
  • Lists
  • Arrays
  • Structures
  • Web Distributed Data Exchange (WDDX)
  • Manipulating files
  • Uploading and moving files
  • Managing directories
  • Using FTP
  • Uploading and downloading


7. Securing, Debugging, and Improving Application Performance

Time: 3 hours

This course provides information on securing your ColdFusion environment, isolating bugs and using built-in debugging tools, and improving the performance of your ColdFusion applications.

Objectives

  • Secure the ColdFusion environment
  • Build secure applications
  • Isolate bugs and use built-in debugging tools
  • Create scalable applications
  • Optimize database queries
  • Use stored procedures

Topics

  • Security basics
  • Securing the ColdFusion environment
  • User security
  • Building secure applications
  • Understanding debugging
  • Isolating bugs
  • Built-in debugging
  • Handling errors
  • Creating scalable applications
  • Configuring caching
  • Optimizing database queries
  • Using stored procedures

8. Ajax scripts

Time: 3 hours

This course provides information on access your ColdFusion environment from client side, Getting knowledge of client and server side management.

Objectives

  • Build Ajax applications
  • Ajax with JQuery and engine
  • Httprequest description
  • Optimize database queries with ajax
  • Use stored procedures from ajax

Topics

  • Ajax basics
  • Client Securing in the ColdFusion environment
  • Ajax with Java Scripts
  • Building secure applications with JS
  • Understanding Work Flow
  • Handling errors
  • Creating scalable applications


9. Using Flash, Java, and XML

Time: 3 hours

This course explains how to integrate ColdFusion with Flash, Java, and XML to create robust applications.

Objectives

  • Use Flash with ColdFusion MX
  • Use JSP custom tag libraries with ColdFusion MX
  • Integrate JSP, servlets, and ColdFusion MX
  • Use Java objects with ColdFusion MX
  • Use XML with ColdFusion MX

Topics

  • ColdFusion and Flash fundamentals
  • Communicating between Flash and ColdFusion
  • Putting a Flash application together
  • Integrating Java with ColdFusion
  • Setting up a JSP tag library
  • Mixing JSP, servlets, and ColdFusion
  • Manipulating Java objects
  • Using JavaBeans
  • Understanding XML
  • Working with XML
  • Creating an XML document
  • Transforming data with XSLT


10. Integration and Understanding Fusebox

Time: 2 hours

This course provides you with information on integrating your ColdFusion applications with other applications, designing better applications with the Fusebox framework, and using FLiP to streamline your design methodology.

Objectives

  • Integrate ColdFusion applications with other applications
  • Create a Web service
  • Create an application framework using Fusebox

Topics

  • Web application integration options
  • Scraping the Web with CFHTTP
  • Building a simple agent
  • Building Web services
  • Building better applications
  • The case for Fusebox
  • How Fusebox works
  • Managing settings
  • Building a Fusebox application


11. Functions, Tags, and Resources

Time: 2 hours

This course covers the wide variety of ColdFusion tags, functions, and resources, including ten different categories of functions, a dozen new tags, and the ample assortment of ColdFusion resource sites.

Objectives

  • List and describe ten categories of ColdFusion functions
  • List and describe a variety of commonly-used ColdFusion tags
  • Access and use a variety of ColdFusion resource sites on the Web

Topics

  • Functions
  • Tags
  • Resources

12. WSDL

Time: 3 hours

This course covers the WSDL functionality and using it, including calling from different server.

Objectives

  • List and describe ten categories of wsdl functions
  • List and describe a wsdl functions.
  • Access and use of wsdl on the Web

Topics

  • Functions
  • Tags
  • Resources
  • Using

13. Live Project

Time : 3 Days

14. All Interview Related Questions and Answers

Sunday, September 20, 2009

Learn coldfusion and get coldfusion project

Hi All,

It's pleasure to invite you as a Coldfusion learner and get a project free with tutorials and all related queries and soled papper.
get prepared for certifications and other exams.

For more details
Please Contact
Kalyan Dhar
kalyan.cse.jis@gmail.com
+919007479716
03325817535
Location : Kolkata