News for hackers. Stuff that matters.
Re:Kapi: Silex-based PHP micro-framework by mwhite on Sunday July 07, 2013 @11:52PM (#6005087)
I used Slim when I needed to replace the GPL'd url router I was using in my app, and it seemed like one of the nicest PHP microframeworks. http://www.slimframework.com/
Re:Kapi: Silex-based PHP micro-framework by eksith on Monday July 08, 2013 @12:33AM (#6005208)
Pretty much everyone I've run into who has used Slim seems to love it. Very nice indeed.
Re:Kapi: Silex-based PHP micro-framework by samsnelling on Monday July 08, 2013 @01:51AM (#6005351)
I will admit that I use Slim for just about all of my PHP needs. Absolutely love it. Simple enough that I don't feel bad for just using it as a router when needed.
Re:Kapi: Silex-based PHP micro-framework by stevenspasbo on Tuesday July 09, 2013 @02:02PM (#6014105)
This is what I used to create a basic API for an android app I was developing.
Re:Kapi: Silex-based PHP micro-framework by yareally on Sunday July 07, 2013 @11:32PM (#6005018)
Wish there was a license attached to it. I didn't see one in a file or attached as a header to any of the code. Without knowing what the license is, this project is not overly useful to anyone but the creator.
Re:Kapi: Silex-based PHP micro-framework by fka on Monday July 08, 2013 @05:12AM (#6005866)
Attached a license. :)
Re:Kapi: Silex-based PHP micro-framework by programminggeek on Sunday July 07, 2013 @10:22PM (#6004751)
Well it's small framework, but a micro-framework based based on a micro-framework. Is this like another russian doll between Silex and Symfony2(in terms of layers of complexity or size)?
Re:Kapi: Silex-based PHP micro-framework by taproot on Sunday July 07, 2013 @11:47PM (#6005073)
Re:Kapi: Silex-based PHP micro-framework by shousper on Sunday July 07, 2013 @11:21PM (#6004974)
Not bad, I would of followed php-fig standards for the file layout though. This would also help with camus's point about making it easily pluggable.
Re:Kapi: Silex-based PHP micro-framework by kpatel on Monday July 08, 2013 @09:11AM (#6006552)
I would agree with many of you. Slim is way to go. I used it for many of our mid-to-large applications and it seems to be working very well.
Re:Kapi: Silex-based PHP micro-framework by fka on Monday July 08, 2013 @11:21AM (#6007200)
We can port Silex to Slim very easily.
Re:Kapi: Silex-based PHP micro-framework by brass9 on Monday July 08, 2013 @06:44AM (#6006095)
What is the world coming to?

Kapi... based on Silex... based on Symfony...

It's like infinitely nesting matryoshka dolls... sigh!

Re:Kapi: Silex-based PHP micro-framework by pan69 on Monday July 08, 2013 @08:05AM (#6006314)
Why the sigh? It's a sign that PHP is maturing and that PHP is becoming much more component based, which is good. Composer is at the core of all this and it's a big win for the PHP landscape, no doubt.
Re:Kapi: Silex-based PHP micro-framework by camus on Sunday July 07, 2013 @10:50PM (#6004858)
Instead of creating another framework , make a service provider/controller and make your library pluggable with any Silex application. Sorry but silex is ultra pluggable , so dont force people into something. Silex Di is here to help and you should provide hooks instead of making decisions on everything.

There should not be any app.php file in your project. Unless you need to extend the silex Application class (you shouldn' need to), write a service provider or a generic controler.

It should be a library usable with any silex app , just like Symfony and its bundles.

Re:Kapi: Silex-based PHP micro-framework by fka on Monday July 08, 2013 @05:10AM (#6005861)
Yes. It is really good idea. I am going to do it something like that. :)