Live data from Hacker News

Show HN: Rails-Inspired PHP Framework

github.com

11–20 of 46 posts

Re: Show HN: Rails-Inspired PHP Framework

#11

ONE YEAR since the last commit, seriously? Where are the tests? Composer? Next.

Your point is accurate but your tone is deplorable. To you this is just another post about just another Github report, but to the author this is something they spent several months on.[0]

[0] https://github.com/mgauthier/php_diamond/contributors

Re: Show HN: Rails-Inspired PHP Framework

#13
post #4

Also, FuelPHP is a Rails inspired PHP Framework.

Judging by the commit history[1] it seems FuelPHP isn't being actively developed anymore.

https://github.com/fuel/fuel/commits/1.5/master

Although this is the 1.5 branch, the other branches are also similarly inactive (it appears to have ended about a month ago).

Re: Show HN: Rails-Inspired PHP Framework

#14
Thanks for all the comments so far. It's true, this project is not currently under active development. I would love to put more work into this project to make it into something that serves an unmet need out there. What's missing from the frameworks that currently exist?

Re: Show HN: Rails-Inspired PHP Framework

#15

This is a work in progress that I think could turn into a better CakePHP, but also has the potential to become something more similar to Sinatra and have the relationship to CakePHP that Sinatra has to Rails. Would love to get feedback on these two routes of development.

I am from time to time involved in the development of the CakePHP framework, at least often enough to have strong opinions on specific weak parts of the framework. I think your project might have potential, but the lack of tests and composer support is a serious flaw.

Your priorities should be tests, and documentation, before anything else.

I think that your efforts might be better spent on improving CakePHP; the developers have no particular concern for backwards compatibility in the upcoming major version (3.0). I would be interested to discuss all of your ideas related to this, please contact me at tenebrousedge @ gmail

Re: Show HN: Rails-Inspired PHP Framework

#16
post #13
post #4

Also, FuelPHP is a Rails inspired PHP Framework.

Judging by the commit history[1] it seems FuelPHP isn't being actively developed anymore. https://github.com/fuel/fuel/commits/1.5/master Although this is the 1.5 branch, the other branches are also similarly inactive (it appears to have ended about a month ago).

https://github.com/fuel/core

Re: Show HN: Rails-Inspired PHP Framework

#17
Out of curiosity, but is there a design-reason why the controller names are tied (by naming convention) to HTTP convention?

i.e.

    public static function show_GET($params=null) {	
	self::render('show',array("layout" => "default"));
    }

    public static function index_POST($params=null) {
	self::redirect('/auction/show');
    }
As opposed to how Rails does it (controllers are defined in their own file and associated with a HTTP protocol in a routing file): http://guides.rubyonrails.org/routing.html

in routes file:

     get 'photos/show'
in controller: photos_controller.rb

    class PhotosController 
Seems like it's an unnecessary coupling (also, I think in Rails, you don't have to define protocol unless you feel it's explicitly needed), but my main nitpick was seeing a naming convention that featured the kind of letter-case-changing that has made PHP a difficult language to enjoy

Re: Show HN: Rails-Inspired PHP Framework

#18
post #17

Out of curiosity, but is there a design-reason why the controller names are tied (by naming convention) to HTTP convention? i.e. public static function show_GET($params=null) { self::render('show',array("layout" => "default")); } public static function index_POST($params=null) { self::redirect('/auction/show'); } As opposed to how Rails does it (controllers are defined in their own file and associated with a HTTP pro…

This was a short term approach. The plan is to get to a routing file approach.

Re: Show HN: Rails-Inspired PHP Framework

#19
post #15

This is a work in progress that I think could turn into a better CakePHP, but also has the potential to become something more similar to Sinatra and have the relationship to CakePHP that Sinatra has to Rails. Would love to get feedback on these two routes of development.

I am from time to time involved in the development of the CakePHP framework, at least often enough to have strong opinions on specific weak parts of the framework. I think your project might have potential, but the lack of tests and composer support is a serious flaw. Your priorities should be tests, and documentation, before anything else. I think that your efforts might be better spent on improving CakePHP; the dev…

Thanks for the feedback, will contact you to discuss more.
Post reply on HN