<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # intro 在 Node.js web開發社區有一件事是確定的,有2個經常用于構建新的web應用的庫,它們分別是connect 和express。 * [Connect是底層工具](http://www.senchalabs.org/connect/)?讓你可以使用http協議或者其他網絡協議進行會話。更簡單點說,它提供的是筒子式插件機制,為http編碼提供了一定的擴展性。 * [Express讓構建好的網站更加簡單](http://expressjs.com/)?,而且它是構建于Connect庫之上的,也就是說它繼承了筒子式插件機制,并且它擴展了路由、視圖等概念,讓http編碼更加簡單。 整體來看,這2個框架都還比較簡單,甚至可以說是一個庫而已。做個簡單的服務還是夠的,如果期望它做更多,可能需要自己封裝了。 ## 為什么使用和學習Express? * 基于node的異步,性能比較好 * Express本身比較成熟,目前已經是v4了 * 有很多大規模應用實例,集群等都非常容易 以下是主要內容 * helloworld * app.js * public * routes * view * auto mount routes * reload * test ## 無狀態的http協議 ![2](https://i5ting.github.io/wechat-dev-with-nodejs/express/2.jpg)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看