[
https://issues.apache.org/jira/browse/THRIFT-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105747#comment-13105747
]
Roger Meier commented on THRIFT-1261:
-------------------------------------
We use QUnit and phantomjs for Thrift JavaScript unit tests.
require.js might be another candidate to help bringing the JavaScript code base
from nodejs and js togehter.
Your repo does not reflect the complete Thrift codebase, e.g. compiler is
missing. I recommend you to fork from the Apache Thrift github mirror located
at https://github.com/apache/thrift. This will simplify code sync and enable
better alignment of the two JavaScript implementations and nodejs imrovements.
Thanks Wadey and Jordan! nodejs rocks!
> STDIO support for node-thrift
> -----------------------------
>
> Key: THRIFT-1261
> URL: https://issues.apache.org/jira/browse/THRIFT-1261
> Project: Thrift
> Issue Type: New Feature
> Components: Node.js - Library
> Reporter: Jordan Shaw
> Priority: Minor
> Attachments: stdio.patch
>
>
> This bit of code adds support to send thrift messages over STDIO to and from
> a node process. This comes in handy when running a PHP server. PHP tends to
> use an exorbitant amount of resources when running as a daemon so it's a
> better solution to spawn a process, pipe the messages over STDIO, listen for
> the response on STDOUT and then close the process. This also solves the
> problem of running a server that isn't inherently multi-threaded(again php as
> an example).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira