"right. i was talking specifically about this http://nginx.org/en... - you cant do the same thing in apache. its also better than just straight up exposing your app on port 80, 8080 or whatever."
- Paul Thrasher
"I've written and re-written a few PHP socket and WebSocket servers myself. It's a fun, new way of thinking about architecting web apps and it's a nice way to learn more about streaming and protocols. I hadn't published any of my stuff since Rachet came along and sort of solved that problem in a nice way. Thanks for the work."
- Paul Thrasher
"I've spent a bunch of time on this problem. I haven't tried integrating it into Silex, just sorta made up my own app framework around Rachet. I looked into ZeroMQ and Mongrel2 as well and found this http://www.photon-project.com/. I agree that PubSub is the way to go but there aren't many great solutions on the client side yet besides SocketIO (I tried http://autobahn.ws/js too, which was a little better), which there is no PHP backend for. So I switched to Python, which has a SocketIO server. Even then, it's really tough to get the code organized beyond a few events or wrapped around a few DB/ORM models. Every attempt so far has gotten really messy really quickly. I'm thinking that I need some CRUD ORM on both ends (client/server) with WebSockets just shuffling the data back and forth. I tried using Backbone models for that but WebSockets are different enough from REST that it just needs rethought. Same for the backend ORM. I think that the application has to be thought of..."
- Paul Thrasher
thrashr888 on Ian Hickson (author of HTML5 spec.) on the real purpose of DRM. - http://www.reddit.com/r...