YII使用url组件美化管理的方法

前端之家收集整理的这篇文章主要介绍了YII使用url组件美化管理的方法前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

本文实例讲述了YII使用url组件美化管理的方法分享给大家供大家参考,具体如下:

urlManager组件

yii的官方文档对此的解释如下:

urlSuffix 此规则使用的url后缀,默认使用CurlManger::urlSuffix,值为null。例如可以将此设置为.html,让url看起来“像”是一个静态页面caseSensitive 是否大小写敏感,默认使用CUrlManager::caseSensitive,值为null。 defaultParams 该规则使用的默认get参数。当使用该规则来解析一个请求时,这个参数的值会被注入到$_GET参数中。 matchValue 当创建一个URL时,GET参数是否匹配相应的子模式。默认使用CurlManager::matchValue,值为null。

如果该属性为 false,那么意味着当路由和参数名匹配给定的规则时,将以此来创建一个URL。

如果该属性为true,那么给定的参数值夜必须匹配相应的参数子模式。

注意:将此属性设置为true会降低性能

我们使用一些例子来解释网址工作规则。我们假设我们的规则包括如下三个:

'post/list','post/'=>'post/read','post//'=>'post/read',) </pre> </div> <p><a href="https://www.jb51.cc/tag/diaoyong/" target="_blank" class="keywords">调用</a>$this->createUrl('post/list')<a href="https://www.jb51.cc/tag/shengcheng/" target="_blank" class="keywords">生成</a>/index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>/posts。第一个规则适用。</p> <p><a href="https://www.jb51.cc/tag/diaoyong/" target="_blank" class="keywords">调用</a>$this->createUrl('post/read',array('id'=>100))<a href="https://www.jb51.cc/tag/shengcheng/" target="_blank" class="keywords">生成</a>/index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>/post/100。第二个规则适用。</p> <p><a href="https://www.jb51.cc/tag/diaoyong/" target="_blank" class="keywords">调用</a>$this->createUrl('post/read',array('year'=>2008,'title'=>'a sample post'))<a href="https://www.jb51.cc/tag/shengcheng/" target="_blank" class="keywords">生成</a>/index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>/post/2008/a%20sample%20post。第三个规则适用。</p> <p><a href="https://www.jb51.cc/tag/diaoyong/" target="_blank" class="keywords">调用</a>$this->createUrl('post/read')产生/index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>/post/read。请注意,没有规则适用。</p> <p>总之,当使用createUrl<a href="https://www.jb51.cc/tag/shengcheng/" target="_blank" class="keywords">生成</a>网址,路线和传递给该<a href="https://www.jb51.cc/tag/fangfa/" target="_blank" class="keywords">方法</a>的GET参数被用来决定哪些网址规则适用。如果关联规则中的每个参数可以在GET参数找到的,将被传递给createUrl ,如果路线的规则也匹配路线参数,规则将用来<a href="https://www.jb51.cc/tag/shengcheng/" target="_blank" class="keywords">生成</a>网址。</p> <p>如果GET参数传递到createUrl是以上所要求的一项规则,其他参数将出现在<a href="https://www.jb51.cc/tag/chaxun/" target="_blank" class="keywords">查询</a>字符串。例如,如果我们<a href="https://www.jb51.cc/tag/diaoyong/" target="_blank" class="keywords">调用</a>$this->createUrl('post/read',array('id'=>100,'year'=>2008)) ,我们将获得/index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>/post/100?year=2008。为了使这些额外参数出现在路径信息的一部分,我们应该给规则附加/* 。 因此,该规则post/<id:\d+>/* ,我们可以<a href="https://www.jb51.cc/tag/huoqu/" target="_blank" class="keywords">获取</a>网址/index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>/post/100/year/2008 。</p> <p>正如我们提到的,URL规则的其他用途是解析请求网址。当然,这是URL<a href="https://www.jb51.cc/tag/shengcheng/" target="_blank" class="keywords">生成</a>的一个逆过程。例如, 当<a href="https://www.jb51.cc/tag/yonghu/" target="_blank" class="keywords">用户</a>请求/index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>/post/100 ,上面例子的第二个规则将适用来解析路线post/read和GET参数array('id'=>100) (可通过$_GET获得) 。</p> <p><span style="color: #0000ff">提示:此网址通过createurl方法所产生的是一个相对地址。为了得到一个绝对的url ,我们可以用前缀yii: :app()->hostInfo ,或<a href="https://www.jb51.cc/tag/diaoyong/" target="_blank" class="keywords">调用</a>createAbsoluteUrl 。</p> <p>注:使用的URL规则将降低应用的<a href="https://www.jb51.cc/tag/xingneng/" target="_blank" class="keywords">性能</a>。这是因为当解析请求的URL ,[ CUrlManager ]尝试使用每个规则来匹配它,直到某个规则可以适用。因此,高流量网站应用应尽量减少其使用的URL规则。</p> <p>test.com/vthot 想<a href="https://www.jb51.cc/tag/shengcheng/" target="_blank" class="keywords">生成</a> test.com/vthot/ <div class="codetitle"><span><a style="CURSOR: pointer" data="45432" class="copybut" id="copybut45432" onclick="doCopy('code45432')"><U></U></a> <a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code45432">'urlSuffix'=>'/',</div> 要更改URL格式,我们应该配置urlManager应用元件,以便createUrl可以<a href="https://www.jb51.cc/tag/zidong/" target="_blank" class="keywords">自动</a>切换到新格式和应用程序可以正确理解新的网址:</p> <div class="jb51code"> <pre class="brush:php;"> 'urlManager'=>array( 'urlFormat'=>'path','showScriptName'=>false,'urlSuffix'=>'.html','rules'=>array( 'posts'=>'post/list','post/<id:\d+>'=>array('post/show','urlSuffix'=>'.html'),'post/<id:\d+>/<mid:\w+>'=>array('post/view','urlSuffix'=>'.xml'),),</pre> </div> <p>示例一</p> <p>Rule<a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a> <div class="codetitle"><span><a style="CURSOR: pointer" data="37146" class="copybut" id="copybut37146" onclick="doCopy('code37146')"><U></U></a> <a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code37146">'posts'=>'post/list',</div> Action<a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a> <div class="codetitle"><span><a style="CURSOR: pointer" data="15120" class="copybut" id="copybut15120" onclick="doCopy('code15120')"><U></U></a> <a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code15120">echo $this->createAbsoluteUrl('post/list');</div></p> <p><a href="https://www.jb51.cc/tag/shuchu/" target="_blank" class="keywords">输出</a></p> <p>http://localhost/test/index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>/post</p> <p>示例二</p> <p>Rule<a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a> <div class="codetitle"><span><a style="CURSOR: pointer" data="54641" class="copybut" id="copybut54641" onclick="doCopy('code54641')"><U></U></a> <a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code54641">'post/<id:\d+>'=>array('post/show',</div> Action<a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a> <div class="codetitle"><span><a style="CURSOR: pointer" data="36078" class="copybut" id="copybut36078" onclick="doCopy('code36078')"><U></U></a> <a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code36078">echo $this->createAbsoluteUrl('post/show',array('id'=>998,'name'=>'123'));</div></p> <p><a href="https://www.jb51.cc/tag/shuchu/" target="_blank" class="keywords">输出</a></p> <p>http://localhost/test/index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>/post/998.html?name=123</p> <p>示例三</p> <p>Rule<a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a>: <div class="codetitle"><span><a style="CURSOR: pointer" data="18324" class="copybut" id="copybut18324" onclick="doCopy('code18324')"><U></U></a> <a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code18324">'post/<id:\d+>/<mid:\w+>'=>array('post/view',</div></p> <p>Action<a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a> <div class="codetitle"><span><a style="CURSOR: pointer" data="45028" class="copybut" id="copybut45028" onclick="doCopy('code45028')"><U></U></a> <a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code45028">echo $this->createAbsoluteUrl('post/view','mid'=>'tody'));</div> <a href="https://www.jb51.cc/tag/shuchu/" target="_blank" class="keywords">输出</a></p> <p>http://localhost/test/index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>/post/998/tody.xml</p> <p>示例四</p> <p>Rule<a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a> <div class="codetitle"><span><a style="CURSOR: pointer" data="64918" class="copybut" id="copybut64918" onclick="doCopy('code64918')"><U></U></a> <a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a>如下:</div><div class="codebody" id="code64918">'http://<user:\w+>.vt.com/<_c:(look|seek)>'=>array('<_c>/host','urlSuffix'=>'.me'),</div></p> <p>Action<a href="https://www.jb51.cc/tag/daima/" target="_blank" class="keywords">代码</a>:</p> <div class="jb51code"> <pre class="brush:php;"> echo $this->createAbsoluteUrl('look/host',array('user'=>'boy','mid'=>'ny-01')); echo ''; echo $this->createAbsoluteUrl('looks/host','mid'=>'ny-01')); </pre> </div> <p><a href="https://www.jb51.cc/tag/shuchu/" target="_blank" class="keywords">输出</a></p> <p>http://boy.vt.com/look.me?mid=ny-01 http://localhost/test/index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>/looks/host/user/boy/mid/ny-01</p> <p>1)controller/Update/id/23</p> <div class="jb51code"> <pre class="brush:php;"> public function actionUpdate(){ $id = Yii::app()->request->getQuery('id') ; 经过处理的$_GET['id'] } //$id = Yii::app()->request->getPost('id'); 经过处理的$_POST['id'] //$id = Yii::app()->request->getParam('id'); //CHttpRequest更多 </pre> </div> <p>2)public function actionUpdate($id) 这种<a href="https://www.jb51.cc/tag/buzhichi/" target="_blank" class="keywords">不支持</a>多主键,会检查一下到底GET里面有没有id,没有id就直接不允许访问</p> <div class="jb51code"> <pre class="brush:<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>;"> 'sayhello/<name>' => 'post/hello',name是PostController actionHello($name)的参数 'post/<alias:[-a-z]+>' => 'post/view',domain/post/e文小写 其中:前面的alias是PostController actionView($alias)的参数 '(posts|archive)/<order:(DESC|ASC)>' => 'post/index',domain/posts/DESC或domain/posts/ASC '(posts|archive)' => 'post/index',domain/posts或domain/archive 'tos' => array('website/page','defaultParams' => array('alias' =>'terms_of_service')),</pre> </div> <p>When the URL is /tos,pass terms_of_service as the alias parameter value.</p> <p><h3>隐藏 index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a></h3></p> <p>还有一点,我们可以做进一步清理我们的网址,即在URL中藏匿index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a> 入口脚本。这就要求我们配置Web服务器,以及urlManager应用程序元件。</p> <p><span style="color: #0000ff">1.add showScriptName=>false</p> <p><span style="color: #0000ff">2.add project/.htaccess</p> <div class="jb51code"> <pre class="brush:xhtml;"> RewriteEngine on # if a directory or a file exists,use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a> RewriteRule . index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a> </pre> </div> <p><span style="color: #0000ff">3.开启rewrite</p> <p>简单的说,在main.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>中简单设置urlManager,然后讲了3条规则,基本都覆盖到了。最后是隐藏index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>,请记住.htaccess位于index.<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>同级目录 ,而不是protected/目录。其他就简单了。</p> <p>希望本文所述对大家基于Yii框架的<a href="https://www.jb51.cc/tag/PHP/" target="_blank" class="keywords">PHP</a>程序设计有所帮助。</p><i class="glyphicon glyphicon-link"></i> 原文链接:https://www.f2er.com/php/20647.html</div> <div class="topcard-tags"><a href="https://www.f2er.com/tag/urlzujian/" class="tag_link" target="_blank">url组件</a><a href="https://www.f2er.com/tag/meihuaguanli/" class="tag_link" target="_blank">美化管理</a></div> <ul class="list-group"> <li class="list-group-item"><a href="https://www.f2er.com/php/20648.html" title="yii去掉必填项中星号的方法">上一篇:yii去掉必填项中星号的方法</a><a href="https://www.f2er.com/php/20646.html" title="Yii实现单用户博客系统文章详情页插入评论表单的方法" class="text-muted pull-right">下一篇:Yii实现单用户博客系统文章详情页插</a> </li> </ul> </div> </div> </div> <!-- row end --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-4605373693034661" data-ad-slot="9144498553"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div> </div> </div> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <div class="title"><h1>猜你在找的PHP相关文章</h1></div> <div class="list_con"> <a href="https://www.f2er.com/php/997740.html" title="Hessian通讯协议【附PHP源代码】"><img class="lazy" src="https://www.f2er.com/images/np.jpg" data-original="https://www.f2er.com/res/2021/02-22/19/361df348b2385424b031f281e9807f35.png" title="" width="160" height="90" style="float:right;margin-left:30px;display:none;" /><div class="title">Hessian通讯协议【附PHP源代码】</div> <div class="summary">Hessian开源的远程通讯,采用二进制 RPC的协议,基于 HTTP 传输。可以实现PHP调用Java,Pyt...</div> <time class="summary">作者:前端之家 时间:2021-02-22</time> </a> </div> <div class="list_con"> <a href="https://www.f2er.com/php/997739.html" title="初识Mongodb总结"><img class="lazy" src="https://www.f2er.com/images/np.jpg" data-original="https://www.f2er.com/res/2021/02-22/19/b4d39ef6acdce4fc3ef2fe713961a4c2.png" title="" width="160" height="90" style="float:right;margin-left:30px;display:none;" /><div class="title">初识Mongodb总结</div> <div class="summary">初识Mongodb的一些总结,在Mac Os X下真实搭建mongodb环境,以及分享个Mongodb管理工具,学习...</div> <time class="summary">作者:前端之家 时间:2021-02-22</time> </a> </div> <div class="list_con"> <a href="https://www.f2er.com/php/997738.html" title="初识Mongodb之[CURD]-PHP版"><img class="lazy" src="https://www.f2er.com/images/np.jpg" data-original="https://www.f2er.com/res/2021/02-22/19/d009a8111c246e74506457f4b9a3356b.png" title="" width="160" height="90" style="float:right;margin-left:30px;display:none;" /><div class="title">初识Mongodb之[CURD]-PHP版</div> <div class="summary">边看边操作,这样才能记得牢,实践是检验真理的唯一标准.光看不练假把式,光练不看傻把式,边看...</div> <time class="summary">作者:前端之家 时间:2021-02-22</time> </a> </div> <div class="list_con"> <a href="https://www.f2er.com/php/997665.html" title="php学习日志 - echo&print"><img class="lazy" src="https://www.f2er.com/images/np.jpg" data-original="https://www.f2er.com/res/2021/02-21/08/daa4210b68d9838740e9ea77a21307fa.png" title="" width="160" height="90" style="float:right;margin-left:30px;display:none;" /><div class="title">php学习日志 - echo&print</div> <div class="summary">在php中,结果输出一共有两种方式:echo和print,下面将对两种方式做一个比较。 echo与pri...</div> <time class="summary">作者:前端之家 时间:2021-02-21</time> </a> </div> <div class="list_con"> <a href="https://www.f2er.com/php/997664.html" title="The mbstring extension is missing. Please check your PHP configuration错误及解决方法"><img class="lazy" src="https://www.f2er.com/images/np.jpg" data-original="https://www.f2er.com/res/2021/02-21/08/eb187c62ac0c80d6e2af301e5b85d7cf.jpg" title="" width="160" height="90" style="float:right;margin-left:30px;display:none;" /><div class="title">The mbstring extension is missing. Please check your PHP configuration错误及解决方法</div> <div class="summary">在安装好wampServer后,一直没有使用phpMyAdmin,今天用了一下,phpMyAdmin显示错误:The m...</div> <time class="summary">作者:前端之家 时间:2021-02-21</time> </a> </div> <div style="border-bottom: 1px solid #f4f4f4;margin-top:20px;"> <ins class="adsbygoogle" style="display:block" data-ad-format="fluid" data-ad-layout-key="-fr-2o+fp-dx-wx" data-ad-client="ca-pub-4605373693034661" data-ad-slot="4561116489"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div><div class="list_con"> <a href="https://www.f2er.com/php/997662.html" title="解决Windows Live Writer错误:WindowsLive.Writer.CoreServices.HttpRequestHelper的类型初始值设定发生异常"><img class="lazy" src="https://www.f2er.com/images/np.jpg" data-original="https://www.f2er.com/res/2021/02-21/08/3dba7c0e337113c18e0d271e31375f92.png" title="" width="160" height="90" style="float:right;margin-left:30px;display:none;" /><div class="title">解决Windows Live Writer错误:WindowsLive.Writer.CoreServices.HttpRequestHelper的类型初始值设定发生异常</div> <div class="summary">以前用Windows Live Writer写日志都好好的,前几天用写完日志,点击发布,突然弹出意外错误...</div> <time class="summary">作者:前端之家 时间:2021-02-21</time> </a> </div> <div class="list_con"> <a href="https://www.f2er.com/php/997491.html" title="在PHP项目中使用Standford Moss代码查重系统"><div class="title">在PHP项目中使用Standford Moss代码查重系统</div> <div class="summary">Standford Moss 系统是斯坦福大学大名鼎鼎的代码查重系统,它可以查出哪些同学提交的代码是...</div> <time class="summary">作者:前端之家 时间:2021-02-18</time> </a> </div> <div class="list_con"> <a href="https://www.f2er.com/php/997490.html" title="Windows下PHP安全环境的搭建"><img class="lazy" src="https://www.f2er.com/images/np.jpg" data-original="https://www.f2er.com/res/2021/02-18/10/ae3043a3f014e5fde5c29d0449149db0.png" title="" width="160" height="90" style="float:right;margin-left:30px;display:none;" /><div class="title">Windows下PHP安全环境的搭建</div> <div class="summary">笔者一直在Windows环境下搭建PHP的运行环境,大大小小的运行环境用过不少,从开始的WAMP到...</div> <time class="summary">作者:前端之家 时间:2021-02-18</time> </a> </div> <div class="list_con"> <a href="https://www.f2er.com/php/997489.html" title="ThinkPHP5作业管理系统中处理学生未交作业与已交作业信息"><div class="title">ThinkPHP5作业管理系统中处理学生未交作业与已交作业信息</div> <div class="summary">在作业管理系统中,学生登陆到个人中心后可以通过左侧的菜单查看自己已经提交的作业和未提...</div> <time class="summary">作者:前端之家 时间:2021-02-18</time> </a> </div> <div class="list_con"> <a href="https://www.f2er.com/php/997488.html" title="ThinkPHP5项目目录规划实践"><div class="title">ThinkPHP5项目目录规划实践</div> <div class="summary">ThinkPHP5安装后(或者下载后的压缩文件解压后)可以看到下面的目录结构: 一般的信息管理...</div> <time class="summary">作者:前端之家 时间:2021-02-18</time> </a> </div> <div style="border-bottom: 1px solid #f4f4f4;margin-top:20px;"> <ins class="adsbygoogle" style="display:block" data-ad-format="fluid" data-ad-layout-key="-fr-2o+fp-dx-wx" data-ad-client="ca-pub-4605373693034661" data-ad-slot="4561116489"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div></div> </div> </div> </div> <!-- left end--> <!-- right --> <div class="col-sm-12 col-md-12 col-lg-3"> <!-- row --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <label class="main-content-label ">编程分类</label> <div class="cate mt-20"><a href="https://www.f2er.com/php/" title="PHP">PHP</a><a href="https://www.f2er.com/java/" title="Java">Java</a><a href="https://www.f2er.com/javase/" title="Java SE">Java SE</a><a href="https://www.f2er.com/python/" title="Python">Python</a><a href="https://www.f2er.com/csharp/" title="C#">C#</a><a href="https://www.f2er.com/c/" title="C&C++">C&C++</a><a href="https://www.f2er.com/ruby/" title="Ruby">Ruby</a><a href="https://www.f2er.com/vb/" title="VB">VB</a><a href="https://www.f2er.com/aspnet/" title="asp.Net">asp.Net</a><a href="https://www.f2er.com/go/" title="Go">Go</a><a href="https://www.f2er.com/Perl/" title="Perl">Perl</a><a href="https://www.f2er.com/netty/" title="netty">netty</a><a href="https://www.f2er.com/django/" title="Django">Django</a><a href="https://www.f2er.com/delphi/" title="Delphi">Delphi</a><a href="https://www.f2er.com/jsp/" title="Jsp">Jsp</a><a href="https://www.f2er.com/netcore/" title=".NET Core">.NET Core</a><a href="https://www.f2er.com/spring/" title="Spring">Spring</a><a href="https://www.f2er.com/flask/" title="Flask">Flask</a><a href="https://www.f2er.com/springboot/" title="Springboot">Springboot</a><a href="https://www.f2er.com/springmvc/" title="SpringMVC">SpringMVC</a><a href="https://www.f2er.com/lua/" title="Lua">Lua</a><a href="https://www.f2er.com/laravel/" title="Laravel">Laravel</a><a href="https://www.f2er.com/mybatis/" title="Mybatis">Mybatis</a><a href="https://www.f2er.com/asp/" title="Asp">Asp</a><a href="https://www.f2er.com/groovy/" title="Groovy">Groovy</a><a href="https://www.f2er.com/thinkphp/" title="ThinkPHP">ThinkPHP</a><a href="https://www.f2er.com/yii/" title="Yii">Yii</a><a href="https://www.f2er.com/swoole/" title="swoole">swoole</a><div class="clearfix"></div> </div> </div> </div> </div> <!-- row end --> <!-- row --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <!-- f2er-rightads --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-4605373693034661" data-ad-slot="7756441254" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> </div> <!-- row end --> <!-- row --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <label class="main-content-label ">最新文章</label> <ul class="n-list"><li><a href="https://www.f2er.com/php/997740.html" title="Hessian通讯协议【附PHP源代码】" target="_blank">• Hessian通讯协议【附PHP源</a></li> <li><a href="https://www.f2er.com/php/997739.html" title="初识Mongodb总结" target="_blank">• 初识Mongodb总结</a></li> <li><a href="https://www.f2er.com/php/997738.html" title="初识Mongodb之[CURD]-PHP版" target="_blank">• 初识Mongodb之[CURD]-PHP版</a></li> <li><a href="https://www.f2er.com/php/997665.html" title="php学习日志 - echo&print" target="_blank">• php学习日志 - echo&p</a></li> <li><a href="https://www.f2er.com/php/997664.html" title="The mbstring extension is missing. Please check your PHP configuration错误及解决方法" target="_blank">• The mbstring extension i</a></li> <li><a href="https://www.f2er.com/php/997663.html" title="php学习日志 - php变量" target="_blank">• php学习日志 - php变量</a></li> <li><a href="https://www.f2er.com/php/997662.html" title="解决Windows Live Writer错误:WindowsLive.Writer.CoreServices.HttpRequestHelper的类型初始值设定发生异常" target="_blank">• 解决Windows Live Writer错</a></li> <li><a href="https://www.f2er.com/php/997491.html" title="在PHP项目中使用Standford Moss代码查重系统" target="_blank">• 在PHP项目中使用Standford</a></li> <li><a href="https://www.f2er.com/php/997490.html" title="Windows下PHP安全环境的搭建" target="_blank">• Windows下PHP安全环境的搭</a></li> <li><a href="https://www.f2er.com/php/997489.html" title="ThinkPHP5作业管理系统中处理学生未交作业与已交作业信息" target="_blank">• ThinkPHP5作业管理系统中处</a></li> </ul> </div> </div> </div> <!-- row end --> <!-- row --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <label class="main-content-label ">热门标签 <span class="pull-right tx-12"> <a href="https://www.f2er.com/all" target="_blank">更多 ►</a></span> </label> <div class="topcard-tags"><a href="https://www.f2er.com/tag/wenjianshijian/" title="文件时间" target="_blank">文件时间</a><a href="https://www.f2er.com/tag/pythonm/" title="pythonm" target="_blank">pythonm</a><a href="https://www.f2er.com/tag/xiangdengxing/" title="相等性" target="_blank">相等性</a><a href="https://www.f2er.com/tag/PHPWarning/" title="PHP Warning" target="_blank">PHP Warning</a><a href="https://www.f2er.com/tag/shijianwenti/" title="时间问题" target="_blank">时间问题</a><a href="https://www.f2er.com/tag/wentijiejue/" title="问题解决" target="_blank">问题解决</a><a href="https://www.f2er.com/tag/pcntlsignal/" title="pcntl_signal()" target="_blank">pcntl_signal</a><a href="https://www.f2er.com/tag/caiyangdian/" title="采样点" target="_blank">采样点</a><a href="https://www.f2er.com/tag/wavmokuai/" title="wav模块" target="_blank">wav模块</a><a href="https://www.f2er.com/tag/dongtaiwenben/" title="动态文本" target="_blank">动态文本</a><a href="https://www.f2er.com/tag/diaoyongpinlvxianzhi/" title="调用频率限制" target="_blank">调用频率限制</a><a href="https://www.f2er.com/tag/duiwaibaolu/" title="对外暴露" target="_blank">对外暴露</a><a href="https://www.f2er.com/tag/duogefangwenqingqiu/" title="多个访问请求" target="_blank">多个访问请求</a><a href="https://www.f2er.com/tag/gengxinshujubiao/" title="更新数据表" target="_blank">更新数据表</a><a href="https://www.f2er.com/tag/moxingjiegou/" title="模型结构" target="_blank">模型结构</a><a href="https://www.f2er.com/tag/typefangfa/" title="type()方法" target="_blank">type()方法</a><a href="https://www.f2er.com/tag/bijiaosudu/" title="比较速度" target="_blank">比较速度</a><a href="https://www.f2er.com/tag/shouxieti/" title="手写体" target="_blank">手写体</a><a href="https://www.f2er.com/tag/sobelsuanzi/" title="sobel算子" target="_blank">sobel算子</a><a href="https://www.f2er.com/tag/baocunmoxing/" title="保存模型" target="_blank">保存模型</a><a href="https://www.f2er.com/tag/Imagelei/" title="Image类" target="_blank">Image类</a><a href="https://www.f2er.com/tag/nnConv2d/" title="nn.Conv2d" target="_blank">nn.Conv2d</a><a href="https://www.f2er.com/tag/pytorch10/" title="pytorch1.0" target="_blank">pytorch1.0</a><a href="https://www.f2er.com/tag/kaggle/" title="kaggle" target="_blank">kaggle</a><a href="https://www.f2er.com/tag/DCGAN/" title="DCGAN" target="_blank">DCGAN</a><a href="https://www.f2er.com/tag/jiaobingbi/" title="交并比" target="_blank">交并比</a><a href="https://www.f2er.com/tag/rangeyongfa/" title="range()用法" target="_blank">range()用法</a><a href="https://www.f2er.com/tag/dayinmoxing/" title="打印模型" target="_blank">打印模型</a><a href="https://www.f2er.com/tag/fanjuanji/" title="反卷积" target="_blank">反卷积</a><a href="https://www.f2er.com/tag/juanji/" title="卷积" target="_blank">卷积</a></div> </div> </div> </div> <!-- row end --> <!-- row --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <!-- f2er-rightads --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-4605373693034661" data-ad-slot="7756441254" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> </div> <!-- row end --> </div> <!-- right end --> </div> </div> <footer id="footer"> <div class="container"> <div class="row hidden-xs"> <dl class="col-sm-6 site-link"> <dt>最近更新</dt><dd><a href="https://www.f2er.com/faq/884225.html" title="jQuery选择伪元素:after" target="_blank">· jQuery选择伪元素:after</a><span class="text-muted pull-right">10-20</span></dd> <dd><a href="https://www.f2er.com/faq/884224.html" title="JavaScript随机颜色生成器" target="_blank">· JavaScript随机颜色生成器</a><span class="text-muted pull-right">10-20</span></dd> <dd><a href="https://www.f2er.com/faq/884223.html" title="JavaScript指数" target="_blank">· JavaScript指数</a><span class="text-muted pull-right">10-20</span></dd> <dd><a href="https://www.f2er.com/faq/884222.html" title="addResourceHandlers无法解析静态资源" target="_blank">· addResourceHandlers无法解析静态资源</a><span class="text-muted pull-right">10-20</span></dd> <dd><a href="https://www.f2er.com/faq/884221.html" title="如何将字节数组转换为MultipartFile" target="_blank">· 如何将字节数组转换为MultipartFile</a><span class="text-muted pull-right">10-20</span></dd> <dd><a href="https://www.f2er.com/faq/884220.html" title="在java中如何创建一个文件并写入内容?" target="_blank">· 在java中如何创建一个文件并写入内容?</a><span class="text-muted pull-right">10-20</span></dd> <dd><a href="https://www.f2er.com/faq/884219.html" title="星号*在Python中是什么意思?" target="_blank">· 星号*在Python中是什么意思?</a><span class="text-muted pull-right">10-20</span></dd> <dd><a href="https://www.f2er.com/faq/884218.html" title="Flask框架:MVC模式" target="_blank">· Flask框架:MVC模式</a><span class="text-muted pull-right">10-20</span></dd> <dd><a href="https://www.f2er.com/faq/884217.html" title="在JavaScript对象数组中按ID查找对象" target="_blank">· 在JavaScript对象数组中按ID查找对象</a><span class="text-muted pull-right">10-20</span></dd> <dd><a href="https://www.f2er.com/faq/884216.html" title="使用Javascript / jQuery下载文件" target="_blank">· 使用Javascript / jQuery下载文件</a><span class="text-muted pull-right">10-20</span></dd> </dl> <dl class="col-sm-4 site-link"> <dt>好站推荐</dt><dd> <a href="https://www.runoob.com" title="菜鸟教程(www.runoob.com)提供了编程的基础技术教程, 介绍了HTML、CSS、Javascript、Python,Java,Ruby,C,PHP , MySQL等各种编程语言的基础知识。 同时本站中也提供了大量的在线实例,通过实例,您可以更好的学习编程。" target="_blank">菜鸟教程</a></dd><dd> <a href="https://www.jb51.cc" title="编程之家(www.jb51.cc)是成立于2017年面向全球中文开发者的技术内容分享平台。提供编程导航、编程问答、编程博文、编程百科、编程教程、编程工具、编程实例等开发者最需要的编程技术内容与开发工具支持,与你一起学习编程,相信编程改变未来!" target="_blank">编程之家</a></dd><dd> <a href="https://www.f2er.com" title="前端之家 f2er.com 前端开发人员所需学习知识手册。" target="_blank">前端之家</a></dd></dl> <dl class="col-sm-2 site-link"> <dt>商务合作</dt> <dd><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=76874919&site=qq&menu=yes">联系我们</a></dd> </dl> </div> <div class="copyright"> Copyright © 2019 前端之家. 当前版本 V7.0.16<br> <span class="ml5">前端之家 版权所有 <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">闽ICP备13020303号-10</a></span> </div> </div> </footer> <script type="text/javascript" src="https://www.f2er.com/js/base.js"></script> </body> </html>