Small size

I am working on a small project where I use the codeigniter php framework, but I think that it bloats too much for my purpose.

Essentially, I would like something to simplify database interactions, sessions, and validations. MVC will also like it.

What I'm looking for is that it has 10 php files. When I add some php functions to a site with mostly html, something like CodeIgniter just doesn't match the bill.

Any suggestions?


change

I'm not looking for a template engine. And Kohon is a little more than necessary (for me - for my purposes).

I ran into elf-php , did anyone work with this? IT looks like it has what it needs and I'm looking for decent documentation. But this is just an impression.

It's hard for me to say what Fari-MVC does without playing with it. I could go through the code and see the annotation, but I did not find anything else for the documents.

+7
php frameworks
source share
8 answers

Fat-Free Framework is standalone in a single file of 55 KB. If you want more features, there are extensions for extensions.

+2
source share

You can always try MicroMVC . Looks like a small project created by user SO Xeoncross . I don’t know how good / complete it is ... but it can be interesting.

+4
source share

For this kind of dimensional site (and for a few larger ones), I would just use a template system and not worry about the structure of MVC - even the easiest costs for several pages. I would highly recommend TinyButStrong . It’s just perfect - the perfect separation of code and design, powerful but not too complicated, and integrates perfectly with Dreamweaver, so you or your designer can create wysiwyg templates.

I had good success combining this with XAJAX , which is not your more popular AJAX map but has some nice features. The beauty is simply to use a template system such as TBS, although you can use anything you want, and anything else, the libraries you need. Personally, I don't like abstracting from SQL, but there are enough offline libraries to choose from if you want to.

+3
source share

By the way, as a general answer, you can find a large number of small frame frames on Ohloh :

http://www.ohloh.net/tags/framework/php

Then you can choose the one you like based on the preview of the source, the quality of the documentation, the number of users who use it, etc.

+2
source share

It was 2009/2010, there are probably better things there.

Fari MVC Framework

Source: https://github.com/radekstepan/Fari-Framework

For example, I wrote a chat application in it: https://github.com/radekstepan/Clubhouse

Soprano

Source: https://github.com/radekstepan/soprano

A good minimal example if you want to write your own.

+1
source share

Now there are a few new suggestions:

TinyMVC: http://www.tinymvc.com/

TinyPHP: http://tinyphp.us/

KissMVC: http://kissmvc.com/

I am going to try a small project with TinyMVC.

+1
source share

Does not answer the question ... but if CI has too much bloating for you, maybe you can try Kohana , which is a little smothered than CI (running like a fork).

0
source share

Have you watched CakePHP?

http://cakephp.org/

-2
source share

All Articles