Am 02.07.2014 um 20:18 schrieb Sam Roberts <[email protected]>:

> On Fri, Jun 27, 2014 at 8:16 AM, Ingwie Phoenix
> <[email protected]> wrote:
>> Hey hey! ^^
>> 
>> I am currently making concepts for a new module, that will embed PHP into 
>> nodejs so you can use it from a HTTP server, for instance. Thing is, I want 
>> to make it a non-blocking API. So I was thinking about returning an Event 
>> emitter with events for start, data, end and such. But is this even possible 
>> from another thread?
> 
> Not sure why you are contemplating this, but if you want a hybrid
> language app, check out mongrel2:
> 
> http://mongrel2.org/features/languages.html
> 
> It supports php and node.
> 
> Sam

The reason is simply to reduce the worktime in one language. My plan is to just 
send a message thru REDIS to nodejs and let it do stuff. But since technically 
no webservers support WebSockets, I need to also make my webserver in nodejs.

That is, if Mongrel2 wont do it either. It looks extremely interesting and I 
will see what I can make out of it! Thanks for sharing that.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/92B8BAE6-CD83-4BC7-985E-31AB76FDBF0E%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to