上善若水
          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)  編輯  收藏 所屬分類: 經驗積累
          主站蜘蛛池模板: 武冈市| 涿州市| 绥滨县| 安庆市| 兰溪市| 商洛市| 道真| 镇平县| 临沧市| 五大连池市| 从化市| 斗六市| 射阳县| 上栗县| 卢湾区| 酒泉市| 安岳县| 利川市| 泰兴市| 出国| 雅江县| 胶南市| 潞城市| 康定县| 滨海县| 白玉县| 和顺县| 新蔡县| 麻阳| 沂源县| 泸西县| 阿拉善左旗| 贵定县| 林西县| 修武县| 遂宁市| 合水县| 股票| 抚松县| 金山区| 泗阳县|