Www.cfunited.com Transfer 101 Dan Vega. 2www.cfunited.com About Me Programmer ColdFusion / Flex / AS3 / HTML / JS / CSS / Groovy & Grails Cleveland ColdFusion.

Slides:



Advertisements
Similar presentations
Apache Struts Technology
Advertisements

OO Crash Course NVCFUG March 2015 Presented by Denard Springle.
Learning WebMatrix Part 3 of 3 Akber Alwani
Web Applications Development Using Coldbox Platform Eddie Johnston.
SOFTWARE PRESENTATION ODMS (OPEN SOURCE DOCUMENT MANAGEMENT SYSTEM)
Object Relational Mapping Overview Presented By: Denard Springle Northern Virginia ColdFusion Users Group.
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.
Project Implementation for COSC 5050 Distributed Database Applications Lab1.
UNIT-V The MVC architecture and Struts Framework.
CSE446 S OFTWARE Q UALITY M ANAGEMENT Spring 2014 Yazılım ve Uyguluma Geliştirme Yöneticisi Orhan Başar Evren.
Towards Bboogle 3.0.0: a Technical Walkthrough Patricia Goldweic Sr. Software Engineer AR&T, Northwestern University Brian Nielsen Manager, Faculty Support.
Object and object-relational databases 1. Object databases vs. Object-relational databases Object databases Stores complex objects – Data + functions.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
OM. Brad Gall Senior Consultant
NextGen Technology upgrade – Synerizip - Sandeep Kamble.
Rails and Grails. To get started Make sure you have java installed You can get the sdk and jre at:
Introduction to the Enterprise Library. Sounds familiar? Writing a component to encapsulate data access Building a component that allows you to log errors.
CSS Class 6 Make image into a button Create button with button element Group related form elements Control tab order Process form data.
CSCI 6962: Server-side Design and Programming
Configuration Management and Server Administration Mohan Bang Endeca Server.
Codeigniter is an open source web application. It occupies a very small amount of space in the memory and is most useful for developers who aim to develop.
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.
About Me I have been working with sharepoint since 2008 My blog:
ColdFusion 9 and Flex 4: Application Development Ryan Stewart Platform Evangelist, Adobe Systems
Introduction to Model-Glue Rachel Lehman Perpetual Intermediate Designer-Developer Introduction to Model-Glue.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Flex 2 Flex, ColdFusion and the Wizard Oh My! or Introducing the Flex/ColdFusion Wizard Theo Rushin Jr TeraTech, Inc.
2006 Adobe Systems Incorporated. All Rights Reserved. Designing & Building Structured Business Reports with ColdFusion MX 7 Adam Lehman ColdFusion Specialist.
Farcry Not just a game anymore…. What is Farcry?  Farcry is a Content Management System (CMS)  It is designed to separate the jobs of site creation/design.
DEV12 Excel Services, Server APIs and Managed UDFs Aaron Saikovski Senior Consultant - Readify Australia Blog:
The Web Developer’s Toolbox Steve Fabian e:
CODELABOR Shin Sang Jae Template Guide (codelabor-flex-lcds-template)
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
SimDB Implementation & Browser IVOA InterOp 2008 Meeting, Theory Session 1. Baltimore, 26/10/2008 Laurent Bourgès This work makes use of EURO-VO software,
CFUNITED – The premier ColdFusion conference ColdFusion Components Ajay Sathuluri Based on presentation.
Topic : Hibernate 1 Kaster Nurmukan. An ORM tool The problem fixed by ORM Advantage Hibernate Hibernate Basic –Hibernate sessionFactory –Hibernate Session.
WHAT IS SERVER SIDE SCRIPTING? Server-side scripting is a web server technology in which a user's request is verified by running a script directly on the.
Intro to Datazen.
Theo Rushin, Jr. Senior Web Application Developer World Singles and DoubleBlack Technologies 12/26/
JAVA BEANS JSP - Standard Tag Library (JSTL) JAVA Enterprise Edition.
Introduction and Principles Web Server Scripting.
ESG-CET Meeting, Boulder, CO, April 2008 Gateway Implementation 4/30/2008.
XA Advanced Development with Extender and Enterprise Integrator: RPG is so 1980s… Denise Luther Senior Technical Consultant 704.
Introduction to ORM Hibernate Hibernate vs JDBC. May 12, 2011 INTRODUCTION TO ORM ORM is a programming technique for converting data between relational.
ORM Basics Repository Pattern, Models, Entity Manager Ivan Yonkov Technical Trainer Software University
Google Code Libraries Dima Ionut Daniel. Contents What is Google Code? LDAPBeans Object-ldap-mapping Ldap-ODM Bug4j jOOR Rapa jongo Conclusion Bibliography.
Using Structures With CFCs By Selene Bainum. June 27 th - 30 th 2007www.cfunited.com Why Am I here? Familiar with structures Familiar with ColdFusion.
CS 440 Database Management Systems Stored procedures & OR mapping 1.
Hibernate Online Training. Introduction to Hibernate Hibernate is a high-performance Object-Relational persistence and query service which takes care.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
CFUNITED – The premier ColdFusion conference Flex 2.0 and ColdFusion Integration – 101 Nahuel Foronda Laura Arguello.
Introduction to SQL Server Automation with Powershell by Chris Sommer.
Reactor An ORM framework for ColdFusion Presentation By: Doug Hughes
CF Eclipse Nick Kwiatkowski Michigan State University, Physical Plant 8/8/2006.
TIBCO Business Events Online Training. Introduction to TIBCO BE Tibco Business Events is complex event processing software with a powerful engine enables.
CFUNITED – The premier ColdFusion conference CFMX7 Admin API Nate Nelson
Thomas Burleson. Using MVC with Flex & Coldfusion Projects June 27, 2007 See how Coldfusion MVC is similar to Flex MVC…
Introduction and Principles
Understanding SOAP and REST calls The types of web service requests
Beyond the BDC\BCS Model
A very brief introduction
Haritha Dasari Josue Balandrano Coronel -
PHP Training at GoLogica in Bangalore
…and web frameworks in general
Building a CF Administrator Interface in Flex
Building Serverless Enterprise Applications
The JSF Tools Project – WTP (internal) release review
…and web frameworks in general
Presentation transcript:

Transfer 101 Dan Vega

2www.cfunited.com About Me Programmer ColdFusion / Flex / AS3 / HTML / JS / CSS / Groovy & Grails Cleveland ColdFusion User Group Co Manager Active ColdFusion Community Member (Love Teaching) Open Source Developer CFMU (ColdFusion Multi Uploader) RocketFM (ColdFusion + Flex File Manager) cfPayflowPro (Payflow Pro API for ColdFusion) cfPanel creator along with Todd Sharp Cleveland OH / Sports Fan / Running / Weight Lifting / Poker STERIS – Web Developer ( Blogger –

3www.cfunited.com Transfer 101 Agenda What is an ORM and why does it exist What is Transfer Installing Transfer CRUD e-commerce application demo Relationships Decorators Q&A – Feel free to ask questions whenever

4www.cfunited.com What Problems does an ORM solve When creating systems that are comprised of objects there are many repetitive tasks that have to be done on a per object basis Value Objects (beans) getters / setters Writing CRUD (Create/Read/Update/Delete) Handling Relationships Populating objects with database queries Populating SQL with data from your objects

5www.cfunited.com What is Transfer An ORM (Object Relational Mapping) Library for ColdFusion Transfer ORM's main focus is to automate the repetitive tasks of creating the SQL and custom CFCs that are often required when developing a ColdFusion application. Through a central configuration file Transfer knows how to generate objects, and how to manage them and their relationships back to the database Created by Mark Mandel

6www.cfunited.com What it is not Hibernate / ColdFusion 9 ORM The end of SQL A code generator ORM Frameworks Reactor CFWheels

7www.cfunited.com Supported Systems CFML Engines Adobe ColdFusion MX 7+ Railo 3.0+ OpenBD 1.0+ ? Database Servers (What no Access?) MS SQL Server MySQL 4.1+ PostGres 8.1+ Oracle 9i+

8www.cfunited.com Installing Transfer Download the zip Setup a mapping Per application mappings in ColdFusion 8 rock! Drop it in your web root Configuration Datasource.xml / Transfer.xml / definitions Create Transfer factory & Transfer Instance

9www.cfunited.com Installation Demo

10www.cfunited.com CRUD - Create transfer.new(“object”) Returns a transfer.com.transferObject getters / setters for properties meta methods Object helper methods Events debug getPropertyMemento() (struct) demo

11www.cfunited.com CRUD - Save transfer.save(object) Update existing Create new demo

12www.cfunited.com CRUD - Read transfer.get(“object”,id) transfer.readByProperty(“object”,prop,val) transfer.readByPropertyMap(“object’,map) transfer.readByQuery(“object”,query)

13www.cfunited.com CRUD - Delete transfer.delete(object) transfer.cascadeDelete(object) demo

14www.cfunited.com Retrieving Query Lists Transfer.list(class, [orderProperty], [orderASC], [useAliases]) Transfer.listByProperty(class, property, value, [orderProperty], [orderASC], [useAliases]) Transfer.listByPropertyMap(class, propertyMap, [orderProperty], [orderASC], [useAliases]) Transfer.listByQuery(query)

15www.cfunited.com Demo

16www.cfunited.com Managing Relationships & Compositions Relationship types One to many Many to One Many to Many Collections Struct Array

17www.cfunited.com Demo

18www.cfunited.com Transfer Decorators A decorator is used when you wish to write your own CFC to be used to represent data, in place of the Transfer generated Object. Wraps and extends the transfer object Must extend transfer.com.TransferDecorator Decorator attribute on the object element in the transfer.xml configuration

19www.cfunited.com Demo

20www.cfunited.com Transfer 201 Decorators Cache Object Proxies Events Transfer & Flex Validation ValidateThis - Frameworks based on transfer Metro -

21www.cfunited.com ResourcesResources – Blog – Twitter

22www.cfunited.com Q&AQ&A