My favorites | Sign in
Project Home Wiki Issues Source
Project Information
Members
Featured
Wiki pages

Lite Weight Model View Controller Framework

The Lite Weight Model View Controller Framework or (lwmvc) for short, is a PHP framework based on the MVC design pattern. It’s goal is to provide a robust PHP Framework which is built to be fast simple, and unobtrusive.

Project News

August 15th 2009: Wow! I haven't updated the project page for lwmvc in some time, but there has been a good amount of work on the project. lwmvc has been used in a number of applications for a variety of industries. I've just recently been working on adding "simple" data abstraction to the framework. I have been reviewing a lot of code i've written, or seen written using this framework, and noticed a lot of duplication when is came to interaction with the database. Almost all applications do simple selects, updates, deletes. So I figured it would be worth adding support to a system of interacting with the database or "storage", in a very abstract way. This allows very simple, quick access to read & write from the database, without really thinking about the store medium.

I've been working on a really large scale, very complex web based application that uses this framework, I've been using the new IA Data Abstraction system during this development cycle and see the benefits even more day to day. Almost all of the controllers end up being simple, couple line scripts that call starts up an IA class, and load up all the data needed, or write all the data retrieved. It really simplifies thing.

The next big add on will be an overall security overhaul and bottom up structure. I plan on adding transparent data sanitation, along with functionality that will automatically security form vars, and data passed as part of a URL.

I also want to investigate adding a built in authentication system, which can be pointed at a number of table formats, and permission complexity.

Of course, all these new functions won't be required. I try really hard to keep backwards compatibility, to encourage people to update to fix bugs, and improve performance. If there's no rewriting necessary, your new applications can use the same library files/version as one that was written years before.

December 17th 2008: First version of the framework which has a "stable core" This Release includes unit tests for all core functionality, along with two controller formatting types supported. Please see the getting started WIKI page for detailed information on installed, setting up, and using this framework.

Features:

Use any directory structure: Point lwmvc to the controllers directory & template directory and design of the directory structure your self. Lwmvc is called within a single controller index.php file in the root web-accessible directory.

Performance Based:lwmvc is being developed with speed in mind.

Smarty Based:Templating system uses smarty, so you can use existing smarty templates.

Security:Only a single index.php needs to be web accessible, the rest of your application (including this framework) can reside within a non-web accessible directory. Lwmvc also includes functionaity for user input sanitation and form post origination detection.

Supported Platforms

Currently, testing and development is being done on Linux via Apache and OS X 10.4 via Apache. Any Platform that supports Unix style file path should be functional without issues.

Roadmap

This Project is in Alpha status, My inital goal is to create a stable version which includes:

  • Extensive Error handling and exception handling.
  • Extensive Error Information & Supporting Documentation for unexpected uses and situations.
  • Complete Coding Examples for all common uses of the framework
  • 100% Code Coverage with PHP DocBlock Commenting
  • 70% Code Coverage with PHP Simpletest Unit tests for core functionality.
1.5 is far off, but id I have documenated the key features I'd like to includes in the RoadMap Wiki page

Code Coverage & Unit testing

Unit test code coverage is currently at aprx. 85%. I anticipate it will be at 100% before the end of January.

Core Developer(s)

Currently, lwmvc is being developed & maintained By Justin Burger, see the Maintainer Wiki Page for more information.

Installing

For detailed instructions on how to install, please check the Install Wiki Page

Powered by Google Project Hosting