Project Home • Blog • Forums • Wiki • Known Issues • Contact Project
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:
loadAction() (loads the action to the request scope)
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:
New Getting Started video posted here:
LightFront on the CFMeetup - recorded Thursday, November 5, 2009:
Also mentioned a lot in my OO ColdFusion meetup, recorded June 3, 2010:
Recent Blog Entries:
5/10/10 LightFront 0.4.4 has been released, and it's production ready!
10/12/09 Skeleton app released in 0.3.5
10/7/09 0.3.2 is out! Blog post on brianmeloche.com
10/5/09 0.3.1 is out!
10/1/09 LightFront 0.3.0 has been released!
ColdFusion 7.0.2+ (requires an /lfront mapping set in CFAdministrator)
OpenBlueDragon 1.1+ (not tested below)
Railo 3.1.1+ (not tested below)
To enter issues for this (or any other) project, you must be logged in.
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.