News for hackers. Stuff that matters.
Re:Fuel - A simple and flexible PHP Web Framework by soulclap on Sunday April 10, 2011 @01:40PM (#2429941)
I think it's great to have more active frameworks for PHP that keep questioning how 'stuff was done' with the previous ones.

The only thing that I keep wishing for is that the whole 'new school' PHP 5.3+ gets something similar to Ruby's gems and having more high quality code that lives outside of frameworks.

(That's no criticism towards FuelPHP at all - just seeing that you guys are writing some 'good PHP code' it might be worth considering if it wouldn't be great when some of it was available outside of FuelPHP as well.)

Re:Fuel - A simple and flexible PHP Web Framework by jschreuder on Sunday April 10, 2011 @05:25PM (#2430453)
Actually we have something along those lines: using our command line utility you can install "packages" which should be a collection of classes for added functionality. Currently we have some well known libraries already available through the CLI by using "php oil install package htmlpurifier" for example, they're taken from Github and installed in the fuel/packages/<packagename> dir. Of course if you don't want CLI you can just download them and copy them to the right directory yourself.

We intend to create a repository for packages and classes installable through Oil directly into your Fuel install. At this time we are still using a single Github profile to fork any repo into that will be available through Oil package install: https://github.com/fuel-packages (install the packages without the "fuel-" prefix as their name)

Re:Fuel - A simple and flexible PHP Web Framework by grumpycanuck on Monday April 11, 2011 @01:57PM (#2433504)
Why not do it through a PEAR channel instead of basically creating your own version of it?
Re:Fuel - A simple and flexible PHP Web Framework by philsturgeon on Tuesday April 12, 2011 @11:24AM (#2437574)
PEAR and PECL are great, but they add requirements to your application that live outside of the system.

You have to worry about your application being compatible with the version installed on the server and all sorts of other madness. Through this incredibly simple system (which will shortly become more powerful with its own interface) we can basically just install a package into your application in the same way most people would normally download, unzip, etc.

php oil install foo

Then add it to git, push and you're all good. Otherwise you have to run around installing dependencies and all sorts of other junk.

Re:Fuel - A simple and flexible PHP Web Framework by soulclap on Sunday April 10, 2011 @06:30PM (#2430606)
Definitely convenient!
Re:Fuel - A simple and flexible PHP Web Framework by stuherbert on Monday April 11, 2011 @11:55AM (#2432970)
Some of us in the PHP community definitely agree with you, and are working on trying to change the culture amongst developers. I'm currently writing a series of blog posts to try and convince developers why this is a good idea, and how to go about doing it.

http://blog.stuartherbert.com/php/beyond-frameworks/

I hope you find it useful.