Ben Griffiths - Freelance PHP Web Developer
Ben Griffiths - Freelance PHP Developer

Flex PHP

Flex PHP is a framework I am developing. Mainly it's for my own use, but once its a bit more polished off, I'll offer it for download here.

This site is running on the testing version of this framework.

The idea behind this particular framework is to keep things simple. The included libraries are the ones most commonly used, so I built a mysql wrapper, GD thumbnailing functions, Session Control, xml/rss system is included, along with swiftmailer. I have also written a one off routing system / bootstrapper so theres no need for messy htaccess files and mod_rewriting. (The .htaccess has barely more than 5 lines of code).

You can switch the framework into development/live mode with one variable, and control most site wide variables from a single config file.

Within the javascript and CSS files, you can simply type !IMAGESWEB to denote the path to the images folder - therefore eliminating the need to have two different files for local and development work when using direct paths. This also helps when migrating domains and AJAX URL's as you don't need to trawl through files changing every reference!

The folder structure is very neat, and is easy to keep that way.

Flex PHP Folder Structure

The Flex PHP Root Folder Structure

The framework uses a custom template system with modular add ons. You can simply create a module (Like the "Blog Entries & Tutorials" section to the top of this webpage) and include it when you need it. It also houses a flash reporting system for error, success and info messages.

I have kept things simple, so it's very easy to expand on the framework and add new libraries and features (For those who know what they are doing).

With it being my first framework, it's by no means perfect - however once it's up to scratch, it'll be here for all to download and use for free.

Once complete, I plan to have included a lightbox system, an upload library and more commonly used tools.

If you would like to test an early version of the framework, please feel free to contact me.

Contact Me

Client Tools

Connect with Me

Most Popular Pages

Blog Entries & PHP Tutorials

My Daily Reads

Sweet Flickry Goodness

GardenGardenTesting iPhone upload :)My DeskCarsDSC_00061DSC_0003wamfc-desc-1
Flex PHP Framework