提交 ce5c4844 编写于 作者: A astaxie

Merge pull request #491 from ddelapaz/patch-2

Update 03.2.md
......@@ -50,11 +50,11 @@ Figure 3.8 Server printed information
As you can see, we only need to call two functions in order to build a simple web server.
If you are working with PHP, you're probably asking whether or not we need something like Nginx or Apache. The answer is we no, since Go listens to the TCP port by itself, and the function `sayhelloName` is the logic function just like a controller in PHP.
If you are working with PHP, you're probably asking whether or not we need something like Nginx or Apache. The answer is we don't, since Go listens to the TCP port by itself, and the function `sayhelloName` is the logic function just like a controller in PHP.
If you are working with Python you should know tornado, and the above example is very similar to that.
If you are working with Ruby, you may notice it is like script/server in ROR.
If you are working with Ruby, you may notice it is like script/server in ROR (Ruby on Rails).
We used two simple functions to setup a simple web server in this section, and this simple server already has the capacity for high concurrency operations. We will talk about how to utilize this in the next two sections.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册