码迷,mamicode.com
首页 >  
搜索关键字:routes    ( 707个结果
开发一个IONIC应用的首要操作(宏观)
1.创建工程 2.搭建路由(routes.js) 3.添加控制(controller.js) 4.加载模块(app.js) ...
分类:其他好文   时间:2016-10-11 11:05:44    阅读次数:129
[Angular2 Router] Configure Auxiliary Routes in the Angular 2 Router - What is the Difference Towards a Primary Route?
In this tutorial we are going to learn how we can can configure redirects in the angular 2 router configuration. We are also going to see again anothe ...
分类:其他好文   时间:2016-10-03 00:03:31    阅读次数:157
[Angular2 Router] Use Params from Angular 2 Routes Inside of Components
Angular 2’s ActivatedRoute allows you to get the details of the current route into your components. Params on the ActivatedRoute are provided as strea ...
分类:其他好文   时间:2016-09-26 06:30:03    阅读次数:169
[Angular 2 Router] Configure Your First Angular 2 Route
Using the Angular 2 router requires defining routes, passing them in to the RouterModule.forRoot and then importing the configured RouterModule into y ...
分类:其他好文   时间:2016-09-25 06:10:57    阅读次数:215
laravel数据库连接问题
1.修改配置文件/.nevDB_HOST=127.0.0.1//数据库地址 DB_PORT=3306//数据库端口 DB_DATABASE=database//数据库名称 DB_USERNAME=root//数据库账号 DB_PASSWORD=root//数据库密码2.开始测试是否连接成功/App/Http/routes.php路由代码如下(可以自定义)Route::get(‘dbtest‘,‘Admi..
分类:数据库   时间:2016-09-19 22:41:33    阅读次数:304
路由-第7集
作用:是用户访问指定的页面时将URL匹配到被执行控制器或匿名函数!默认laravel所有的路由存在app/http/routes.php文件中。 原理图: 基础路由有: Route::get($uri,$callback); Route::post($uri,$callback); Route::p ...
分类:其他好文   时间:2016-09-14 00:01:55    阅读次数:271
MVC之路由规则 (自定义,约束,debug)
自定义路由规则的要求,小范围写在前,大范围写在后。路由规则可以注册多条,路由规则的名称不能重复路由规则有顺序,并且按照顺序进行匹配,建议小范围写在前,大范围写在后。路由规则可以设置约束 即正则表达式路由规则匹配的控制器可以设置命名空间约束 routes.MapRoute( name: "NewSho ...
分类:Web程序   时间:2016-09-13 11:35:52    阅读次数:157
backbone--部分总结
1、Backbone.history.start 方法可以让我们在点击后退或者前进的时候同样会触发路由的事件。 2、添加路由的路径,添加的路由路径要求重写父类的routes这个对象 ...
分类:其他好文   时间:2016-09-02 18:42:53    阅读次数:107
mvc-学习
AreaRegistration AreaRegistration.RegisterAllAreas FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig RouteTable RouteTable.Routes ...
分类:Web程序   时间:2016-09-01 10:55:48    阅读次数:159
ASP.NET MVC4 执行流程
MVC在底层和传统的asp.net是一致的,在底层之上,相关流程如下: 1)Global.asax里,MvcApplication对象的Application_Start()事件中,调用 RouteConfig.RegisterRoutes(RouteTable.Routes); 来注册路由规则。 ...
分类:Web程序   时间:2016-08-29 23:57:13    阅读次数:270
707条   上一页 1 ... 48 49 50 51 52 ... 71 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!