上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: Eloquent: RelationshipsIntroductionDefining RelationshipsOne To OneOne To ManyMany To ManyHas Many ThroughPolymorphic RelationsMany To Many Polymorphi... 阅读全文
posted @ 2015-07-06 10:40 grkin 阅读(645) 评论(0) 推荐(0) 编辑
摘要: Eloquent:入门简介定义模型(model)Eloquent 模型规范取出多个模型取出单个模型 / 集合取出集合插入更新模型基本插入基本更新大批量赋值删除模型软删除查询软删除的模型查询范围事件简介Laravel 所自带的 Eloquent ORM 是一个优美、简洁的 ActiveRecord 实... 阅读全文
posted @ 2015-07-06 10:38 grkin 阅读(724) 评论(0) 推荐(0) 编辑
摘要: 简介编写数据填充类使用模型工厂类调用额外填充类执行填充#简介Laravel includes a simple method of seeding your database with test data using seed classes. All seed classes are stored... 阅读全文
posted @ 2015-07-02 14:38 grkin 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 介绍建立迁移文件迁移文件结构执行迁移回滚迁移填写迁移文件创建表重命名/ 删除表创建字段修改字段删除字段建立索引删除索引外键约束#介绍Migrations are like version control for your database, allowing a team to easily mod... 阅读全文
posted @ 2015-07-02 14:37 grkin 阅读(447) 评论(0) 推荐(0) 编辑
摘要: Introduction Retrieving Results Aggregates Selects Joins Unions Where Clauses Advanced Where Clauses Ordering, Grouping, Limit, & O... 阅读全文
posted @ 2015-07-02 14:36 grkin 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 简介 运行原生SQL查询 监听查询事件 数据库事务 使用多数据库连接 简介 Laravel makes connecting with databases and running queries extremely simple across a variety of database back-ends using eithe... 阅读全文
posted @ 2015-07-02 14:34 grkin 阅读(593) 评论(0) 推荐(0) 编辑
摘要: Facades 介绍 使用 Facades Facade 类参考 #介绍 Facades provide a "static" interface to classes that are available in the application's service container. Laravel ships with many facades, a... 阅读全文
posted @ 2015-06-30 15:43 grkin 阅读(382) 评论(2) 推荐(0) 编辑
摘要: Contract 简介 为什么要用 Contract? Contract 参考 如何使用 Contract 简介 Laravel 中的 Contract 是一组定义了框架核心服务的接口。例如,Illuminate\Contracts\Queue\Queue contract 定义了实现队列任务所需实现的方法,而 Illuminate\Contracts... 阅读全文
posted @ 2015-06-30 15:42 grkin 阅读(629) 评论(0) 推荐(0) 编辑
摘要: Service Container 介绍 绑定的用法 绑定实例到接口 上下文绑定 标签 解析 容器事件 #介绍 The Laravel service container is a powerful tool for managing class dependencies and perfo... 阅读全文
posted @ 2015-06-30 15:40 grkin 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 服务提供者 简介 写一个服务提供者 Register注册方法 Boot 方法 注册提供者 缓载提供者 简介 Service providers are the central place of all Laravel application bootstrapping. Your own application, as well... 阅读全文
posted @ 2015-06-30 15:38 grkin 阅读(528) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页