Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
puritys committed May 19, 2015
1 parent 85df3b2 commit 03817a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Node.js - phplike
Chinese Readme: https://github.com/puritys/nodejs-phplike/wiki/%E4%B8%AD%E6%96%87%E7%89%88-Readme


This project's purpose is to implement some useful php function to node.js.
This project's purpose is to implement some useful php function for node.js or io.js.

The second point is that Node.js is a event-driven language and it's method usually have asynchronous IO. phplike make Node.js to execute with synchronous IO.
Second, Node.js is a event-driven language and it's method usually use asynchronous IO. Asynchronous IO is not a bad way for any web system. But somethings, we want to make code be readable and easier. phplike support many synchroous functions for Node.js.

phplike support synchronous exec function to run system code without callback. It can reduce number of callback functions, also will make the code easier to maintain, and phplike provide cUrl which just like php curl function. You can make a request synchronously.
phplike support synchronous function "exec", "curl", "fsockopen" executing without callback function. It can reduce the umber of callback functions, also will make the code easier to maintain, and phplike provide cUrl which is just like php curl function. Let you can make a request synchronously.

* npm: https://npmjs.org/package/phplike
* All version: https://registry.npmjs.org/phplike
Expand Down

0 comments on commit 03817a1

Please sign in to comment.