码迷,mamicode.com
首页 >  
搜索关键字:laravel eloquent    ( 2869个结果
搭建laravel--php升级--apache升级
写在页首: 最近比较忙,没时间搞这些东西。今天抽出来半个多小时写这片博客,供自己和他人,一起借鉴。。 搭建laravel可谓艰难重重。。下面总结以下自己的搭建步骤: 操作系统:Mac OS X 10.9.4 最初操作系统的p...
分类:Web程序   时间:2014-08-12 03:42:04    阅读次数:716
laravel Authentication and Security
Creating the user modelFirst of all, we need to define the model that is going to be used to represent theusers of our application. Laravel already pr...
分类:其他好文   时间:2014-08-12 00:21:23    阅读次数:170
From Apprentice To Artisan 翻译 01
Dependency Injection 依赖注入 The Problem 遇到的问题 The foundation of the Laravel framework is its powerful IoC container. To truly understand the framework, a strong grasp of the container is nec...
分类:移动开发   时间:2014-08-11 15:25:43    阅读次数:387
Laravel 4:FontEnd/BackEnd环境部署
#程序结构如下:app routes.php models controllers backend IndexController.php fontend IndexController.php#后台IndexController.php<?phpnamespadceOrg\Controllers\BackEnd; classIndexControllerextends\BaseController { }#前台IndexController.php<?phpnamespa..
分类:其他好文   时间:2014-08-07 07:27:00    阅读次数:219
laravel 模板 blade
控制器布局在Laravel框架中使用模板的一种方法就是通过控制器布局。通过在控制器中指定layout属性,对应的视图会被创建并且作为请求的默认返回数据。在控制器中定义一个布局class UserController extends BaseController { /** * The ...
分类:其他好文   时间:2014-08-06 17:42:51    阅读次数:248
配置 Laravel 环境
sudo apt-get install apache2sudo apt-get install php5sudo apt-get install php5-mcrypt需要开启 mod_rewrite 模块修改 apache2 的配置文件 /etc/apache2/apache2.conf为 la...
分类:其他好文   时间:2014-08-04 01:51:56    阅读次数:309
Laravel 4 Development on PHPStorm
Laravel & PHPStorm – the best of the two worlds. Laravel is the most popular PHP web framework today. PHPStorm is the best PHP IDE that money can buy....
分类:Web程序   时间:2014-07-29 12:42:06    阅读次数:309
Laravel 应用程序的体系结构(转)
在一切环境就绪了,当然就要开始了解框架了。 站在巨人的肩膀上,学东西会事半功倍。我在网上找到一篇好文章,正好可以让我轻松了解Laravel应用程序的体系结构。因此借来直接用了。 该章节内容翻译自《Architecture of Laravel Applications》,一切版权为原作者,由于原.....
分类:其他好文   时间:2014-07-28 13:52:20    阅读次数:389
laravel更改默认的登录密码加密方式
laravel 默认用的登录密码加密方式是: $password?=?Hash::make(‘password‘); 而我平时用的密码加密方式是: $password?=?md5(‘password‘.‘salt‘);?//其中的salt是一个随机串 那么怎么把默认的改成自己想要的...
分类:其他好文   时间:2014-07-23 17:37:51    阅读次数:262
在Laravel中一步一步创建Packages
学习Laravel中的一个总结,希望能帮助其他人,Packages对于用Laravel做架构帮助会比较大。...
分类:其他好文   时间:2014-07-21 13:44:37    阅读次数:326
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!