You have successfully installed the LightFront framework!

You may have gotten here by going to: http://test.lightfront.org/skeleton/examples/skeleton/index.cfm. This action is home.

So now what?

Examples:

Getting Started:

  • Open the Application.cfc file and change this.name to the name of your application, or keep the default, which will generate a unique one for you.
  • Go to the setCustomLightFrontSettings() function and set LightFront's settings there that aren't part of the standard install. Don't worry, you only have to set the ones that are different than the defaults, or if your site will use optional settings, such as the use of switch files, as in Fusebox 2/3 circuits.
  • If you want to keep your controller and view folders outside of the LightFront root, you can, but you need a mapping added to point them to /lfront/controller/ and /lfront/view/ respectively.
  • Add your controller cfc(s).
  • If you have views you want to call directly, add them according to the action you want to call.
  • If you have Fusebox 2/3 circuits or a similar switch file, you can add that as a controller as well. In order for those to work, you must declare a setting in setCustomLightFrontSettings() of your Application.cfc.
  • LightFront can automatically read services located in /lfront/model/ by calling initService(serviceName).
  • You can declare other CFCs in the model using application.lfront.initComponent(path within /lfront/model), use a custom object factory or a dependency injection framework like ColdSpring or LightWire.

LightFront Framework, version: 0.4.7. ©2012 Brian Meloche - Apache License, Version 2.0