1 / 21

Fusebox 5 vs Model-Glue

Fusebox 5 vs Model-Glue. JaxFusion September 2006. About the Presenter. David Fekke Developing Fusebox since 1.0 New to Model-Glue Early adopter of CFCs Lead for Vurv HR-XML API. What is covered in this Presentation. How to build web apps in Fusebox and Model-Glue Basic XML syntax

sezja
Download Presentation

Fusebox 5 vs Model-Glue

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Fusebox 5 vs Model-Glue JaxFusion September 2006

  2. About the Presenter • David Fekke • Developing Fusebox since 1.0 • New to Model-Glue • Early adopter of CFCs • Lead for Vurv HR-XML API

  3. What is covered in this Presentation • How to build web apps in Fusebox and Model-Glue • Basic XML syntax • Basic MVC

  4. What is not covered in this Presentation • Unity, i.e. Reactor or ColdSpring • Fusedocs

  5. Why use a Framework • 80% percent of development is maintenance • Encourages the use of MVC design pattern • Reduces the need spaghetti code • Makes your code more reusable

  6. MySpace

  7. Fusebox History • Just a methodology • Custom Tags • Version 3 added framework • Version 4 uses XML config • Version 5 rewritten with CFCs

  8. Fusebox Basics • Fusebox is based on a simple switch mechanism, hence the name “Fusebox” • Code files are referred to as “Fuses” • Most “fuse” files have very little code • Documentation called Fusedocs

  9. Fusebox components • Fusebox.xml • Circuit.xml • Core files in fusebox5 folder • All requests through Index.cfm • App divided into circuit folder • Plugin directory

  10. Fusebox.xml syntax • <cicuits> • <classes> • <parameters> • <globalfuseactions> • Appinit, preprocess, postprocess

  11. Fusebox.xml plugin syntax • <Plugins> • <phase name=“preProcess”> • <phase name=“preFuseaction”> • <phase name=“postFuseaction”> • <phase name=“fuseactionException”> • <phase name=“postProcess”> • <phase name=“processError”>

  12. Circuit.xml syntax • <fuseaction name=“fuseactionname”> • <xfa name=“save” value=“app.save” /> • <include template=“file.cfm” /> • <do action=“m.saveCat”/> • <set name=“id” value=“1” /> • <if condition=“”> • <instantiate/> <invoke />

  13. Lexicons • Add your own verbs • Lexicon folders

  14. Code Examples

  15. Model-Glue Framework • Developed by Joe Rinehart of BAH • Also uses XML config file • Meant for more OO styled programming • MG-Unity is adding support Reactor, and ColdSpring

  16. Model-Glue structure • All requests through Index.cfm • Config directory • Model-Glue.xml • Controller CFCs • ModelGlue folder in web root

  17. Model-Glue config syntax • Controller, message-listener • event-handler • Broadcasts, message • Views, include • Results

  18. Code Examples

  19. Other Frameworks • Mach-II • OnTap: based on Tapestry • CF on Wheels • Ruby on Rails • Django for Python • Cairngorm Flex • Struts, JSF and many others…

  20. Links • www.model-glue.com • www.fusebox.org • corfield.org • www.techspedition.com • www.halhelms.com • www.briankotek.com/blog/ • clearsoftware.net

More Related