Beginning Laravel : Build Websites with Laravel 5.8
Autor Sanjib Sinhaen Limba Engleză Paperback – 6 sep 2019
To do so, you will learn to manage routes and controllers and how the Blade template works. Moving on to models, you will work with route model binding and get to know the relationship between models, databases, and Eloquent. Along the way you will define methods on your Eloquent model classes using different types of relationships. Shifting focus to handling user data, you will see how redirect methods work. You will also get to know the inner workings of requests and responses. Continuing the data theme, Beginning Laravel covers basic and grouped artisan commands and how to handle databases with Tinker. By being able to handle data effectively, your applications will come alive for your users, giving them the functionality they need.
The last section of the book handles core concepts such as sending emails, alerting users via notifications, and implementing SOLID design principles. You will see how to decouple your application classes by using events and listeners.
What You Will Learn
- Protect your app with authentication and authorization
- Build a complex relationship between entities using Eloquent models
- Take advantage of containers and facades
- Use the mail template
- Create and configure events
- Work with Laravel Passport
- Deploy API authentication
- Discover new Laravel 5.8 features such as dump server and email verification
Who This Book Is For
Those new to Laravel and PHP web development or those who have some background in PHP/Laravel who are new to Laravel's newest release.
Preț: 272.79 lei
Preț vechi: 340.99 lei
-20%
Puncte Express: 409
Preț estimativ în valută:
52.26€ • 56.61$ • 44.82£
52.26€ • 56.61$ • 44.82£
Carte tipărită la comandă
Livrare economică 06-13 mai
Preluare comenzi: 021 569.72.76
Specificații
ISBN-13: 9781484249901
ISBN-10: 1484249909
Pagini: 165
Ilustrații: XVII, 422 p. 77 illus.
Dimensiuni: 178 x 254 x 27 mm
Greutate: 0.83 kg
Ediția:2nd ed.
Editura: Apress
Colecția Apress
Locul publicării:Berkeley, CA, United States
ISBN-10: 1484249909
Pagini: 165
Ilustrații: XVII, 422 p. 77 illus.
Dimensiuni: 178 x 254 x 27 mm
Greutate: 0.83 kg
Ediția:2nd ed.
Editura: Apress
Colecția Apress
Locul publicării:Berkeley, CA, United States
Cuprins
Chapter 1: Introduction to Laravel 5.7
Chapter Goal: This chapter will showcase Laravel’s flexibility and give readers a glance at the new features of Laravel 5.7. It will also show readers how file structures work.
No of pages: 15
Sub -Topics
1.Laravel’s Flexibility
2.New features of 5.7 at a glance
3.File structures
4.How it works
Chapter 2: Setting up Your Environment
Chapter Goal: This chapter will guide readers with the Composer and introduce them to Valet, Homestead, Virtual Box, Vagrant, and Forge. Readers will also learn to create a new project in Laravel 5.7
No of pages: 15
Sub - Topics
1.Composer
2.Introduction to Valet, Homestead, Virtual Box, Vagrant, and Forge
3.How to create a new Laravel Project
Chapter 3: Routing, Controllers, Templates, and Views
Chapter Goal: Readers will learn to create and manage Routes in Laravel 5.7. They will also learn to create Controllers and Views. In addition, they will also get introduced to Elixir and Pagination, and learn how the Blade Template works with Controllers and Models
No of pages: 20
Sub - Topics:
1.Route Definitions
2.Creating Controllers, Views and managing routes
3.Resourceful controllers
4.Getting User Input and Dependency Injection
5.Introduction to Elixir and Pagination
6.How Blade Template works with Controllers and Models
Chapter Goal: This chapter will talk about Custom and Implicit Route Model Binding. Readers will also learn about Model relations.
No of pages: 15
Sub - Topics:
1.Route Model Binding: Custom and Implicit
2.Model relations
3.Relation between Model, Database, and Eloquent
Chapter 5: Database Migration and Eloquent
Chapter Goal: This chapter will discuss Eloquent Relationships. Readers will also learn about Query Builder and DB Façade.
No of pages: 20
Sub - Topics:
1.Eloquent Relationships
2.One to One
3.One to Many
4.Many to Many
5.How Belongs to relation works
6.Has Many Through
7.Polymorphic
8.How we can use seeder
9.Query Builder and DB Facade
Chapter 6: Handling User Data and Redirect
Chapter Goal: Readers will learn about Redirect methods and learn how Requests and Responses work. They will also learn fundamentals of Web Forms.
No of pages: 20
Sub - Topics:
1.How Redirect methods work
2.What is Request object
3.How Requests and Responses work
4.Introducing validation
5.Web Form fundamentals
Chapter 7: Artisan and Tinker
Chapter Goal: This chapter will cover basic and grouped Artisan commands. Readers will also learn to handle databases with Tinker and crate databases with SQLite.
No of pages: 15
1.Basic and Grouped Artisan commands
2.Handling Database using Tinker
3.SQLite Is a Breeze!
Chapter 8: Authentication, Authorization and Middleware
Chapter Goal: Readers will learn about Auth Controller. In addition, they will also get to know Auth Facade and auth() Global helper. This chapter will also cover Authorization through Blade Template, Gates and Policy.
No of pages: 15
Sub - Topics:
1.Auth Facade and auth() Global helper
2.How Auth Controller works
3.What is Auth Middleware
4.Authorization through Blade Template
5.Authorization through Gates and Policy
Chapter 9: Container and Facades
Chapter Goal: Readers will learn how Containers work in Laravel 5.7. They will alos learn about Constructor and Method Injection.
No of pages: 15
Sub - Topics:
1.Contracts Vs Facades
2.How Container works in Laravel3.Constructor and Method Injection
4.Container and the Classes
Chapter 10: Working with the Mail Template
Chapter Goal: This chapter will teach readers the different methods used to send notifications using the Mail Template in Laravel.
No of pages: 15
Sub - Topics:
1.Local Development
2.How to send Notifications
3.Mail Templates and methodsChapter 11: Events and Broadcasting
Chapter Goal: Readers will learn to set up, configure and work with Events in Laravel 5.7.
No of pages: 15
Sub - Topics:
1.How to configure and set up
2.How to create Events
3.How to receive messages
Chapter 12: Working with APIs
Chapter Goal: Readers will learn to work with Laravel Passport, read & send Headers and API authentication.
No of pages: 15
Sub - Topics:
1.How to work with Laravel Passport
2.How to read and send Headers
3.API Authentication
Appendix: More New Features in Laravel 5.7
Chapter Goal: This section will show readers additional new features of Laravel 5.7
No of pages: 5
Sub - Topics:
1.Dump Server
2.E-Mail Verification
3.Improved Artisan Command
4.A few more Additions
5.Where to go from here
Notă biografică
Sanjib Sinha is a certified .NET Windows and web developer, specializing in Python, security programming, PHP and JavaScript; he won Microsoft's Community Contributor Award in 2011. As a published author, Sanjib Sinha has written Beginning Ethical Hacking with Kali LInux, Beginning Ethical Hacking with Python, and Beginning Laravel for Apress.
Textul de pe ultima copertă
Develop cutting-edge websites and applications using the new features of Laravel 5.8. This book starts with an introduction to Laravel and takes a glance at its newly introduced features. Moving on to setting up your development environment, you will learn how the composer works. In addition to this, you will be introduced to Valet, Homestead, Virtual Box, Vagrant, and Forge in Laravel. With this foundation, you will be ready to get started writing your first Laravel apps.
To do so, you will learn to manage routes and controllers and how the Blade template works. Moving on to models, you will work with route model binding and get to know the relationship between models, databases, and Eloquent. Along the way you will define methods on your Eloquent model classes using different types of relationships.
Shifting focus to handling user data, you will see how redirect methods work. You will also get to know the inner workings of requests and responses. Continuing the data theme, Beginning Laravel covers basic and grouped artisan commands and how to handle databases with Tinker. By being able to handle data effectively, your applications will come alive for your users, giving them the functionality they need.
The last section of the book handles core concepts such as sending emails, alerting users via notifications, and implementing SOLID design principles. You will see how to decouple your application classes by using events and listeners.
You will:
To do so, you will learn to manage routes and controllers and how the Blade template works. Moving on to models, you will work with route model binding and get to know the relationship between models, databases, and Eloquent. Along the way you will define methods on your Eloquent model classes using different types of relationships.
Shifting focus to handling user data, you will see how redirect methods work. You will also get to know the inner workings of requests and responses. Continuing the data theme, Beginning Laravel covers basic and grouped artisan commands and how to handle databases with Tinker. By being able to handle data effectively, your applications will come alive for your users, giving them the functionality they need.
The last section of the book handles core concepts such as sending emails, alerting users via notifications, and implementing SOLID design principles. You will see how to decouple your application classes by using events and listeners.
You will:
- Protect your app with authentication and authorization
- Build a complex relationship between entities using Eloquent models
- Take advantage of containers and facades
- Use the mail template
- Create and configure events
- Work with Laravel Passport
- Deploy API authentication
- Discover new Laravel 5.8 features such as dump server and email verification
Caracteristici
Updates this popular beginner's guide to Laravel 5.8 for today's web developers
Covers all the new features such as dump server and email verification
Includes database handling with Tinker and establishes complex model relationships
Covers all the new features such as dump server and email verification
Includes database handling with Tinker and establishes complex model relationships