Fusebox & CFCs Barney Boisvert 2004 Fusebox Conference.

Slides:



Advertisements
Similar presentations
Struts Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Advertisements

Welcome to Middleware Joseph Amrithraj
Apache Struts Technology
Introduction to MVC Adding a View Page NTPCUG Tom Perkins, Ph.D.
ARCH-13 Developing WebSpeed  Applications Chris Skeldon Principal Consultant.
Introduction to Model-View-Controller (MVC) Web Programming with TurboGears Leif Oppermann,
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
© 2005, Cornell University. Rapid Application Development using the Kuali Architecture (Struts, Spring and OJB) A Case Study Bryan Hutchinson
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
Apache Struts Technology A MVC Framework for Java Web Applications.
Session-01. Layers Struts 2 Framework The struts 2 framework is used to develop MVC-based web application. Struts 1.0 was released in June The.
The course builder architecture & project planning presented by: Bahareh Agha Jafari.
Matthew J Mattia CSC  Cumbersome Code  Consistent/Predictable design (GUEPs #5, CD’s #10)  Display “proper” amount of information  Including.
Build a CMS Website. The topics this chapter covers are: What is CMS ? What you can do with CMS The benefits and disadvantages of using a content management.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
UNIT-V The MVC architecture and Struts Framework.
DSpace XML UI Project Texas A&M University Digital Initiatives, Research and Technology Scott Phillips, Cody Green, Alexey Maslov, Adam Mikeal, Brian Surratt,
MVC pattern and implementation in java
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Don’t Be Q-less Expanding Fusebox Functionality with FuseQ John Quarto-vonTivadar FutureNow, Inc.
Frameworks: Mach II or Fusebox 4? Sean A Corfield Director of Architecture Macromedia, Inc.
More on Fusebox at Fusebox Development Methodology : More on Fusebox at Fusebox Development Methodology.
ASP.NET and Model View Control Jesper Tørresø ITNET2 F08.
Enticy GROUP THE A Framework for Web and WinForms (Client-Server) Applications “Enterprise Software Architecture”
Todd Snyder Development Team Lead Infragistics Experience Design Group.
Design Patterns Phil Smith 28 th November Design Patterns There are many ways to produce content via Servlets and JSPs Understanding the good, the.
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
J2EE Structure & Definitions Catie Welsh CSE 432
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
1 © 2008 Avaya Inc. All rights reserved. IPOffice Configuration Service Emil Ratnam.
JSF Introduction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Silverlight Technology. Table of Contents 1.What is Silverlight Technology? 2.Silverlight Overview. 2.1 How it works 2.2 Silverlight development tools.
Csi315csi315 Client/Server Models. Client/Server Environment LAN or WAN Server Data Berson, Fig 1.4, p.8 clients network.
Implementation - Part 2 CPS 181s March 18, Pieces of the Site-building Puzzle Page 180, figure 4.1.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
More on Fusebox at Fusebox 3 Development Methodology : Fusebox 3.0 With thanks to David Laing, Hal.
Louisa Lambregts, Louisa Lambregts
Model View Controller Architecture of Java Web Applications Dr. M V S Peri Sastry, Ph.D.[BITS-Pilani]
Developing MVC based AJAX applications Kapil Mohan Rich Internet Application Developer, Uzanto Consulting A talk by.
Model View Controller MVC Web Software Architecture.
Fusebox Conference 2001 Out with the old in with the new An introduction to Fusebox 3.0 for current Fusebox developers By Erik Voldengen
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
An Introduction to FB4 An Introduction to Fusebox 4 If written directions alone would suffice, libraries wouldn't need to have the rest of the universities.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
XmlBlackBox The presentation Alexander Crea June the 15st 2010 The presentation Alexander Crea June the 15st 2010
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
Mach II at Macromedia Sean Corfield Director, Architecture An introduction to Mach II and its use on macromedia.com.
Mach-II Primer Ben Edwards An Introduction to Mach-II: An event-based, implicit invocation web-application framework.
1 Introduction to Web Application Review. 2 Five Layers Architecture HTML, CSS, Java Script ASP.net User ’ s.dll, Nunit, Web Services ADO.net SQL Server,
APACHE STRUTS ASHISH SINGH TOMAR ast2124. OUTLINE Introduction The Model-View-Controller Design Pattern Struts’ implementation of the MVC Pattern Additional.
Implementing Distribution and Persistence Aspects with AspectJ WAS CLASS.
Fusebox Not Just For Breakfast Anymore! An Introduction to Fusebox Author: Fred T. Sanders, Instant Knowledge Some Content unscrupulously taken from Steve.
Apache Struts Technology A MVC Framework for Java Web Applications.
CFUNITED – The premier ColdFusion conference Flex 2.0 and ColdFusion Integration – 101 Nahuel Foronda Laura Arguello.
HTML III (Forms) Robin Burke ECT 270. Outline Where we are in this class Web applications HTML Forms Break Forms lab.
Presented by Alexey Vedishchev Developing Web-applications with Grails framework American University of Nigeria, 2016 Intro To MVC Architecture.
Thomas Burleson. Using MVC with Flex & Coldfusion Projects June 27, 2007 See how Coldfusion MVC is similar to Flex MVC…
MVC Architecture, Symfony Framework for PHP Web Apps
Web Software Model CS 4640 Programming Languages for Web Applications
+ A Look at CFAjax Stephen Rittler CounterMarch Systems
.NET and .NET Core 7. XAML Pan Wuming 2017.
Web Development Using ASP .NET
Silverlight Technology
Subprograms and Programmer Defined Data Type
Brian Kotek INDUS Corporation
Back end Development CS Programming Languages for Web Applications
Leveraging ColdSpring To Make Better Applications
Back end Development CS Programming Languages for Web Applications
Presentation transcript:

Fusebox & CFCs Barney Boisvert 2004 Fusebox Conference

Problems with FB 1.The “DO in XML” problem 2.Grammar is not full-featured a)Need query/list/index loops b)Need nested conditionals c)Etc. 3.XML is cumbersome 4.No nested layouts?!?!

Two Key Concepts Encapsulation - being self contained –FB doesn’t really do this –CFCs provide help Abstraction - separate interface from implementation –FuseDocs do this for fuses (mostly) –CFCs excel at it Both of these contribute greatly to the long-term maintainability of code.

Parts of an App Controller (UI logic) View (display) Model (business logic) HTML FB FB or CFCs Flash (inc. Flex) Flash/CFCsFlashCFCs* Web Services N/A CFCs† HTML with existing Java backend FB N/A * You can use CFM templates for this, but it’s messy † You can use FB behind a CFC façade, but that’s even messier Check out this column

So what is FB? A framework, of course, but what kind? –Application (typical use) –UI (implied by application) HTTP/text-based (definitely) Flash (not a chance) Web Services (ugly, but possible, with CFC help) What about Mach-II? Struts? Ben Hediard’s MVCF (

FB Request Flow

Desired Request Flow

What’s different? Clear distinction between action and display requests Clear distinction between UI logic and business logic Ability to “scalp” the app at any layer, and leave a functional remainder

Why is it different? FB controller circuit has ALL public fuseactions, both action and display FB can potentially combine action and display fuseactions FB’s business logic depends on the controller and it’s framework “Does this have anything to do with user interaction?”

The Layer Stack

Other benefits of CFCs Can be stateless or stateful Can easily integrate with Flash & web services Can be [nearly] transparently replaced with Java or COM Can be fully encapsulated –More effective testing –No weird assemble-time interferences Objects can provide easier/better modeling Help remove that pesky ozone layer

Why Use FB At All? Procedural nature of HTML clients FB is awesome at managing text layouts FB’s already coded, tested and functional

Weighing Frameworks I still write pure FB apps (even single-circuit ones) I never do framework-less apps Balancing current needs, anticipated needs, and overhead

Building CFC-based Models Objects (user, product, etc.) Processes (add user, check out, etc.) Collections (user list, cart contents, etc.) Business Objects & DTOs Services Gateways