Akbar on Development
Attaining the Impossibles
  • All Projects
  • Jack Sparrow Compass
  • Subtitles Translator
  • USB Disk Manager
  • Swift MVC Framework
  • TaskbarExt
  • Quick Chess
  • Basecamp Extension
  • Language Tools
  • Rapid Downloader

PHP MVC Framework for Geeks, and GEEKS ONLY
Download File Size: 40 KB
Fork this on GitHub

Swift MVC Key Features

Lightning Fast

It's as fast as a program written in Assembly language. Well, to be honest, sometime working in Swift MVC feels like that you are actually doing development in Assembly, but that's another story.

Unbelievably Light

With uncompressed size of core less than 30KB and complete package less than 60KB, it's literally as light as a feather. The reduced size not only means it's ultra fast, but it's super easy to learn too.

Almost Zero Configurations

For the simple website, just plug-in the MVC files and you are good to go. For database driven website, only set the DB credentials in config.php, and you should be up and running in no time.

Clean MVC Structure

Super clean and easy to learn structure. With different folders for System, Themes, MVC, and App files, it not only helps to understand overall layout quicker, but it also makes it less error prune during development.

Scalable Architecture

This framework has been designed to be scalable from the very core. You can either add the additional libraries/modules directly in system, or in the App folder. Most of CodeIgniter libraries can be added with zero or minimal changes.

MIT Style License

Its MIT style license not only encourages you to explore and modify the code to make it work best according to your requirements. Also, the zero documentation, makes this a must to do action. Happy Code Reading!


Why another PHP MVC framework?
Well, it's true that there are dozens (if not hundreds) of existing PHP MVC frameworks available on-line. So, you may ask, why yet another one? I think the best reason for this is following quote from Joe Armstrong, creator of Erlang, on OOP (which applies as well on currently available frameworks as well):
The problem with object-oriented languages is they’ve got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.
So even though this implicit environment in framework is mostly of help, it gives you headache if you want to modify something at the very core. Answer to this problem is this Swift MVC framework, which is pure MVC framework, and nothing else.
Why and when should I use this framework?
As listed in this project tag line, this framework is not for every programmer. It's for GEEKS only. Even though you can create your next facebook application in this framework, I would not recommend it for this. There are couple of very nice and corporate style MVC frameworks available, and I would recommend you to try these first.

For the non-geeks, the only logical reason for using this framework would be some simple php applications. For example, if you are working on some few pages product idea, or on your personal website, this may be good choice than many of the beefier frameworks currently available on web.

Okay, I would would like to give this a try, but where is the documentation?
Well, there is no documentation for this. Whooa! what, no documentation? Yes, and when I said it's for Geeks only, you thought I was just kidding :-)

Even though there is no documentation, the framework has one sample page working, and also utilizing most of the current framework features. If you need more samples, you can look at my Web Statistics widget (simply copy the mvc folder in your framework root) which is also written in this framework. I will try to post more tips and details in my blog in near future. In the mean time, if you have any questions or need clarification, you can post comments here on this page.

Can I help you in this project?
Sure, if you are a programmer, it's open source, and placed on GitHub. So explore, learn and modify as suits you best and let me know if you want to merge your changes back in master repository. If you are a technical writer, some help on the documentation would be great!

Download Statistics


Feedback & Comments