Muutke küpsiste eelistusi

Getting Started with Laravel 4 [Pehme köide]

  • Formaat: Paperback / softback, 128 pages, kõrgus x laius: 235x191 mm
  • Ilmumisaeg: 20-Jan-2014
  • Kirjastus: Packt Publishing Limited
  • ISBN-10: 1783287039
  • ISBN-13: 9781783287031
Teised raamatud teemal:
  • Pehme köide
  • Hind: 39,69 €*
  • * saadame teile pakkumise kasutatud raamatule, mille hind võib erineda kodulehel olevast hinnast
  • See raamat on trükist otsas, kuid me saadame teile pakkumise kasutatud raamatule.
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 128 pages, kõrgus x laius: 235x191 mm
  • Ilmumisaeg: 20-Jan-2014
  • Kirjastus: Packt Publishing Limited
  • ISBN-10: 1783287039
  • ISBN-13: 9781783287031
Teised raamatud teemal:
This book follows a practical and easy-to-follow approach and is packed with real-world examples to understand all the fundamentals and concepts in a very concise way. This book is ideal for web developers who want to get up to speed with Laravel quickly. You are expected to have some experience with the PHP programming language – or any C-like languages such as JavaScript, Perl, or Java – along with some understanding of basic OOP concepts. Any experience with MVC frameworks such as ASP.NET MVC or Ruby on Rails will certainly be beneficial but not required. Lastly, some familiarity with command line interfaces will also help but is not essential either.
Preface 1(6)
Chapter 1 Meeting La ravel
7(14)
The need for frameworks
8(1)
The limitations of homemade tools
8(1)
Laravel to the rescue
8(1)
A new approach to developing PHP applications
9(2)
A more robust HTTP foundation
9(1)
Embracing PHP
10(1)
Laravel's main features and sources of inspiration
11(5)
Expressiveness and simplicity
12(1)
Prettifying PHP
13(1)
Responsibilities, naming, and conventions
13(2)
Helping you become a better developer
15(1)
Structure of a Laravel application
16(3)
The application container and request lifecycle
17(1)
Exploring Laravel
17(1)
Moving from Version 3 to Version 4
18(1)
Summary
19(2)
Chapter 2 Composer All Over
21(8)
Working with the command line
22(1)
How does Composer work?
22(1)
Installation
23(1)
Unix (Mac OS, Linux)
23(1)
Windows
24(1)
Creating a new Laravel application
24(1)
Finding and installing new packages
25(1)
Additional advice
26(1)
Summary
27(2)
Chapter 3 Your First Application
29(20)
Sketching out the application
30(2)
Entities, relationships, and attributes
30(1)
The map of our application
30(2)
Starting the application
32(1)
Using the built-in development server
32(1)
Writing the first routes
33(3)
Restricting the route parameters
33(2)
Catching the missing routes
35(1)
Handling redirections
35(1)
Returning views
35(1)
Preparing the database
36(3)
Creating the Eloquent models
36(1)
Building the database schema
37(1)
Seeding the database
38(1)
Mastering Blade
39(2)
Creating a master view
40(1)
Back to the routes
41(6)
The overview page
42(1)
Displaying a cat's page
43(1)
Adding, editing, and deleting cats
44(3)
Summary
47(2)
Chapter 4 Authentication and Security
49(12)
Authenticating users
49(8)
Creating the user model
49(1)
Creating the necessary database schema
50(2)
Authentication routes and views
52(4)
Validating user input
56(1)
Securing your application
57(3)
Cross-site request forgery
57(1)
Escaping content to prevent cross-site scripting -- XSS
58(1)
Avoiding SQL injection
59(1)
Using mass-assignment with care
59(1)
Cookies -- secure by default
60(1)
Forcing HTTPS when exchanging sensitive data
60(1)
Summary
60(1)
Chapter 5 Testing -- It's Easier Than You Think
61(12)
The benefits of testing
62(1)
The anatomy of a test
62(2)
Unit testing with PHPUnit
64(3)
Defining what you expect with assertions
64(1)
Preparing the scene and cleaning up objects
65(1)
Expecting exceptions
65(1)
Testing interdependent classes in isolation
66(1)
End-to-end testing
67(4)
Testing -- batteries included
67(1)
Framework assertions
68(1)
Impersonating users
69(1)
Testing with a database
69(2)
Inspecting the rendered views
71(1)
Summary
71(2)
Chapter 6 A Command-line Companion Called Artisan
73(12)
Keeping up with the latest changes
73(1)
Inspecting and interacting with your application
74(2)
Fiddling with the internals
75(1)
Turning the engine off
76(1)
Fine-tuning your application
76(1)
Installing third-party commands
76(4)
Speeding up your workflow with generators
77(1)
Generating migrations
78(1)
Generating HTML forms
78(1)
Generating everything else
79(1)
Deploying with a single command
79(1)
Deployment, the old-school way
79(1)
Rolling out your own artisan commands
80(3)
Creating the command
80(1)
The anatomy of a command
81(1)
Writing the command
82(1)
Summary
83(2)
Chapter 7 Architecting Ambitious Applications
85(12)
Moving from simple routing to powerful controllers
86(2)
Favoring explicit routing
87(1)
Straightforward REST routing
87(1)
Supercharging your models
88(4)
Simple performance tricks
88(1)
Eager loading records
89(1)
Selecting only what you need
89(1)
Profiling your queries
89(1)
Foolproof models with soft deletes
90(1)
More control with SQL
90(1)
Listening for model events
91(1)
The handy paginator class
91(1)
Environment configuration made easy
92(2)
Environments and Artisan
93(1)
Adding your own configuration settings
94(1)
Bringing in your own classes
94(1)
Playing nice with the frontend
95(1)
Summary
96(1)
Appendix: An Arsenal of Tools
97(12)
Array helpers
97(3)
The usage examples of array helpers
98(2)
String and text manipulation
100(1)
Boolean functions
100(1)
Transformation functions
100(1)
Inflection functions
101(1)
Dealing with files
101(2)
File uploads
101(1)
File manipulation methods
102(1)
Sending e-mails
103(1)
Easier date and time handling with Carbon
104(2)
Instantiating Carbon objects
105(1)
Outputting user-friendly timestamps
105(1)
Boolean methods
105(1)
Carbon for Eloquent DateTime properties
106(1)
Don't wait any longer with queues
106(2)
Creating a job and pushing it onto the queue
106(1)
Listening to a queue and executing jobs
107(1)
Getting notified when a job fails
108(1)
Queues without background processes
108(1)
Where to go next?
108(1)
Index 109
Raphael Saunier works as a fullstack Web Developer for Information Architects in Zurich, Switzerland. He holds a degree in Information Management for Business from University College London.

He is always looking for excuses to learn and play with new technologies, tools, and techniques. He is also able to make pragmatic decisions that take into account the strengths and weaknesses of the many wellestablished tools at the disposal of web developers.

A strong advocate of Laravel, Ember.js, Vim, and PostgreSQL when he is among developers, he is also passionate about teaching programming and general computer literacy to people of all ages.