Details
Laravel Framework is an open-source PHP class library designed to support the development of dynamic websites, Web applications and Web services. The framework aims to alleviate the overhead associated with common activities used in Web development such as database access, authentication, templating, allowing you to focus on your application's specific requirements. By the end of the course, students will have completed a secure, Create, Read, Update, Delete (CRUD) application.
You Will Learn How To
- Apply best practices in web application development
- Develop scalable enterprise web applications using the Laravel Framework
- Implement the MVC design pattern to create maintainable applications
- Access various databases in a vendor-independent way
- Validate and pre-populate forms automatically
- Secure your application through proper authentication and authorization
This Laravel Framework training course is for intermediate PHP developers. Knowledge of PHP at the level of Course 221 - Web Development with PHP, plus real-world PHP experience are assumed. Participants should also know Object-Oriented PHP.
Outline
- What is the Laravel Framework?
- The MVC Architectural Pattern
- Features of Laravel
- Installing Laravel
- Creating a Laravel Application
- Configuring Your Web Server for Laravel
- Using PHP's Built-In Web Server
- What is Routing?
- Route Files
- Defining Routes
- Redirecting Routes
- Routing to Views
- Acquiring Route Parameters
- Creating a Controller
- Creating a Route to a Controller
- Creating a Resource Controller
- Creating a Route to a Resource Controller
- Viewing the List of Routes
- Adding Methods to a Resource Controller
Requests and Responses
- Request
- Getting the Request Object
- Getting Request Parameters
- Processing File Uploads
- Getting the Request Method
- Getting Cookie Data
- Response
- Returning a View
- Returning a String
- Returning JSON Data
- Specifying the Status Code
- Specifying Response Header
- Sending Files to the Client
- Redirecting
- Adding Cookie Data
- Creating Views
- Passing Data from Controllers to Views
- Using Blade Statements
- Standard Configuration Files
- Accessing Application Configuration
- Accessing Environment Configuration
- Configuring Sessions
- Storing Data
- Retrieving Data
- Flashing Data
- Deleting Data
- Creating Basic Forms
- Protecting Against CSRF
- Validating Form Input
- Specifying Database Configuration
- Using Migrations
- Running SQL
- Building Queries using Query Builder
- Creating Models using Eloquent ORM
- Review: Creating a Resource Controller
- Displaying All Resources
- Displaying and Processing the Create Form
- Displaying a Single Resource
- Displaying and Processing the Edit / Update Form
- Adding Delete Functionality
- Putting It All Together
- Understanding REST APIs
- Creating API Routes and Controllers
- Review: Creating a Resource Controller
- Displaying All Resources
- Displaying and Processing the Create Form
- Displaying a Single Resource
- Displaying and Processing the Edit / Update Form
- Adding Delete Functionality
- Putting It All Together
- Introduction
- Setting Up Authentication
- Using Authentication
- Adding Authorization Logic
- Putting It All Together
- Manually Generating an HTTP Error
- Creating Custom HTTP Error Pages
- Disabling Debugging Information
- Writing Log Messages
- Defining a Layout
- Using a Layout within Views
- Including Sub-views
ActiveLearning, Inc. is the Philippines' leading provider of Information Technology and Project Management education, where thousands of students take courses from Application Development to Project Management to Network Security, and much more. Our courses are taught by expert instructors, and learning is enhanced through a blend of in-depth lectures, workshops, and hands-on exercises.
Expert Instructors
Learn from expert instructors who practice what they teach. Our instructors are involved in constant research and development, who constantly apply the lessons they teach, and who know the same technical issues you face every day.
Superior Courseware
Our courseware go through rigorous evaluation before they are released for instruction. By constantly monitoring industry developments, we make sure that you get course materials that are up to date.
Interactivity
More than just classroom lectures, practical, hands-on exercises are carefully developed for you to immediately put in to practice what you learn. By being immersed in a classroom setting, you get to participate, inquire, and be involved - all essential in expediting the learning process. Aspects you won't find in Computer-Based-Training and self-study. ...