Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

LightFront
Project Home Blog Forums Wiki Known Issues Contact Project

Author: Brian Meloche (All RIAForge projects by this author)
Last Updated: November 7, 2013 11:42 AM
Version: 0.4.7.67
Views: 46,683
Downloads: 1,267
License: Apache License, Version 2

Description:

LightFront is designed to be a basic MVC framework that will support both new development and legacy applications.

It's all centered around a single CFC that's only 364 lines!

https://groups.google.com/forum/#!forum/lightfront (invitations must be requested; if you want in, you have to prove you're not a bot).

Download it, take the skeleton application, and you should be up and running with a skeleton LightFront app in a few minutes.

If you've looked at FW/1, you'll find LightFront very similar in a lot of ways, but there are a few things that makes LightFront even simpler than FW/1.

LightFront is a pragmatic framework. It was designed to allow you to transition an existing application to LightFront, and move to a CFC controller-style architecture gradually if needed.

You can call views directly, so it will support old style standalone templates. In fact, as such, you don't need a controller for everything, as if it can't find a controller for the event, it will check to see if there's a view corresponding to that event. This is great if you need to support a lot of static content... you don't need the extra plumbing if the application doesn't need it.

It also can use a procedural switch file, a la Fusebox 2 and 3, as a controller. This gives you a lot of flexibility, and helps you reuse code that might be written in a different style but does its job. That also helps you transition into CFC controller-based applications.

LightFront plays nicely with IOC and ORM frameworks, and even with other controller frameworks, if needed, but it doesn't support them directly.

LightFront is one of the simplest frameworks ever made for CFML. There are only a few functions you need to learn to use the framework effectively:

callAction()
loadAction() (loads the action to the request scope)
displayView()
initService()
initComponent()
relocate()
getSetting()
link()

The intention is to KEEP IT SIMPLE, and to not let LightFront expand beyond its current simplicity. It's a basic framework that can do most of what you need, with a short learning curve and not a lot of complexity. Even novice CFML developers can learn LightFront quickly and use it effectively.

LightFront is production tested.

Update! New release is 0.4.7. Current revision is at least 0.4.7.67. All of the applications have been updated to 0.4.7. By popular demand, we've moved lightfront.cfc to the same folder as your Application.cfc. Classes are now called controllers, and methods and events are now called actions. A README file is included, as well as four sample applications (and one more on the way).

At 0.4.7 and with the recent production work, I officially declare LightFront production worthy. Documentation and videos are coming.

Recent blog entries:
http://www.brianmeloche.org/blog/index.cfm/2009/10/7/LightFront-The-incredibly-simple--approachable-MVC-Framework-for-ColdFusion

http://www.brianmeloche.org/blog/index.cfm/2010/5/10/LightFront-044-has-been-released-and-my-CFObjective-talk

New Getting Started video posted here:

http://www.brianmeloche.org/blog/index.cfm/2010/5/13/LightFront--New-Video-Series--Getting-Started-with-LightFront

LightFront on the CFMeetup - recorded Thursday, November 5, 2009:
http://experts.na3.acrobat.com/p15958860/

Also mentioned a lot in my OO ColdFusion meetup, recorded June 3, 2010:

http://experts.na3.acrobat.com/p93791252/

Recent Blog Entries:

Last Update:

Updating links...

Requirements:

ColdFusion 7.0.2+ (requires an /lfront mapping set in CFAdministrator)
OpenBlueDragon 1.1+ (not tested below)
Railo 3.1.1+ (not tested below)

Issue Tracker:

ID ISSUE STATUS UPDATED
8 Cannot declare local variable lfront twice in CF7 Closed 01/28/10 7:57 PM
1 LightFront Skeleton Closed 11/23/09 5:48 AM
3 CFC-controller based sample - single CFC with assignments Closed 11/23/09 5:47 AM
7 Need a sample that defines interaction with the model Closed 11/23/09 5:47 AM
5 Restrict reloads and dumps - allow applicationMode settings Closed 11/07/09 8:07 PM

View All Issues

To enter issues for this (or any other) project, you must be logged in.