puritys / nodejs-phplike

Porting PHP to Node.js
http://www.puritys.me/docs-blog/article-201
33 stars 12 forks source link

Async methods #5

Closed simon-p-r closed 8 years ago

simon-p-r commented 8 years ago

Hi

Nice module, are you planning on adding any async methods as this is what node is best at?

Thanks Simon

puritys commented 8 years ago

This project's purpose is for implementing PHP functions to Node.js, PHP is a synchronize programming language. So I will not add any asynchronize methods in this project. The package node-cgi will help you on creating a PHP-like website within nodejs-phplike.

Sync and Async method have different pros and cons. If you really want to use async method in your whole Node.js product. There are million of Node.js packages you can use.