News for hackers. Stuff that matters.
Re:Pux – High Performance Router for PHP by abcd_f on Sunday January 12, 2014 @02:04PM (#7047019)
If they would only first explain what the heck is "routing in PHP"...

Coming from the network programming side of things, "High Performance PHP Router" sounds like a spectacular oxymoron at best :)

Re:Pux – High Performance Router for PHP by itafroma on Sunday January 12, 2014 @02:21PM (#7047065)
> If they would only first explain what the heck is "routing in PHP"...

"Routing" is a common and well-understood term in application development: I'm sure you can appreciate the act of writing documentation for an intended audience. In the context of an application, a router interprets a request from a client and forwards it to the appropriate resource (a controller or some other business logic) which then produces a response.

Re:Pux – High Performance Router for PHP by sixthloginorso on Sunday January 12, 2014 @02:45PM (#7047157)
Web application development. I'm sure plenty of programmers would think of the Layer-3 device that chooses paths to forward packets through nodes to a destination.
Re:Pux – High Performance Router for PHP by itafroma on Sunday January 12, 2014 @03:32PM (#7047335)
> Web application development.

I don't know if I'd make that distinction. Routing certainly gets a lot of use in web application development, but routing at the application level is not web-specific: examples of the pattern can be found in the Android SDK,[1] userland Android/iOS development,[2] and in a number of EIPs.[3]

> I'm sure plenty of programmers would think of the Layer-3 device that chooses paths to forward packets through nodes to a destination.

I don't discount this at all, but I do think it's pretty obvious from the context and the README which type of routing this library provides.

[1]: http://developer.android.com/reference/android/media/MediaRo...

[2]: https://usepropeller.com/blog/posts/routable/

[3]: http://www.eaipatterns.com/MessageRoutingIntro.html

Re:Pux – High Performance Router for PHP by jkrems on Sunday January 12, 2014 @03:19PM (#7047281)
> writing documentation for an intended audience

Yes, and web application developers are the intended audience.

Re:Pux – High Performance Router for PHP by userbinator on Monday January 13, 2014 @04:46AM (#7049672)
A news item a short while ago had the similarly phrased "router in PHP" and for a moment I thought someone had actually used PHP to write a layer-3 networking device.
Re:Pux – High Performance Router for PHP by rdlowrey on Sunday January 12, 2014 @02:17PM (#7047049)
I agree ... many PHP devs seem to think that programming only exists between when the web server gives a request to a PHP process and when that process closes it's STDOUT handle to complete the response.
Re:Pux – High Performance Router for PHP by Gigablah on Sunday January 12, 2014 @09:16PM (#7048482)
Why PHP devs? Aren't "routing" libraries also available in other popular languages with frameworks? Are those devs somehow beyond reproach?