File does not matter. Port matters.
On 08/30/2012 10:33 AM, almarjin wrote:
Hi Dan,
Thanks for the reply.
This means if I will use them both required in the same file will not
work right? only when they are in separate file and using different port.
On Monday, August 27, 2012 9:09:45 PM UTC+8, Dan Milon wrote:
You mean both on the same process? Yeah as long as its a different
port.
If you are asking which one to choose, for an (rest) API server,
its not
an easy answer.
I first tried restify, but it didnt compute etags out of the box
which i
found strange for a rest API server. Plus i did not make use of
all the
extra headers it enforces.
I did not make a performance comparison, but found express to work
better out of the box for my needs. But you will have to write
your own
error catcher middleware.
danmilon.
On 08/27/2012 03:53 PM, almarjin wrote:
> Hi,
>
> I'd like to know if Restify and Express will both work on Nodejs.
>
> Thanks,
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
>
https://github.com/joyent/node/wiki/Mailing-List-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
<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
--
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