前言:建立一个网站系统,往往包含多个子网站,例如PC官网,移动端官网,后台管理,数据源自一个相同的数据库,整个架构上,从ThinkPHP来看,可以大体理解为Model(M)是一样的,Controller(C)包含共用API部分和不共用部分,View则是完全不共用的,这里在整个初始架构的时候,我们可以主要从以下几个方面去考虑:

配置共用的数据库、扩展Application里面的模块、自定义视图文件夹、子域名部署、路由简化....

具体操作如下:

1、准备ThinkPHP环境、数据库

a、下载官网ThinkPHP3.2完整版源码,解压命名为testWeb放置到www目录下,访问http://192.168.1.122/testWeb/,可以看到:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbgAAAC9CAIAAABOEv/jAAATt0lEQVR4nO3dz2sTaQPA8fd/mkPJobSHEg8VlqaIZBFT3G299BQ9bBEsi+TSDQpZUBCX4KEVJLg2uyyBHjxIkMLASjw0qJiFNiwaVkv80Wgg8x7STGYyz8wzk8x0Mun3cxJMZibN5Jv58czkfxoAwNH/wl4AABh3hBIAJAglAEgQSgCQIJQAIEEoAUCCUAKABKEEAAlCCQAShBIAJAglAEgQSgCQIJQAIEEoAUBivELZ6XS2t7enpqYUi+Xl5UajEfYCAjiNxiuUmqa12+07d+5YQ6koyvXr1z9//hz2AgI4dcYulJqmffz48cqVK8JW3rlzp91uh72AAE6XcQylpmmvX79eWFiwhnJqampnZyfspQNwuoxpKDVN++OPP4QHKxcWFl6/fh320gE4RcY3lF+/fs1kMhysBBC68Q2lpmn7+/vnzp0TtvL333/vdDphLyCAU2GsQ6lp2s7OjnAHfH5+/tWrV2EvHYBTYdxDeXR0tL6+LtyoXF9fPzo6CnsBAUy+cQ+lpml7e3tnzpzhDDiAsEQglO12++7du8KNyh9//JHLdQAELQKh1DTt33///f7774WtfPDgAWd1AAQqGqHsdDoPHjwQhvLcuXP7+/thLyCASRaNUGqa9u7duwsXLghbee/ePTYqAQQnMqHUNO3hw4fCUC4sLLBRCSA4UQqlw0ZlPp9noxJAQKIUyk6nk8/nhaG8cOHCu3fvwl5AAJMpSqHUNG1/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1tprLmS7InUmt5YrlSq3R7JO8Ta2myOCTZKFsCG9S1VuqRDpbLMsuDTMcc3BzbNNNKFt1Pd3R/1oHQuLXFmX3EKT9xmRDNd2JT3LoUVd/YrrhaiJfaZkrWaxrg5upPrHc8Mg2lK16pZBJ9RdgZiWvNlrNaikruPng8fW0uUJJVY9r3vtDGA6CuTu2aQ2l5b4PRkPfVxA47fw7Rtko2Z5pNg1tVJRE91ClS001191OS2TVpmb8ZUbTJmmzWjTGamTWG8NZQtmqV0uba8aZxpJrm+Zxm626urmWitttaB5LFWqmv5LLPTbBFqU6uAemczPYCoBQgDfFMOkde5tJF2wHKtqrl9YNP7NTL6TsNl5b9Wq5uJnLpJO6xFD1FFxubgplQ80Y7zU7k1rbLDvdEqZVr5YKmbRwYfqn/btHet0NtdeEoRRdvRmLpwb7DcCLkwqlptUKa+IR4N611HwIm0eWexKVM8n4asbrTalazUatotc8HjNnsV5c936mHECwTi6UABBRhBIAJAglAEgQSgCQIJQAIEEoAUCCUAKABKEEAAlCCQAS/wfzTo2zDy6J5wAAAABJRU5ErkJggg==" alt="" />说明部署没问题的。

b、准备一个测试的数据库books,新建book表(id,title,price),准备好测试数据;

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAABYCAIAAABXivqbAAAgAElEQVR4nO2d61cT2d7nnz9iXs2ateaFefOsNWv6WdNnnpkzl6dbh9NtKyLqaU+feEUFxAvaqICKtmm6EbpbMSoQRKFFwSAHaFQOjVyUm0QCck0CJFVF7iEhqQAVAkWSmheVS92SVCASHk59VpaL7Evti/v3rd/eu1L7n577wDg4ODjY8U+ccHBwcEQKJxwcHBwRwyAcHg4Oj2ctI2EzjaKYtCVWcsAeBuFwcXC4XGsZCZtpFMWkLbGSA/YwCAfKwYGiaxkJm2kUxaQtsZID9jAIxxIHx9LSWkbCZhpFMWlLrOSAPQzC4eDgcDjWMhI20yiKSVtiJQfsYRCOhVWBIPMOZA5B7MhC8A9idyBzCDK/uiI41pNVj4Q15t1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+L6xtmXi1nS/gZRfHZ75trBTi87juCuEWvoDHF90f909VfN3aVLmFL+DxS+6PE7qaDWbKedcknyKIsQVWIlOrZDp63I2OQPEBsyIsvNLWOEirm/kdZkgHo1hALuLi8rzHrFWdoBjounochJVyDMO8jWQMDBS6Nrv+6Kzrk6NSSd/N1E/m2m8u9ovGyw51Zf3zQHM5BIVSjQBef5e4s+8dvP7vuE9OHNKIGYJw1z3IVVUq1fDwsEQi6et7PzTUV1oKDg/THhKlQ/xPJ/yHB4omjgKSp+7LSVlOpACC49W/Dh+IN1/JWCi7b72cMXP86OzF8/Mld7UXTnXs+rS/ohAC6ZvEiBm/PIqiKGyGvWJFKtKMUOrGojYRE8TYAt1DL4+qWYEeJqQN9CT+X026pj87w38OPYggHF6d8EtQfkfoHaJ1YFMJx9p/q/JhoC9553++dfLT3nv7O0sPTgy8giAoyEOQUYRiKyTwB8CUSqVSpdRotL+3NMsVCpCFdHxsQECl+Fu15MTescPx1u+vwLdyLd9l9vP/1Hpw65C47ON32pr4d/AjN9+gCAwOvwSRBwsnHIys669jAUA1Ojz4YaB/VCpRjA5CEKQiAwAAiO+9rBcymUwkEgmFwjtC4cOy0u1fxEn7+0EAWM86BAUAVEODw4+L390403s5uedq6kDFnalBCQCoQJUSCraQvAH4dyAcrOGEgxHuZ/Uc0YcTjrUXGkNRYAMnHBzRhxOOtRcaQ1FgAyccHNGHE461FxpDUWADJxwc0YcTjrUXGkNRYAMnHBzRhxOOtRcaQ1FgA3eSGwcHR8RwwsHBwRExnHBwcHBEDCccHBwcEcMJBwcHR8RwwsHBwRExnHBwcHBEDCccHBwcEcMJBwcHR8T8fy1oStr/EDi9AAAAAElFTkSuQmCC" alt="" />

c、配置数据库,参考ThinkPHP配置加载规则,可以采用惯例配置(ThinkPHP/Conf/convention.php),结合应用配置(Application/Common/Conf/config.php)、模块配置(Application/当前模块名/Conf/config.php),

这里我采用的是数据库配置在应用配置上:

     //数据库配置信息
'DB_TYPE' => 'mysql', // 数据库类型
'DB_HOST' => 'localhost', // 服务器地址localhost
'DB_NAME' => 'books', // 数据库名
'DB_USER' => 'root', // 用户名
'DB_PWD' => '', // 密码
'DB_PORT' => 3306, // 端口
'DB_PREFIX' => '', // 数据库表前缀
'DB_CHARSET'=> 'utf8', // 字符集
'DB_DEBUG' => TRUE, // 数据库调试模式 开启后可以记录SQL日志 3.2.3新增

接着,在默认Index控制器里面,添加一个操作(action):

     public function get_book($id){
$param['id'] = I('get.id');
$model = M('book')->where($param)->find();
$this->ajaxReturn($model);
}

    访问:http://192.168.1.122/testWeb/index.php/Home/Index/get_book?id=1,就可以去到json数据,说明到此为止数据库连接和访问时正常的:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAh8AAABFCAIAAABltRM+AAARY0lEQVR4nO2cv2vjStfH9V+4TLllypQpU6Y0uEnhQEp3sVNN4UJcjBFEhQpfcGGIWOJERV4eEQIbcl2Y4EKFWUwwXBUuBDEXL6uAWVzMW4wtj6TRaGSNnc3mfAjLWhqdOXM0Ol/ND1v5CQAAAACyUd7bAQAAAOAP5LOry3///ff8/Hx7e/sVAAAAkMdnV5fn5+dv3779+vULAwAAAPL47Opye3sL0gIAACCdz64uX79+fe9bAAAA8AcC6gLqAgAAIB9QF1AXAAAA+YC6gLoAAADIh6cunudVq9VqtSo3ob+8vLy8vPz48SO/Kc/zrq6uqtVqqVQqlUrVavXvv//2PI+cvby8TLWQqi5vb283NzcXFxekiouLi5ubm7e3t93cHgAAgA9KoroQaSmVSufn5/llgObl5WU4HOYXmPv7+9PT01KM09PT+/v7y8vLUqmUaoSvLk9PT6SKZrPZ7Xa73W6z2SRVPD09pcV27jq2qZ0dH2j98IlZXyt+KShK4ctRxXap4yOzcvSloCjK3lHFHM2z2MQYu7Za/FJQFEXZO7G91QVrmwcnhjPLaHNZYjbqW+3KyeGJ5YVOJHrsPWonB3uKohS+FLV+vNbFsINUa5xQX3ZGJkJ6b0odmdgNhDrOInxEtdxkI9OeHjHCYOW5P2gh9W6S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Nd4qkkpzVxz7Nem8e3PI7xi8WT3QbpT8SIYDbP2gTBtsT/L+gPv15+Q/iRzPqw8MsLPgW7UZfNyPmAcB4Zwf6WNW6gLhLZMBcnmpN0byTe462qS05E7EtRl/yVppoST5TitYtXunGmEH8diVTBLyZYrxR1+YPZqrqI1AjkIZu6KCuSjotcLuSWjHushIkc5BdLckOkmVi4pXE3kv7P8TnJlEijOJWmHombitSetVKmKWaZ4DizfP6WMgOe1MyNK2UWTm0ps9gGJPWQ4GPkP8zbFDkl6Ju4//zYilwVaYKIbyKOASJsMirc7JbjnasLxxTzUUkttu2W8tMZph4VkWIcJ0UqjRgRSY4cyyKVMk8l1ZXqT56WMotx6sraUnFrSS1lNjYr/Eo5hZnX7iAP5FEXQd9ECgCCCCVZfhm5PV6unSRTG6sLjXT3UiMZf1T41+ZRF06l/GJJIdpMXVIr5Qdtg5bGLxe8L4KVckQuVUt2pi78wswy2346RJwUKcb3DaRFIqAuGYpto+flTPTi10qsNKtvgpXm8S0pqUlsaWrqz1Qpxxrn2t9cXXL6k6nSTD1NPG6gLhLZqbqIv9SkFstpKr+6yGopbUpuouc7uaVK+SGSlZpFrhW8cBtNkFVs4ywp2P1kqcsGGXyzh5dZKf9ZBnV5R7KpixIm9Tjz8nSf0uyIm4oX5rgqUkzEtw3ci9tnOsN3I+kqpidbqjSpmGClONYDBSvl1CurpfHj+Vuaai2pDLPSyFWcAhxrnPikRknEtw3c4xzkxH9j31IdAwRhPz/v4kpWPoqfIrxLW6DSP6/STLX/SU+QFD5Q9vsQfMhQQicAgCTyjAwAQCLQtwAAAAD5gLoAAAAA8gF1AQAAAOQD6gIAAADIB9QFAAAAkA+oCwAAACAfUBcAAABAPqAuAAAAgHxAXQAAAAD5gLoAAAAA8gF1AQAAAOQD6gIAAADI5/8BkjWmEmNCXTwAAAAASUVORK5CYII=" alt="" />

2、扩展Application应用目录里面的模块

a、快速拷贝当前的Home模块,重命名为H5模块并修改相应控制器里面的名空间为:namespace H5\Controller,

访问:http://192.168.1.122/testWeb/index.php/H5/Index/get_book?id=1,这时成功返回数据,说明当前H5模块是可以的;同理我们可以复

制一个Admin模块。

3、自定义视图文件夹

     a、视图概念:ThinkPHP是基于MVC结构设计的一种PHP框架,如果是简单的数据库操作,往往可以省略模块里面的Model,仅仅使用Controller就可以完成CURD操作,而视图也是其中一个很重要的功能。ThinkPHP中的视图主要指模板文件和模板引擎:模板文件可以简单理解为搭建积木玩具中的基本“小原件”,这“小原件”可能是不同形状,每种形状的“小原件”可能在搭建的过程中使用了一个或者多个;模板引擎,则是搭建积木玩具中的“凹凸”卡扣,形成一种规则将“小原件”组合起来。

b、视图使用:新增Home模块-Index控制器-book操作来获取所有书籍,并在Home模块的View文件夹下,新建Index文件夹-新建book.html

 public function book(){
$models = M('book')->select();
$this->assign('books',$models);
$this->display();
}

模板文件:

 <body>
<volist name="books" id="vo">
<p>序号:{$vo.id}</p>
<p>书名:{$vo.title}</p>
<p style="color: #FF0000">价格:{$vo.price}</p>
</volist>
</body>

c、 访问:http://192.168.1.122/testWeb/index.php/Home/Index/book,此时可以看到页面:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfgAAAD4CAIAAACPPWOcAAAdpUlEQVR4nO3d/3Mb9Z3H8c//pJ9ays31rtfegYGUowUrJIXYcUhCKeSbLUgwJZjgxIbETggG2hxclSutYhInoXawo9ggmjSmnjP46kxmqpnMaJyJpmNGE8+I8Q/v+2H1Zb/vZ/XFjpbnY3Yy8Wr3s59dSa/96LMfrVTve59v6TlZAABElHrl/cyWnnfWuxoAgGZRr7z/RUdiZL2rAQBoFoLezz/+8Y9r166Njo5+BAAtS73yHl03nq5du3b58uVvv/1WAKBlqd53P9/SzcVYd6Ojo6Q8gFanDox89jRB7+Gjjz5a7ycIAOqlXjo584u9b693ot6jmhT0sREmJiam4KlRVOLElc27T6x3ot6jCHomJqZ1nBpF7RtOb3zh+Hon6j2KoGdiYlrHqVHU7mNT7c8P1xCCS0tL3d3d3d3djc3WGz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zmyoma7z62zGaq7b1KAP1cNjW4YWPYDmUR+Mfbn/cL03NQvbcl+XoA9bGf/YDTwZBO4RLXoAa0OdOjf7Un/tQe/80/aQl9qr7FaZwAK9wjRsiOt0zph30GdnXYNec3cAQJ/67dnrL77xm/q7bkIt2dggqyHl66mGT2k+zX/nQ14telIeQGOp3358/cVD4YIeANBC1KmPr78UskUPAGgh6r/OXt/fT9ADQGSpD8ZmD4QcdQMAaCHqw/NfvkzQA0B0qd9d+GvvQLgvTAEAWog6fXHulcFwt0AAALQQ9dH43ME3w929EgDQQtQfP/3fvqMfEvQAEFVqdOqrQ0P/TdADQFSpc5e/7h/+HUEPAFGlxq58ffgEQQ8AkaXOX1k4fCJJ0ANAVKnz0wtHCHoAiC51YWZh4G2CHgAiS10k6AEg0tSFaYIeAKJMnZ/++gijbgAgutT5K18P6Ae97Vfu/H/0LtTCAIDmUBcIegCItDqC3vi/T3w7g948AQDWhDp/5SvdPnrXFrpm0Dejde9VCGcRADAJ06L3Cu7AlrutCV9/EHt9LODjAgA4qIvTekFvDlDXhHVdxfxQ4CeAsGjRA4AG9cnM14M64+jNzXP/BVz/rMxsIIIeADSoP3228ObJoKB3RnxgV4yzF4UWPQCsBzXx+f+95R/0rj02/kFvznTXkwQXYwFgraiJzP8dfed0Iy/GiiPcfZr8Xn/qIOgBQIO69MXfjo40NOhdr77ahuJ4DZgJV3eCHgCCqckv/nbs3f9pcIs+cBm6bgBgraipPy8O3QtBT4seAJpDTV1dHH7v9+GCXrN53ryg9+oF8u8dAoDvJJX+y43j769J0JPCALAe1OVri8Ohgl7/a1DN7qMHAGhQk39e1L0YCwBoQepPn//tzZN6wysBAC1Inb389RvD/JQgAESWSpz8bPPekwQ9AESVeiRx8f7NAwQ9AESVatt34b6NBD0ARBZBDwARR9ADQMQR9AAQcf8PdlaVbjSwkEEAAAAASUVORK5CYII=" alt="" />

此时,说明这个视图使用是正确的,但是同时也有一些不好的地方,如果模板文件多起来的时候,就不利于模板修改编辑(目录层次太深了),可以在模块配置中,定义当前模块默认的视图目录(Application/Home/Conf/config.php):

 define('TMPL_PATH','./Public/PC/'); 

类似定义H5、admin模块的视图目录,最终得到的目录组织,到此,就可以大概有几个不同的子网站的初步架构了。而对于网站的分类:二级菜单、三级菜单就可以分别对应控制器(Controller)和操作(action),根据视图模板构造动态的页面:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAASQAAAIxCAIAAABraFIOAAAgAElEQVR4nO2df2wc14Hfif7V++faAnco+scBbQNcgaJ/HHp/2FtcFYJ2LKeJBQu+wDIMGBdHWCNO4TiJbcB2fTyngW1dT4vWBzA506nt1Jc61pKUj7pVxJOVkFJzvmNFWVYk2ivGTM9iGLM+m6K1PtNHdvrHzM6+9+bNj52Zffv27eeDgbD7Zt7boTgfvjez874zcuLEicnJSQ8Aeoav2AiyAfSaycnJp59+ukzZXp24W1neXnyllJYBBprJycnNzc3eyjYYvjVrlZGRkUqt2e8dgQxszE+M15f7vRddYkg27aJUbNYqOQ52sVajOiL54r8fqTbEbTtvNQ118/kb8xPjf9BmXPrVL9fHJ+Y3uvtByqDXn1ty+8t16b9tY35CbF55K+OQbMeOHZvSMTs7m9pibtka1Tw9i1jL9yW0KXAtbDPRtXyyxf2+N+Yn+mJbrz830n6Og16oIsm7MT8xPi68TzTbIdnW1ta0sq2traW2qBUpdZu2GGJX1CmLdFbBVmotSRhfw4rS8bWbijQe1lUdjSPx9z0sthWTTeq8luvj9Xo9bC35J3FINs/z5ubmFNPm5uaytFiSbFJBUBb0XPGyibYFatWqbXsF19Ibz6Cb7vfdOXqktcIfaWHoFJZuzE+MByPSdpXl+vjE/HJQXl/2vOW6v0G7Hb/95bpaMevnvpZr1btS+51Pb1folISibMxPhCPtS3KVd5Verr7cea/+HOPZfnyriZVta2treno6NG16enpraytLi/lk87Qdj9/FhadluoGmUhbWkyuJBTGNy2NQ9fRPg3zO1jlEhAM1asByfWIi+IvdNmFjvi78cQ+3C4dUy3W5/c6rcemwF15n+Nx8q5T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Nzo3dfEso233PnNh3170JPZscY6XvbUTDhNda2ZRAkXa3qQkyydCzRT8zfB0XlAIOYa9sjx1f/fQNN33rzGYo2979B/bdde+jx5qJw0g1cSQiQCRVK9LLdDaMitQOiYx0jcgGKVgqW5GrkcJJm04ANcIxfB+9GqkdYYqjwDTZpOzKRNliU4nAHayTLff3bMp1xZFqI/LdVzAAVJxol8R9Wae2r37PoP+erVJrdiVbfCoRuIJ1slmcQQJQCGQDMIQv2/8Hcz2hq9Sd+nEAAAAASUVORK5CYII=" alt="" width="292" height="404" />

4、子域名部署,关于子域名的解析可以参考我之前的文章网站部署一级域名、二级域名、子域名

a、主要修改一些相关配置:

 <VirtualHost *:80>
DocumentRoot "E:/wamp/www/testWeb/"
ServerName chqtest.com
ServerAlias m.chqtest.com
<Directory "E:/wamp/www/testWeb/">
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex mobile.php index.html index.htm default.php default.htm default.html
</IfModule>
</VirtualHost> <VirtualHost *:80>
DocumentRoot "E:/wamp/www/testWeb/"
ServerName chqtest.com
ServerAlias www.chqtest.com
<Directory "E:/wamp/www/testWeb/">
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.php index.html index.htm default.php default.htm default.html
</IfModule>
</VirtualHost> <VirtualHost *:80>
DocumentRoot "E:/wamp/www/testWeb/"
ServerName chqtest.com
ServerAlias admin.chqtest.com
<Directory "E:/wamp/www/testWeb/">
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.php index.html index.htm default.php default.htm default.html
</IfModule>
</VirtualHost>

此时,也就是说,有不同子域名(二级网站别名)www.chqtest.com   m.chqtest.com  admin.chqtest.com都可以直接访问到www/testWeb目录下,如http://www.chqtest.com/index.php/Home/Index/book,

http://m.chqtest.com/index.php/Home/Index/book都是一样的,只是访问到Home模块下的书籍页面(改Home为H5也都指向手机端页面);

b、那么如果要根据不同的子域名,直接绑定到不同的模块怎么办?参考ThinkPHP的域名部署,也就是在惯用配置下补充一些信息:

     'APP_SUB_DOMAIN_DEPLOY' =>  true,   // 是否开启子域名部署
//完整域名部署
'APP_SUB_DOMAIN_RULES' => array( // 子域名部署规则
'www.chqtest.com' => 'Home', // www.chqtest.com域名指向Home模块
'm.chqtest.com' => 'H5',
'admin.chqtest.com' => 'Admin',
),
'APP_DOMAIN_SUFFIX' => '', // 域名后缀 如果是com.cn net.cn 之类的后缀必须设置
'ACTION_SUFFIX' => '', // 操作方法后缀
'MULTI_MODULE' => true, // 是否允许多模块 如果为false 则必须设置 DEFAULT_MODULE
'MODULE_DENY_LIST' => array('Common','Runtime'),
'MODULE_ALLOW_LIST' => array('Home','H5','Admin'), // 允许访问的模块列表

再次访问http://www.chqtest.com/index.php/Home/Index/book,http://m.chqtest.com/index.php/Home/Index/book,会发现有以下错误:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAArAAAADiCAIAAAA5/2M0AAAgAElEQVR4nO3dwYvbZuL/cf8XOX6Pe+xBh0GHwTmEKXQMIQ5L8FLq0O9mAl1BwC10TaFzWEygmAam0MLS4F8P7lxM07jL1pCDD8WdX0CQ4h7i3zZEh8aExrQJatNRd2Ce30Gy/Uh6JMsee+Sx369TJpblR7Ks56PnefQoIwAAwNrLpF0AAACQPgIBAAAgEAAAAAIBAAAQBAIAACAIBAAAQBAIAACAIBAAAACx5oHgq6++2tjY0EKuXbs2GAzSLh0AAKdnfQPBo0ePLl26FE4D29vbP/zwQ9qlAwDgVK1pIBgMBteuXQungY2Njbt37x4fH6ddQAAATtU6BoLDw8Pd3d1wGtA07aOPPjo6Okq7gAAAnLa1CwTHx8d3795l6AAAALK1CwQ//PDD9vZ2OA2cP3/+/v37aZcOAIB0rFcg+PXXX99++21lZ8E///lPOgsAAGtrjQLB8fHx/v6+Mg3QWQAAWHNrFAiiOgs2Nze//fbbtEsHAECa1iUQ/PHHH5VKRdk8UKlU/vjjj7QLCABAmtYlEHz77bebm5vhNLC9vf348eO0SwcAQMrWIhC8ePHib3/7m7J5oFarMQ0RAABrEQju3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LUCwcOHDy9cuBAOBJcvX37y5EnapQMAYHmtVCDg8ccAAMxmpQLBTz/9VCgUwoFgY2PjwYMHaZcOAIDltVKB4MWLF2+++aZyGME333yTdukAAFheKxUIDg8P33vvPWUg+OKLL9IuHQAAy2ulAsHx8fGtW7eUgWBvby/t0gEAsLxWKhAIIb744gtlIGBuIgAAYqxaIPjmm2+UgYCpCAAAiLFqgeDRo0evvfZaOBC89tprjx49Srt0AAAsqVULBD///PPrr7/OjQYAAExl1QKB4zjvv/++MhDcvn077dIBALCkVi0QCCFu377NuEIAAKayLIHg999/v3v37tWrVzc2NjRNu3LlymeffTbbMMD79+8rAwFPNAAAIMpSBALLst54441wFb61tXVwcHB8fDzV2p48eXL58uXw2jY2NkzTXNAmAABwpqUfCAaDwbVr15TX9JqmnT9/ftpaPGa+wk8//XTaeAEAwDpIORAcHx9/+umnUWnA9c4777x8+XKq1X7++efKVb311lu2bS9oWwAAOLtSDgS//PLL1atX4wPB5ubm999/P9VqHz58eOHChfCqLly48PDhwwVtCwAAZ1fKgeDx48fb29vxgUCbfgqB3377rVQqKVf1+eefL2hbAAA4u85GILh37960a6bXAACA5Fazy0AI8Z///OfVV19Vru27775bxLYAAHB2reagQiHEy5cv33nnHeUKP/zww6Ojo0VsDgAAZ9QK3nY40mq1lOt8/fXXnz17Nt+tAADgTEs/EIh5T0w08uzZs6gHHbVarfluAgAAZ9pSBAIx16mLR2L6I65fv/7ixYt5FR4AgLNuWQLBgvz444+XLl0KB4KNjY1Op5N26QAAWBYrHgiOjo4+/vhjZSPBbGMVAQBYSSseCET0VAc0EgAAMLL6gSCmkeDtt9/+9ddf0y4gAADpW/1AIIT48ccf//znPysbCWaYAxEAgNWzFoHg+Ph4f39f2Ujw17/+dTAYpF1AAABSthaBQAjx888/X79+XZkJ9vf3Z57qAACA1bAugUAI8e23325uboYDwfb29g8//JB26QAASNMaBYKjo6OPPvpI2Uiwu7t7eHiYdgEBAEjNGgUCIcSzZ8/efPNN5ejCr776Ku3SA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ul+8bwj48J+fzm3ZUyPNZVdxnE7Hr1j7Bbr7as4e+1bgzHRsofm6T88YEgcutOaPZAIESvlpe6F+PWNttdBkLY7bI+vIHDsZqGnp1xYrBFW55AIPUAewetoh+62vUv6X/HpECgeE/EF+y/EOlWdV+JrUZB0/x1Ub9d8W7fLVaaVmd8OM3QZVDvSDf5+geCqcvndkXL1wIVxbVAgq1IvC4hRLClwunW3HvyS8PWx9E9ze5eGXZJOlaz4k3hmS9VW9Kt0aLfKrvbXZNK5XbLBk+07s2ToV6J8d3VWjZfCk4HMXnPKrqpTykQCH8mOKVAIB9K8T+4ZIeoqkm5V/fud8+XamZ3UpeB8PJ11DxEEXdHLD4QCKFoyJH2oN0qRU2Z2a0O776bsPvcj2vJN+pLP5DA+W18rEs39PsKHL3r1T/C0ewoviGooUAwqfzxXQZRW3dCyjP8/5MO6WowMMm8SOAPBMnri/G2qmsmIYSQJ2eoyeeeCe87XTzcSE3Vg7l4yTNiOuULcMyKnv7zFeZrFbcp3lIcSj7xM0cu3zc0xR6c8As/SUv1qTjRVezSbx0IBFHsVun05x2d4ueWSvlCerVc+s9XmLNV3KZYy3EojU14tsQSfkPJ9yCBYJm3DgSCpbIUvUhAivpNQ0/2JMKziECwzFsHAsFSIRBgjXVrWU3Lyo+FWDkEgmXeOhAIAAAAgQAAAAgCAQAAEAQCAAAgCAQAAEAI8f8BEfmqK9C4Rm8AAAAASUVORK5CYII=" alt="" />这是因为绑定子域名部署之后,index.php入口文件定位到Application应用目录之前,就已经根据不同的子域名,直接进入相应的目录里面了,这时Home就会被判断要查找的控制器,显然当前控制器只有Index,所以,重新访问:http://www.chqtest.com/index.php/Index/book,http://m.chqtest.com/index.php/Index/book,http://admin.chqtest.com/index.php/Index/book,是不是就都分别访问到相应模块下的操作并返回视图呢:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbkAAAEkCAIAAAA9ztjiAAAbDElEQVR4nO3dsWvb3L/Hcf0XHjs+Y8eMHTt6DHjpkEK4U7Y6nTRkED9KMDSDh/4gQ6CiPGkzPJdrent5Qn8ZTMlgLuEhlMDPQwdDww8/3BTMjwznDpKlI+nofI9k2Y6fvl90SGTp6EiJPv4eHaX2/g8AIPHW3QEA2ABkJQDIyEoAkJGVBv/617++fPny4cOHdwDw7t27d+/ISoMvX778/vvv//73vxUAKKWUIisNPnz4QFAC0JGVBu/evVv3zwXAw0JWGpCVAHLISgOyEkAOWWlAVgLIqZyVk8mk2+12u91m4+nr169fv379888/F29qMpm8ffu22+12Op1Op9Ptdv/+979PJpPo1devX4stiFn548eP9+/fv3z5MtrFy5cv379//+PHj9X8zACsXrWsjIKy0+m8ePGiRopZfP369erqavG4/Pjx4/PnzzsFz58///jx4+vXrzudjtiIPSs/f/4c7eLw8PD09PT09PTw8DDaxefPn1f2k6tpGHheMFx3L1ZiMuj5/eHd3eUbP/jtW8WNr0PfD6+X0i91e3HkH13c1t18Muj5/U//c+RHKra04M6VUvdXJ35wdtNAS033bLkqZKUelEmZ1pQ///xz8bj8+PFjlIyvX7/+448/ooV//PFHFJEJsR1LVn7+/LnT6ezv73///l1f/v379/39/U6nc3l5ufyf2gJqZuX1cXurVytip4Puk2dnkzqbLubmLPBPru7VXy0r58dVs5mFE+lu2Pd7g0nz2fZXycqlBmVkwbicTCZRuffx48fiq77vL56VP378eP78+f7+frIkajD5dn9///nz5w96MF4zK+uXo5Ow7bXD1WflzVkQnN3U3vzBZmV6XOvJyrth3+8P7xpoqemeLZtTVq4gKCOLxOXbt2+jirL4UlN15enpaafT0SvKXFZ+//690+mcnp4aNx8GLa87z5vpYNfz9s5n0XeTsO3tDv574RWmuV1Or8O9p7+0PK/1ZG8wjjrhecHgOtx7+sjzvEdP48Xx6sPes61Hnuc92nrWP+vHITcMvFQce7N5C61ftnvD+W5n8909avdHs6hTqWLWTs7n+4vWz7ThtX55uhdez+brhm2vHQ4H8Q6eBudTNU6+yxyGSseJKnMJ3l4c+Uefbq7Ojg583/cPjn67maWbTIYnvQPf9w9enV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UVcCm6jieZXkJZv5e2rqjNigLY/K5qDPKFs/QMfBGrPS83AArMuiY/BSa1abBXME5SLdcLTmKEKLL9nqSoISeMi4PgFARlYCgIysBAAZWQkAMrISAGRkJQDIyEoAkJGVACAjKwFARlYCgIysBAAZWQkAMrISAGRkJQDIyEoAkJGVACAjKwFARlYCgMwvK3Mfb+D+tINSKwPAJiArAUBWPiujrx0JWMxK/R8AbCCP8DLWiZ5ZuYwa09YIQQxgaUpmpTsHc/VjrpBcPMtsxSlFK4Alk/JFzyBjSBk30V8S69CyqCsBrJx3VjoSKlc8ekbq3MhKACvnMaPtOQZPFhqH3tSVADaZxxSNf1bqsWjMWeZ2AGym6uZ2VCEfHYWn7VsfZCWAlat0Hlz/Qp8KdzxfSVYC2ASV1pXiOozBAWymdWcldSWATVAmKz2LxOVlpW047x7mA8DClp+VBBmAzeedlf5PmC/7fiUArBzhBQAyshIAZGQlAMjISgCQkZUAICMrAUBGVgKAjKwEABlZCQAyshIAZGQlAMjISgCQkZUAICMrAUBGVgKAjKwEABlZCQCy/wDwRM+WJEUVYAAAAABJRU5ErkJggg==" alt="" />

这时,基本就可以搭建了一个大体的网站架构就进一步完善了些,从http://192.168.1.122/testWeb/index.php/H5/Index/book访问手机端书籍页面,到http://m.chqtest.com/index.php/Index/book是不是可以省略了一级资源目录和模块名了呢,

整个结构也清晰了很多。下一篇,将继续说说ThinkPHP关于路由优化,PC、H5网站相互切换的技巧,有兴趣的可以留意下,关于这次例子可以参考Demo

浅谈ThinkPHP3.2的子域名部署和路由优化(一)的更多相关文章

  1. 谁还没遇上过NoClassDefFoundError咋地——浅谈字节码生成与热部署

    谁还没遇上过NoClassDefFoundError咋地--浅谈字节码生成与热部署 前言 在Java程序员的世界里,NoClassDefFoundError是一类相当令人厌恶的错误,因为这类错误通常非 ...

  2. 浅谈CICD持续集成、持续部署的流程(转)

    Jenkins是一个比较流行的持续集成工具GitLab是存储镜像的镜像仓库由客户端将代码push推送到git仓库,gitlab上配置了一个webHook的东西可以触发Jenkins的构建.进入到Jen ...

  3. Oracle索引梳理系列(九)- 浅谈聚簇因子对索引使用的影响及优化方法

    版权声明:本文发布于http://www.cnblogs.com/yumiko/,版权由Yumiko_sunny所有,欢迎转载.转载时,请在文章明显位置注明原文链接.若在未经作者同意的情况下,将本文内 ...

  4. 浅谈CSS样式png、gif、jpg图片优化的方法

    一.PNG.GIF.JPG图片对比 在我们进行图像优化技术前,需要学习有关的图片格式的一些技术细节,每个图形格式都有自己的优势和拖弱点,知道他们会使你得到更好的视觉质量和压缩品质. 网页图片优化是网页 ...

  5. 浅谈Excel开发:十一 针对64位Excel的插件的开发和部署

    自Office 2010版本开始有了32位和64位之分,对Excel来说,32位的Excel和64位的Excel在性能上的主要区别是64位的Excel能够处理2G及2G以上的大数据集. 随着64位操作 ...

  6. 浅谈surging服务引擎中的rabbitmq组件和容器化部署

    1.前言 上个星期完成了surging 的0.9.0.1 更新工作,此版本通过nuget下载引擎组件,下载后,无需通过代码build集成,引擎会通过Sidecar模式自动扫描装配异构组件来构建服务引擎 ...

  7. Yorhom浅谈:作为一名初中生,自学编程的点点滴滴 - Yorhom's Game Box

    Yorhom浅谈:作为一名初中生,自学编程的点点滴滴 我是一名不折不扣的初中生,白天要背着书包去上学,晚上要拿起笔写作业.天天如此,年年如此. 我的爱好很广泛,喜欢了解历史,读侦探小说,骑车,打篮球, ...

  8. 浅谈mapreduce程序部署

    尽管我们在虚拟机client上能非常快通过shell命令,进行运行一些已经封装好实例程序,可是在应用中还是是自己敲代码,然后部署到server中去,以下,我通过程序进行浅谈一个程序的部署过程. 在启动 ...

  9. 浅谈Cordova优缺点与环境部署(转载)

    浅谈Cordova优缺点与环境部署 作者:苏华杰 简介 Cordova是一个用基于HTML.CSS和JavaScript的,用于创建跨平台移动应用程序的快速开发平台.它使开发者能够利用iPhone.A ...

随机推荐

  1. 导入数据经常使用的SQL语句整理整理

    1.事务(基本) GO BEGIN TRY BEGIN TRAN -- 导入数据 COMMIT TRAN END TRY BEGIN CATCH ROLLBACK TRAN END CATCH GO ...

  2. js前端模块化之加载器原理解析(一)

    先来说一下前端模块化的价值:引用模块此处有详细的介绍,可以自行前往观看. 一.总结如下优点: (1)解决命名冲突(2)烦琐的文件依赖(3)模块的版本管理(4)提高可维护性(5)前端性能优化(6)跨环境 ...

  3. 初识linux

    1.版本 稳定版本:偶数版如2.6.X 发展中的版本:奇数版如2.5.X linux distribution包含:linux kernel + free software + documentati ...

  4. Files 的值“<<<<<<< .mine”无效。路径中具有非法字符

    解决冲突,告诉SVN这个问题已解决(Resolved). 一般更简单些:在你的工程OBJ/DEBUG目录下,找到 工程名.csproj.FileListAbsolute.txt的文件打开并删除含有'& ...

  5. 【Beta】Daily Scrum Meeting第一次

    1.任务进度 学号 已完成 接下去要做 502 更换网络框架为okHttp 搭建好PHP单元测试环境,写出PHP测试的demo 509 PHP的login返回值:插入数据改为单行插入:系负责人更新单行 ...

  6. 【luogu】 P1880 石子合并

    原题原题原题原题原题 先贴上错误代码... ↓错误代码↓ #include <iostream> #include <cstdio> #include <cstring& ...

  7. HTML5、canvas颜色拾取器

    效果图: 代码: <!doctype html> <html lang="en"> <head> <meta charset=" ...

  8. C# Just want 入门

    1. 终于明白为什么以前的程序在结尾部分会经常出现 input any key to exit! using System; namespace ConsoleApplication1 { class ...

  9. 通过反射获取DLL的类实现加载窗体

    1.创建一个DLL 类库,并新建一个窗体类,这个直接在vs上操作就好 2. 建立一个Testassembly工程 新建一个测试类 namespace Testassembly { public par ...

  10. String.Format 格式说明

    C#格式化数值结果表 字符 说明 示例 输出 C 货币 string.Format("{0:C3}", 2) $2.000 D 十进制 string.Format("{0 ...