Welcome Guest, Not a member yet? Register   Sign In
Lightweight framework
#1

[eluser]richthegeek[/eluser]
Hi everyone,

I love CI (as my post count should testify!) and use it for just about every project.

But sometimes, I want something that's a bit less... large. For small projects I don't want to have so many files to upload or so much memory use, but still want the MVC(LH) pattern and routing.

Is there a framework out there that gives me only the basic functions of CI without all the libraries, cacheing, helpers and so on?

If not, does anyone else feel the need for something like this?
#2

[eluser]Craig A Rodway[/eluser]
Sure. Phil Sturgeon's Twiny-Framework. Small enough to tweet.
#3

[eluser]richthegeek[/eluser]
Worked up something quick and dirty (code is solid but deliberately compact).

Has a config folder and controllers folder, but the config folder could well be condensed into one file, or even included in the head of the index.php file itself.

It only provides two pieces of functionality - clean URL redirecting like CI, and routing. The routing is different to CI in that it will test all routes to the end so multiple redirects is entirely possible (in the zip hello/there/13 will redirect to go/number/13 to double).

Hope this helps people!




Theme © iAndrew 2016 - Forum software by © MyBB