News for hackers. Stuff that matters.
Re:Macaw - A Simple PHP Router by vaidik on Sunday December 29, 2013 @04:47AM (#6979035)
Great project. I personally prefer Python over PHP and use it a lot for most of the web applications. But when I must use PHP in some cases, I like frameworks like this.

For precisely this reason, I wrote a PHP router like this called Marg - http://github.com/vaidik/marg. Used it for 3 projects and I love the way I can keep things simple and sane. And that's why I appreciate this project as well.

Great to see sane projects like these in the PHP community.

Re:Macaw - A Simple PHP Router by martin_ on Sunday December 29, 2013 @05:45AM (#6979160)
Sane PHP developers typically don't use global to avoid using objects properly! I only mention it because it seems you haven't given PHP a fair chance
Re:Macaw - A Simple PHP Router by krapp on Sunday December 29, 2013 @09:35AM (#6979623)
to be fair, I've seen that idiom used quite a bit when calling database objects. It's still terrible.

Not as bad as using extract() though. Yes i'm looking at you Wordpress.