DASPRiD / Dash

Flexible PSR-7 compliant HTTP router
BSD 2-Clause "Simplified" License
29 stars 9 forks source link

Initial refactoring, tests still need to be updated #54

Closed DASPRiD closed 9 years ago

harikt commented 9 years ago

Looks nice :+1: .

harikt commented 9 years ago

@DASPRiD isn't the only use of 5.5 is with ::class . If it is the only reason, it will be nice not to use it :) .

bakura10 commented 9 years ago

This is a prototype for zf3 and zf3 will be PHP 5.5. There are use cases for generators in router too

DASPRiD commented 9 years ago

It's also required for yield. Also, ZF3 will require PHP 5.5 anyway.

On 13.02.2015 18:34, Hari K T wrote:

@DASPRiD https://github.com/DASPRiD isn't the only use of 5.5 is with ::class . If it is the only reason, it will be nice not to use it :) .

bakura10 commented 9 years ago

By the way @DASPRiD , as Router uses quite extensively the Service Manager, especially with options, could you please try to read my refactor (https://github.com/zendframework/zf2/pull/7133). It includes a new mechanism to allow passing options for invokables AND factories, and I've love you to try it to tell me if it would fit the router needs.

DASPRiD commented 9 years ago

I've read t through it, looks good to me.

On 14.02.2015 11:42, Michaël Gallego wrote:

By the way @DASPRiD https://github.com/DASPRiD , as Router uses quite extensively the Service Manager, especially with options, could you please try to read my refactor (zendframework/zf2#7133 https://github.com/zendframework/zf2/pull/7133). It includes a new mechanism to allow passing options for invokables AND factories, and I've love you to try it to tell me if it would fit the router needs.

— Reply to this email directly or view it on GitHub https://github.com/DASPRiD/Dash/pull/54#issuecomment-74370267.

Ben Scholzen http://www.dasprids.de

harikt commented 9 years ago

may be merge ? Why the wait ?

harikt commented 9 years ago

@DASPRiD what makes you wait not to update unit tests ?

If you like I can look into it. Will introduce phly/http may be that is implementation for zf3 http ?

Thanks

DASPRiD commented 9 years ago

I've got must unit tests in place already.

harikt commented 9 years ago

ok. Then I will leave it.