ColdBox Platform

ColdBox Platform
ColdBox Platform
ColdBoxLogo.png
Original author(s) Luis Majano & Ortus Solutions
Developer(s) [1]
Initial release June 15, 2006; 5 years ago (2006-06-15)
Stable release 1.1.2 / February 18, 2011; 7 months ago (2011-02-18)
Development status Active
Written in CFML
Operating system Cross-platform
Type Web application framework
License Apache License
Website coldbox.org

ColdBox is a professional open source enterprise, conventions based web application framework designed for applications written in ColdFusion Markup Language. ColdBox was the first ColdFusion framework to leverage conventions over configurations and it aims for simplicity, rapid development, and makes use of the Model-view-controller, Dependency_injection, Unit_testing, Aspect-oriented_programming architectural pattern. ColdBox is comprehensive and modular, which helps address most infrastructure concerns of typical ColdFusion applications

Contents

History

  • ColdBox was developed by Luis Majano and open sourced for the first time in 2006.
  • Since 2006 there have been over 23 releases.
  • ColdBox became a professional open source project when professional services where created by the parent company Ortus Solutions, Corp in 2008.
  • The latest generation version is 3.1.0 released in 2011

Overview

ColdBox has been developed with a number of goals in mind:

  • Provide a high-productivity web framework for the ColdFusion platform.
  • Integrate with hibernate ColdFusion ORM to allow for faster development of relational applications
  • Offer a consistent framework which reduces confusion and is easy to learn.
  • Offer documentation for those parts of the framework which matter for its users. It has over 700 pages of documentation in the online wiki
  • Provide what users expect in areas which are often complex and inconsistent:
    • Powerful and consistent persistence abstraction layers.
    • Powerful and consistent conventions over configurations (No XML)
    • Internal Domain Specific Languages to define caching, DI/AOP, logging and mocking.
    • Ability to do unit and integration testing
    • Good Ajax support which is easy to extend and customize.
    • Powerful RESTful and SOAP web service support
    • Powerful and Consistent Adobe Flex/Air integration and monitoring
  • Provide 25 sample applications which demonstrate the power of the framework.
  • Provide multi-development environment capabilities

Internal Frameworks

The ColdBox Platform is unique in that it aggregates 5 different frameworks into one ColdFusion development platform:

  • LogBox - Enterprise Logging Library
  • WireBox - Enterprise Dependency Injection and AOP library
  • CacheBox - Enterprise Caching Engine and Aggregator
  • MockBox - Testing, Mocking and Stubbing library
  • ColdBox - MVC conventions based web framework

External links

High productivity

ColdBox has seven properties which attempt to increase productivity when compared to traditional web frameworks:

  • No XML configuration
  • Built in enterprise logging
  • Built in enterprise caching
  • Built in dependency injection and AOP capabilities
  • Ready-to-use application templates
  • Functionality available through mixins and conventions
  • Built in RESTful and SOAP web service capabilities

Documentation

ColdBox's documentation is what sets it apart with over 700 pages worth of documentation online, professional training and books.

Custom Conventions

Conventions over configurations is the standard in ColdBox development. It does not rely on the verbosity of xml logic and uses ColdFusion and a set of conventions for development. Conventions are also used for registering events, interceptors, plugins and much more.

Coldfusion Controllers instead of XML Controllers

ColdBox doesn't rely on XML declarative logic where you have to define an event, what it does and where does it go. ColdBox is a conventions based framework that will let you program in ColdFusion to get things done.

Below is an example of a controller:

component{
 
  // Use DI for hibernate virtual services
  property name="userService" inject="entityservice:User"; 
 
   function sayHello(event){
     return "hello";
  }
 
   function list(event){
     // render out all users in json format
     event.renderData(type="json", data = userService.list() );
  }
}


URL Mappings

ColdBox supports URL mappings and routing Rails style but adapted for ColdFusion. It also supports the creation of RESTful routing:

addRoute(pattern="api/user/:username",handler="user",action={get='list', post='create', put='update', delete='remove'});

RESTful URLs

ColdBox allows for easy creation of RESTful URLs via URL mappings and extension detection. Natively ColdBox can detect any extension when supplied to an URI resource:

http://api.coldbox.org/rest/user/lui.json
http://api.coldbox.org/rest/user/lui.xml

It allows for the detection of such extensions, security around them and the ability to customize the extensions.

Ajax support

ColdBox supports all JavaScript frameworks that provide Ajax capabilities. It also provides an auto-marshalling function to render any object to the following formats natively:

  • XML
  • WDDX
  • JSON
  • CUSTOM

SOAP-Adobe Flex/Air Support

ColdBox offers support for creating, monitoring and developing SOAP web services and Flex/Air remote components. It allows for having one development paradigm for multiple GUI interfaces.

Companies providing ColdBox development services

  • Ortus Solutions provides consulting services being the main developer of the platform.
  • Computer Know How provides ColdBox services as being a ColdBox Alliance Partner



Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Comparison of web application frameworks — This is a comparison of notable web application frameworks. Contents 1 General 1.1 Perl 1.2 PHP 1.3 Java 1.4 Python …   Wikipedia

  • Сравнение каркасов веб-приложений — Это сравнительная таблица фреймворков веб приложений. Содержание 1 Фреймворки 1.1 ASP.NET 1.2 C++ 1.3 ColdFusion Markup Language (CFML) …   Википедия

  • List of web service frameworks — A list of web service frameworks: Name Platform Messaging Model(Destination) Specifications Protocols ActionWebService Ruby (on Rails) Client/Server  ? SOAP, XML RPC, WSDL AlchemySOAP C++ Client/Server WS Addressing SOAP …   Wikipedia

  • Model–view–controller — A general representation of the MVC design pattern. Model view controller concept. The solid line represents a direct as …   Wikipedia

  • Mango Blog — Developer(s) Laura Arguello Stable release 1.6 / January 18, 2011; 9 months ago (2011 01 18) Development status Active Written in …   Wikipedia

  • Mura CMS — Developer(s) Blue River Interactive Stable release 5.5 / November 1, 2011; 18 days ago (2011 11 01) Development status Active Written in …   Wikipedia

  • ColdFusion Markup Language — CFML redirects here. For the radio station, see CFML FM. Cold Fusion Markup Language (CFML) Paradigm(s) imperative, object oriented Appeared in 1995 Designed by Jeremy Allaire Developer Adobe System …   Wikipedia

  • List of web application frameworks — This is a list of notable web application frameworks, used for creating web applications. Client side ActionScript * Cairngorm * PureMVCJavaScript* Backbase * CJAX * Clean AJAX * Dojo Toolkit * Echo * Ext * [http://www.gapjumper.com/ Gapjumper] * …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”