没有合适的资源?快使用搜索试试~ 我知道了~
首页利用Laravel 4开发实战指南
利用Laravel 4开发实战指南
![](https://csdnimg.cn/release/wenkucmsfe/public/img/star.98a08eaa.png)
"《Learning Laravel 4 Application Development》是一本专门针对Laravel 4框架进行深入应用开发的英文原版教材。作者Hardik Dangar以其清晰且富有表现力的语法,引领读者构建现实世界的Web应用程序。这本书适合那些希望学习和实践Laravel 4技术的开发者,无论是初级还是进阶者,都能在本书中找到相应的指导。 书中详细讲解了如何利用Laravel 4的高级特性和设计理念,包括但不限于路由、控制器、模型-视图-控制器(MVC)架构、数据库操作、Eloquent ORM以及其强大的模板引擎Blade。通过实际项目的开发示例,读者可以逐步掌握如何搭建和管理复杂的Web应用,确保代码的可维护性和扩展性。 版权方面,该书受2013年Packt Publishing出版,所有内容未经许可不得复制、存储或任何形式的传播,除非是在批评文章或评论中引用部分片段。尽管作者和出版社尽力保证信息的准确性,但不提供任何形式的保修,对因本书导致的直接或间接损害,作者和Packt Publishing及其经销商和分销商概不负责。 Packt Publishing在书中尽力提供了关于书中提及的所有公司和产品的商标信息,但并不保证这些信息的准确性。这本教材是Laravel 4领域的宝贵资源,对于开发者来说,不仅是一个学习工具,也是提升技能和实践经验的重要参考书。对于希望在这个流行框架中深化理解的读者来说,这本书是一次全面且实用的学习之旅。"
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/7618711/bg10.jpg)
Preface
[ 3 ]
If you don't have them, don't worry. Chapter 2, Let's Begin the Journey of this book will
guide you through installing them.
Who this book is for
This book is for developers who are new to the Laravel framework as well as
developers who want to explore the new breed of Laravel 4, which has been
completely redeveloped by Taylor Otwell. You will need to know the basics of
PHP and MySQL as well as some basic concepts about object-oriented programming.
If you are tired of dealing with the old way of developing PHP applications and
want to use Laravel 4 to manage your project and learn how to do it step-by-step,
then this book is for you.
Conventions
In this book, you will nd a number of styles of text that distinguish between
different kinds of information. Here are some examples of these styles, and an
explanation of their meaning.
Code words in text, database table names, folder names, lenames, le extensions,
pathnames, dummy URLs, user input, and Twitter handles are shown as follows:
"You can dene RESTful controllers via Laravel 4, and Controllers can have a
predened method to receive a request via
GET, PUT, DELETE, POST, and UPDATE."
A block of code is set as follows:
$env = $app->detectEnvironment(array(
'local' => array('your-machine-name'),
'production' => array('example.com'),
));
When we wish to draw your attention to a particular part of a code block, the
relevant lines or items are set in bold:
return array(
'connections' => array(
'mysql' => array(
'driver' => 'mysql',
'host' => 'db.example.com',
'database' => 'myapp',
'username' => 'myappuser',
'password' => 'myapppassword',
'charset' => 'utf8',
![](https://csdnimg.cn/release/download_crawler_static/7618711/bg11.jpg)
Preface
[ 4 ]
'collation' => 'utf8_unicode_ci',
'prefix' => '',
),
)
);
Any command-line input or output is written as follows:
# php artisan routes
New terms and important words are shown in bold. Words that you see on the screen,
in menus or dialog boxes for example, appear in the text like this: "Also, we have an
Add User button which will allow the user to add a new user into the system."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about
this book—what you liked or may have disliked. Reader feedback is important for
us to develop titles that you really get the most out of.
To send us general feedback, simply send an e-mail to
feedback@packtpub.com,
and mention the book title via the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing
or contributing to a book, see our author guide on
www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a number of things to
help you to get the most from your purchase.
![](https://csdnimg.cn/release/download_crawler_static/7618711/bg12.jpg)
Preface
[ 5 ]
Downloading the example code
You can download the example code les for all Packt books you have purchased
from your account at http://www.packtpub.com. If you purchased this book
elsewhere, you can visit http://www.packtpub.com/support and register to
have the les e-mailed directly to you.
Errata
Although we have taken every care to ensure the accuracy of our content, mistakes do
happen. If you nd a mistake in one of our books—maybe a mistake in the text or the
code—we would be grateful if you would report this to us. By doing so, you can save
other readers from frustration and help us improve subsequent versions of this book.
If you nd any errata, please report them by visiting http://www.packtpub.com/
submit-errata
, selecting your book, clicking on the errata submission form link,
and entering the details of your errata. Once your errata are veried, your submission
will be accepted and the errata will be uploaded on our website, or added to any list
of existing errata, under the Errata section of that title. Any existing errata can be
viewed by selecting your title from http://www.packtpub.com/support.
Piracy
Piracy of copyright material on the Internet is an ongoing problem across all media.
At Packt, we take the protection of our copyright and licenses very seriously. If you
come across any illegal copies of our works, in any form, on the Internet, please
provide us with the location address or website name immediately so that we can
pursue a remedy.
Please contact us at
copyright@packtpub.com with a link to the suspected
pirated material.
We appreciate your help in protecting our authors, and our ability to bring you
valuable content.
Questions
You can contact us at questions@packtpub.com if you are having a problem with
any aspect of the book, and we will do our best to address it.
![](https://csdnimg.cn/release/download_crawler_static/7618711/bg13.jpg)
![](https://csdnimg.cn/release/download_crawler_static/7618711/bg14.jpg)
Welcome to the
World of Laravel
In this chapter we are going to look at what MVC is and how it ts in web
development. We will also look into some of the unique features of the Laravel
framework, and we will see later what Laravel 4 offers us and how it is helpful
to the developers.
There comes a time in every developer's life where you really want to change the
way you work. You want to organize your code; you really care about how you are
dividing things and try to refactor your code. You try to learn advanced patterns
so that you can manage things, and as you move project-by-project, you develop a
framework around your code, which you will use each time you create a new project.
You are beginning to realize there are other options too such as Frameworks.
Frameworks are developed by the community, and you start to explore them and
realize that there are some really good patterns. You also realize that a lot of the
grunt work, which you have to do at the time of project initiation, has been done in
the framework so that you can enjoy the experience of coding. You think you were
stupid enough to not use this in your projects in the rst place. You start thinking
about objects, classes, patterns, and procedures.
Then it strikes to you, the moment of truth, and you decide to put yourself
in the shoes of the framework. This is where this book helps you by guiding
you step-by-step through the real-world application development via Laravel 4
Framework. I have chosen to walk you carefully through the real-world application
development where scopes change, and you have to be ready for constantly changing
your code. I will show you how you can effectively use Laravel to minimize the impact
of changes and how you can develop applications that take away the pain you feel as a
developer when changes constantly evolve in your application.
剩余255页未读,继续阅读
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![mobi](https://img-home.csdnimg.cn/images/20210720083646.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://profile-avatar.csdnimg.cn/55d4173f62d840e390678410c45fb9fa_michaelzhouh.jpg!1)
michaelzhouh
- 粉丝: 28
- 资源: 9
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
最新资源
- 计算机人脸表情动画技术发展综述
- 关系数据库的关键字搜索技术综述:模型、架构与未来趋势
- 迭代自适应逆滤波在语音情感识别中的应用
- 概念知识树在旅游领域智能分析中的应用
- 构建is-a层次与OWL本体集成:理论与算法
- 基于语义元的相似度计算方法研究:改进与有效性验证
- 网格梯度多密度聚类算法:去噪与高效聚类
- 网格服务工作流动态调度算法PGSWA研究
- 突发事件连锁反应网络模型与应急预警分析
- BA网络上的病毒营销与网站推广仿真研究
- 离散HSMM故障预测模型:有效提升系统状态预测
- 煤矿安全评价:信息融合与可拓理论的应用
- 多维度Petri网工作流模型MD_WFN:统一建模与应用研究
- 面向过程追踪的知识安全描述方法
- 基于收益的软件过程资源调度优化策略
- 多核环境下基于数据流Java的Web服务器优化实现提升性能
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)