Hi Pedro, Most PHP IO can be set as non-blocking (well, the appropriate readers, writers, polls, etc). At a point this can become extension specific, but they're all writen in C (some in C++) using mainstream counterparts, so you generaly have the same options available.
On Saturday, December 29, 2012 1:11:24 AM UTC-8, Pedro Teixeira wrote: > > PHP does I/O in a blocking way. > Using these php functions in node will block the event loop, limiting the > responsiveness and scalability of your app. > > -- > Pedro > > On Saturday, 29 de December de 2012 at 06:35, JSON wrote: > > But I also agree that creating full routines using php within javascript > would be a pointless and even wasteful to a degree. The examples where > meant to illustrate capabilities, not to suggest how it should be used. > > On Friday, December 28, 2012 10:13:01 PM UTC-8, mscdex wrote: > > Seems to me that if you're going through all of this trouble just for > "the familiarity of the PHP platform," then you should just use PHP in > the first place because doing all this synchronous stuff pretty much > makes this usage of node pointless. > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > 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 post to this group, send email to [email protected] <javascript:> > To unsubscribe from this group, send email to > [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: 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 post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
