上善若水
          In general the OO style is to use a lot of little objects with a lot of little methods that give us a lot of plug points for overriding and variation. To do is to be -Nietzsche, To bei is to do -Kant, Do be do be do -Sinatra
          posts - 146,comments - 147,trackbacks - 0
          URI貌似屬于比較基本的一種協議,雖然我經常記不住它的具體格式。今天在WIKI上看到一個比較詳細的格式描述,所以copy下來保留,僅此而已。
          出自:http://en.wikipedia.org/wiki/URI_scheme

          <scheme name> : <hierarchical part> [ ? <query> ] [ # <fragment> ]

          The following figure displays two example URIs (foo://username:password@example.com:8042/over/there/index.dtb?type=animal&name=narwhal#nose and urn:example:animal:ferret:nose) and their component parts. (The examples are derived from RFC 3986 — STD 66, chapter 3).
            foo://username:password@example.com:8042/over/there/index.dtb?type=animal&name=narwhal#nose
            \_/   \_______________/ \_________/ \__/            \___/ \_/ \______________________/ \__/
             |           |               |       |                |    |            |                |
             |       userinfo           host    port              |    |          query          fragment
             |    \________________________________/\_____________|____|/ \__/        \__/
           scheme                 |                          |    |    |    |          |
            name              authority                      |    |    |    |          |
             |                                             path   |    |    interpretable as keys
             |                                                    |    |
             |    \_______________________________________________|____|/       \____/     \_____/
             |                         |                          |    |          |           |
           scheme              hierarchical part                  |    |    interpretable as values
            name                                                  |    |
             |            path               interpretable as filename |
             |   ___________|____________                              |
            / \ /                        \                             |
            urn:example:animal:ferret:nose               interpretable as extension
                          path
                   _________|________
           scheme /                  \
            name  userinfo  hostname       query
            _|__   ___|__   ____|____   _____|_____
           /    \ /      \ /         \ /           \
           mailto:username@example.com?subject=Topic
          
          posted on 2015-02-07 22:21 DLevin 閱讀(2139) 評論(0)  編輯  收藏 所屬分類: 經驗積累
          主站蜘蛛池模板: 万山特区| 芜湖县| 应用必备| 信阳市| 巴中市| 黄浦区| 布尔津县| 璧山县| 瑞安市| 昆明市| 新闻| 鄂伦春自治旗| 哈密市| 新晃| 定南县| 云梦县| 衡阳县| 全南县| 大安市| 兴化市| 酉阳| 呼图壁县| 高台县| 东乌| 东乡族自治县| 榆林市| 桂平市| 泉州市| 玉屏| 武平县| 东乡| 宿迁市| 龙里县| 彩票| 乐昌市| 那曲县| 同江市| 淳安县| 泰安市| 贵港市| 青川县|