title
Laravel Tutorial For Beginners | What Is Laravel? | Laravel Training Part - 1 | Edureka
description
(Edureka Online Training: https://www.edureka.co/)
This Edureka "Laravel" video will help you with everything you need to know to build projects on Laravel. It discusses the fundamentals and core concepts in details along with tons of examples.
Given below are the topics covered in this tutorial:
1. Introduction to Laravel
2. Getting Started
3. Creating a Project
4. Setting up a Database
5. Authentication
6. MVC Architecture
7. Routes
-----------------------------------------
For more information, please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll free).
Website: https://www.edureka.co
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Customer Review:
Michael Harkins, System Architect, Hortonworks says: “The courses are top rate. The best part is live instruction, with playback. But my favourite feature is viewing a previous class. Also, they are always there to answer questions, and prompt when you open an issue if you are having any trouble. Added bonus ~ you get lifetime access to the course you took!!! ~ This is the killer education app... I've take two courses, and I'm taking two more.”
detail
{'title': 'Laravel Tutorial For Beginners | What Is Laravel? | Laravel Training Part - 1 | Edureka', 'heatmap': [{'end': 269.582, 'start': 213.116, 'weight': 0.859}, {'end': 300.2, 'start': 277.148, 'weight': 0.77}, {'end': 425.267, 'start': 410.334, 'weight': 0.771}, {'end': 504.768, 'start': 474.354, 'weight': 0.778}, {'end': 537.587, 'start': 525.037, 'weight': 0.724}, {'end': 661.995, 'start': 617.188, 'weight': 0.739}], 'summary': 'This laravel tutorial covers fundamentals, core concepts, and projects, led by mr. neil rowe, with a global audience. it introduces laravel framework for rapid web application development, highlights its key features, and discusses setting up authentication using php artisan commands, resulting in an efficient authentication setup for web applications. additionally, it delves into the mvc architecture, comprising models, views, blade templating engine, and features of laravel, emphasizing its time-saving benefits and the role of controllers.', 'chapters': [{'end': 56.639, 'segs': [{'end': 56.639, 'src': 'embed', 'start': 10.905, 'weight': 0, 'content': [{'end': 13.827, 'text': 'Hello all and welcome to this webinar on Laravel.', 'start': 10.905, 'duration': 2.922}, {'end': 21.293, 'text': 'In this session, we shall be discussing the fundamentals, core concepts and pretty much all you need to build projects in Laravel.', 'start': 14.368, 'duration': 6.925}, {'end': 30.019, 'text': "We'll also understand various concepts of prototyping, databases and API along with some Laravel specific projects.", 'start': 22.093, 'duration': 7.926}, {'end': 34.463, 'text': 'Our attendees here are a well-rounded representation of the globe.', 'start': 30.94, 'duration': 3.523}, {'end': 43.227, 'text': 'We have Mr. Neil Rowe here who has years of valuable experience in this field and he shall be taking us through this module.', 'start': 35.143, 'duration': 8.084}, {'end': 45.229, 'text': 'Welcome Neil, over to you.', 'start': 43.828, 'duration': 1.401}, {'end': 49.333, 'text': 'Hey, so welcome to the first part of a new series.', 'start': 47.191, 'duration': 2.142}, {'end': 56.639, 'text': "This is the Laravel series and it's effectively gonna teach you pretty much everything you need to know to get started building products with Laravel.", 'start': 49.733, 'duration': 6.906}], 'summary': 'Webinar on laravel covers fundamentals, prototyping, databases, api, with global attendees and expertise from mr. neil rowe.', 'duration': 45.734, 'max_score': 10.905, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE10905.jpg'}], 'start': 10.905, 'title': 'Laravel fundamentals webinar', 'summary': 'Covers the fundamentals, core concepts, and projects in laravel, led by mr. neil rowe, with a global audience.', 'chapters': [{'end': 56.639, 'start': 10.905, 'title': 'Laravel fundamentals webinar', 'summary': 'Covers the fundamentals, core concepts, and projects in laravel, led by mr. neil rowe, with a global audience.', 'duration': 45.734, 'highlights': ['Mr. Neil Rowe leads the session, bringing years of valuable experience to teach the Laravel series.', 'The webinar covers the fundamentals, core concepts, and projects in Laravel, aiming to equip attendees with the knowledge to build products with Laravel.', 'The session includes discussions on prototyping, databases, and API concepts in the context of Laravel projects.']}], 'duration': 45.734, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE10905.jpg', 'highlights': ['Mr. Neil Rowe leads the session, bringing years of valuable experience to teach the Laravel series.', 'The webinar covers the fundamentals, core concepts, and projects in Laravel, aiming to equip attendees with the knowledge to build products with Laravel.', 'The session includes discussions on prototyping, databases, and API concepts in the context of Laravel projects.']}, {'end': 711.43, 'segs': [{'end': 85.592, 'src': 'embed', 'start': 57.099, 'weight': 0, 'content': [{'end': 62.845, 'text': "So if you've never heard of Laravel, or you've kind of heard of it but don't really know what it does, Laravel is a framework,", 'start': 57.099, 'duration': 5.746}, {'end': 67.289, 'text': 'and a framework is essentially the starting code to building your project.', 'start': 62.845, 'duration': 4.444}, {'end': 73.275, 'text': 'So, instead of you having to write out all of these functions and all of these methods and controllers and things,', 'start': 67.729, 'duration': 5.546}, {'end': 77.699, 'text': 'the same code for all your projects, Laravel is like this starter kit.', 'start': 73.275, 'duration': 4.424}, {'end': 80.108, 'text': 'It includes almost everything you need.', 'start': 78.106, 'duration': 2.002}, {'end': 85.592, 'text': 'It makes it brilliant for prototyping or building projects really quickly,', 'start': 80.128, 'duration': 5.464}], 'summary': 'Laravel is a framework that provides a starting code for projects, making it brilliant for prototyping or building projects quickly.', 'duration': 28.493, 'max_score': 57.099, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE57099.jpg'}, {'end': 216.918, 'src': 'embed', 'start': 190.681, 'weight': 1, 'content': [{'end': 194.802, 'text': "So to get started with Laravel, you're going to need a program called Composer.", 'start': 190.681, 'duration': 4.121}, {'end': 196.943, 'text': 'As I say, Composer is the package manager.', 'start': 195.222, 'duration': 1.721}, {'end': 198.363, 'text': "It's the most common one for PHP.", 'start': 197.023, 'duration': 1.34}, {'end': 205.612, 'text': "If you're on a Mac or Linux or a Unix system, all you've got to do is copy and paste all of these lines into your terminal,", 'start': 199.048, 'duration': 6.564}, {'end': 206.833, 'text': 'and it will install it all for you.', 'start': 205.612, 'duration': 1.221}, {'end': 207.673, 'text': "It's really easy.", 'start': 206.933, 'duration': 0.74}, {'end': 211.395, 'text': "And if you're on Windows, there is actually an installer somewhere on here.", 'start': 208.053, 'duration': 3.342}, {'end': 212.776, 'text': "I think it's in Getting Started.", 'start': 211.775, 'duration': 1.001}, {'end': 216.918, 'text': "You'll see here, yeah, install the composer-setup.exe and it will do it all for you.", 'start': 213.116, 'duration': 3.802}], 'summary': "To start with laravel, install composer, the package manager, which is commonly used for php. installation is easy on mac, linux, or unix systems, and there's an installer for windows as well.", 'duration': 26.237, 'max_score': 190.681, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE190681.jpg'}, {'end': 269.582, 'src': 'heatmap', 'start': 213.116, 'weight': 0.859, 'content': [{'end': 216.918, 'text': "You'll see here, yeah, install the composer-setup.exe and it will do it all for you.", 'start': 213.116, 'duration': 3.802}, {'end': 221.121, 'text': "It's very simple to get set up, so I think most of you shouldn't have an issue.", 'start': 217.379, 'duration': 3.742}, {'end': 224.683, 'text': "Once you've got Composer, it's really dead simple to install PHP.", 'start': 221.361, 'duration': 3.322}, {'end': 227.795, 'text': "All you've got to do is jump over to your terminal.", 'start': 225.834, 'duration': 1.961}, {'end': 230.416, 'text': "I'm using Visual Studio Code, which I'd highly recommend.", 'start': 227.875, 'duration': 2.541}, {'end': 231.856, 'text': "It's got a built-in terminal,", 'start': 230.816, 'duration': 1.04}, {'end': 242.58, 'text': "so you've got to jump over to your terminal and type in composer to launch the composer program create-project and then the project is called Laravel.", 'start': 231.856, 'duration': 10.724}, {'end': 244.041, 'text': 'forward slash Laravel.', 'start': 242.58, 'duration': 1.461}, {'end': 249.243, 'text': "It's named this because that's the GitHub organization, and then Laravel was the project name.", 'start': 244.721, 'duration': 4.522}, {'end': 251.288, 'text': 'And then after that, you give it a name.', 'start': 249.807, 'duration': 1.481}, {'end': 253.35, 'text': "So I'm going to give it social.", 'start': 251.789, 'duration': 1.561}, {'end': 256.872, 'text': "In this short course, we're going to be going through like a Twitter style.", 'start': 253.97, 'duration': 2.902}, {'end': 258.634, 'text': 'It will show all the fundamentals.', 'start': 257.313, 'duration': 1.321}, {'end': 260.135, 'text': "So we'll be doing database stuff.", 'start': 258.673, 'duration': 1.462}, {'end': 266.059, 'text': "I'll be showing you models, controllers, views, maybe a little bit of JavaScript, but this is not a JavaScript course.", 'start': 260.495, 'duration': 5.564}, {'end': 267.3, 'text': "So I wouldn't count on that.", 'start': 266.119, 'duration': 1.181}, {'end': 269.582, 'text': 'This is purely a backend course.', 'start': 267.841, 'duration': 1.741}], 'summary': 'Installing composer and setting up laravel project for a backend course. no javascript.', 'duration': 56.466, 'max_score': 213.116, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE213116.jpg'}, {'end': 310.428, 'src': 'heatmap', 'start': 277.148, 'weight': 2, 'content': [{'end': 278.249, 'text': 'It should just take a couple of minutes.', 'start': 277.148, 'duration': 1.101}, {'end': 282.025, 'text': 'All right, perfect.', 'start': 281.445, 'duration': 0.58}, {'end': 282.786, 'text': "So that's installed.", 'start': 282.045, 'duration': 0.741}, {'end': 284.908, 'text': 'You will see that actually set up an application key.', 'start': 282.826, 'duration': 2.082}, {'end': 289.391, 'text': "So this is like a unique hash, it's Base64 encoded for your project.", 'start': 285.308, 'duration': 4.083}, {'end': 291.753, 'text': 'And that leads me into the .', 'start': 289.832, 'duration': 1.921}, {'end': 292.514, 'text': 'env file.', 'start': 291.753, 'duration': 0.761}, {'end': 296.797, 'text': "Now env, if you're unfamiliar, is effectively an environment file.", 'start': 292.734, 'duration': 4.063}, {'end': 300.2, 'text': 'It really specifies the environment that this project is running.', 'start': 297.277, 'duration': 2.923}, {'end': 307.946, 'text': 'So you will see things like the app URL, the app name, the database credentials, mail drivers, various stuff like that.', 'start': 300.22, 'duration': 7.726}, {'end': 310.428, 'text': 'You can also put things like API keys in here if you want to store them.', 'start': 307.966, 'duration': 2.462}], 'summary': 'The transcript covers setting up an application key, explaining the env file, specifying project environment, and storing api keys.', 'duration': 33.28, 'max_score': 277.148, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE277148.jpg'}, {'end': 439.546, 'src': 'heatmap', 'start': 410.334, 'weight': 0.771, 'content': [{'end': 412.195, 'text': "We've got Laravel development server started.", 'start': 410.334, 'duration': 1.861}, {'end': 413.216, 'text': 'And that is the link.', 'start': 412.495, 'duration': 0.721}, {'end': 416.923, 'text': "So I'm going to go over here and go to my local host.", 'start': 414.321, 'duration': 2.602}, {'end': 418.263, 'text': 'And there you go.', 'start': 417.683, 'duration': 0.58}, {'end': 419.464, 'text': 'There is the home page.', 'start': 418.323, 'duration': 1.141}, {'end': 420.905, 'text': 'This is just what comes out of the box.', 'start': 419.524, 'duration': 1.381}, {'end': 425.267, 'text': "You'll see it's just some pretty basic HTML and some CSS going on in there.", 'start': 421.385, 'duration': 3.882}, {'end': 430.551, 'text': "Okay If I actually go to any links, you just get a 404 because nothing's actually built yet.", 'start': 425.968, 'duration': 4.583}, {'end': 431.331, 'text': 'All right.', 'start': 431.031, 'duration': 0.3}, {'end': 434.893, 'text': 'So the first thing I want to do is set up a login system.', 'start': 431.431, 'duration': 3.462}, {'end': 439.546, 'text': "Now, if you normally use PHP or some other language, you'd have to first of all,", 'start': 435.433, 'duration': 4.113}], 'summary': 'Laravel development server started, setting up login system.', 'duration': 29.212, 'max_score': 410.334, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE410334.jpg'}, {'end': 505.889, 'src': 'heatmap', 'start': 461.809, 'weight': 3, 'content': [{'end': 463.11, 'text': 'Laravel does this for you.', 'start': 461.809, 'duration': 1.301}, {'end': 465.752, 'text': "It thinks about security out of the box so you don't have to.", 'start': 463.13, 'duration': 2.622}, {'end': 468.435, 'text': "It's just an all-around nicer environment to use.", 'start': 465.772, 'duration': 2.663}, {'end': 473.774, 'text': "So to set up authentication, what we're going to do is php artisan migrate.", 'start': 469.113, 'duration': 4.661}, {'end': 476.695, 'text': 'And migrations are basically schemas.', 'start': 474.354, 'duration': 2.341}, {'end': 479.595, 'text': "And it's a script to build a database.", 'start': 477.275, 'duration': 2.32}, {'end': 480.676, 'text': "So it's not MySQL.", 'start': 479.655, 'duration': 1.021}, {'end': 484.317, 'text': "It's a script telling it how to build the database tables.", 'start': 481.216, 'duration': 3.101}, {'end': 489.618, 'text': 'And these are stored in database, migrations, and then the migration names are here.', 'start': 484.857, 'duration': 4.761}, {'end': 491.258, 'text': "They've got a timestamp and then a name.", 'start': 489.658, 'duration': 1.6}, {'end': 494.039, 'text': 'So the first one here is create users table.', 'start': 491.878, 'duration': 2.161}, {'end': 498.286, 'text': "And you'll see it's got a public function up, which is to create the table.", 'start': 494.704, 'duration': 3.582}, {'end': 501.147, 'text': 'And the public function down is to reverse it, to drop it.', 'start': 498.526, 'duration': 2.621}, {'end': 504.768, 'text': 'So up will create a schema, which is effectively the table.', 'start': 501.787, 'duration': 2.981}, {'end': 505.889, 'text': 'The table name is users.', 'start': 504.868, 'duration': 1.021}], 'summary': 'Laravel provides secure environment, sets up authentication with php artisan migrate', 'duration': 44.08, 'max_score': 461.809, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE461809.jpg'}, {'end': 553.739, 'src': 'heatmap', 'start': 525.037, 'weight': 0.724, 'content': [{'end': 528.4, 'text': "So this migration comes out the box, but you can make your own, which I'll show you.", 'start': 525.037, 'duration': 3.363}, {'end': 531.382, 'text': 'But this one is specifically for authentication.', 'start': 528.94, 'duration': 2.442}, {'end': 532.663, 'text': "So I'll hit migrate.", 'start': 531.402, 'duration': 1.261}, {'end': 537.587, 'text': "So I got an error, which looks like it's because, yep, my login is incorrect for my database.", 'start': 533.503, 'duration': 4.084}, {'end': 538.908, 'text': "So I'm going to just go check on that now.", 'start': 537.607, 'duration': 1.301}, {'end': 539.988, 'text': "That's in the .", 'start': 539.348, 'duration': 0.64}, {'end': 540.609, 'text': 'env file.', 'start': 539.988, 'duration': 0.621}, {'end': 544.852, 'text': 'If you see anything like access denied for user, check your database settings.', 'start': 541.149, 'duration': 3.703}, {'end': 549.676, 'text': 'And it turns out the reason here why mine did not work is because my password is actually root root.', 'start': 545.613, 'duration': 4.063}, {'end': 553.739, 'text': 'But again, that really varies based on however you set up your database.', 'start': 550.216, 'duration': 3.523}], 'summary': 'Migration for authentication failed due to incorrect database login credentials.', 'duration': 28.702, 'max_score': 525.037, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE525037.jpg'}, {'end': 661.995, 'src': 'heatmap', 'start': 617.188, 'weight': 0.739, 'content': [{'end': 621.149, 'text': "Okay, we're now ready to really get set up with our authentication.", 'start': 617.188, 'duration': 3.961}, {'end': 627.471, 'text': 'So to do this, php artisan make colon auth, and you can find all of this in the Laravel documentation.', 'start': 621.589, 'duration': 5.882}, {'end': 633.013, 'text': 'This command literally sets up all of the PHP functions, the views, the controllers.', 'start': 627.991, 'duration': 5.022}, {'end': 636.254, 'text': 'It really sets them all up to set up a whole login system.', 'start': 633.493, 'duration': 2.761}, {'end': 637.874, 'text': 'This includes login and registration.', 'start': 636.294, 'duration': 1.58}, {'end': 641.575, 'text': 'So if I run that, authentication scaffolding generated successfully.', 'start': 638.314, 'duration': 3.261}, {'end': 643.496, 'text': 'So as I say, this comes out of the box.', 'start': 641.595, 'duration': 1.901}, {'end': 650.158, 'text': 'And then I need to run php artisan serve to get my web server running again.', 'start': 644.156, 'duration': 6.002}, {'end': 653.972, 'text': "When I refresh, you'll see login and register suddenly appear.", 'start': 650.811, 'duration': 3.161}, {'end': 656.233, 'text': "So we're going to go ahead and register.", 'start': 654.592, 'duration': 1.641}, {'end': 659.134, 'text': "So I'm going to register with some details.", 'start': 656.833, 'duration': 2.301}, {'end': 661.995, 'text': "I'm going to go test at test.com.", 'start': 659.294, 'duration': 2.701}], 'summary': 'Using laravel, authentication scaffolding generated successfully, enabling login and registration system.', 'duration': 44.807, 'max_score': 617.188, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE617188.jpg'}], 'start': 57.099, 'title': 'Laravel framework and authentication setup', 'summary': 'Introduces laravel framework for rapid web application development, highlighting its key features and project setup. it also discusses setting up authentication in laravel using php artisan commands, resulting in a quick and efficient authentication setup for web applications.', 'chapters': [{'end': 461.228, 'start': 57.099, 'title': 'Introduction to laravel framework', 'summary': 'Introduces laravel as a powerful and versatile framework for rapid web application development, highlighting its key features like built-in functionalities for databases, relationships, sockets, and apis, along with the ease of installation with composer and project setup. it also emphasizes the version stability and the fundamental nature of the course.', 'duration': 404.129, 'highlights': ['Laravel is a versatile framework that acts as a starter kit for web projects, offering built-in functionalities for databases, relationships, sockets, and APIs, making it ideal for rapid prototyping and project development.', 'The framework is currently in version 5.7, with minimal changes between versions, ensuring relevance and stability for learners, emphasizing the focus on teaching fundamental concepts that remain consistent across versions.', 'The installation process involves using Composer as the package manager, providing easy setup for Mac, Linux, Unix, and Windows systems, followed by project creation and essential setup using Composer and PHP.', 'The .env file serves as an environment-specific configuration file, allowing the specification of environment variables such as app URLs, database credentials, and API keys, enabling different settings for staging and production environments and ensuring security by not syncing in Git.', 'The course is focused on teaching core concepts such as database setup, models, controllers, views, and backend development, providing a foundation for further independent learning and expansion of Laravel skills.']}, {'end': 711.43, 'start': 461.809, 'title': 'Laravel authentication setup', 'summary': 'Discusses setting up authentication in laravel using php artisan migrate for database schema, creating authentication tables, and using php artisan make:auth to generate authentication scaffolding, resulting in a quick and efficient authentication setup for web applications.', 'duration': 249.621, 'highlights': ['Laravel handles security out of the box, making it an all-around nicer environment to use. Laravel provides security features out of the box, reducing the need for manual security configurations.', 'Using php artisan migrate to create database schema and tables for authentication, such as the users table and password reset table. The php artisan migrate command is used to create database schema and tables for authentication, including the users table and password reset table.', 'The php artisan make:auth command sets up PHP functions, views, and controllers for a complete login system, including login and registration functionality. The php artisan make:auth command generates the necessary components for a complete login system, encompassing login and registration functions.']}], 'duration': 654.331, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE57099.jpg', 'highlights': ['Laravel is a versatile framework with built-in functionalities for databases, relationships, sockets, and APIs, ideal for rapid prototyping and project development.', 'The installation process involves using Composer as the package manager, providing easy setup for Mac, Linux, Unix, and Windows systems.', 'The .env file serves as an environment-specific configuration file, allowing the specification of environment variables such as app URLs, database credentials, and API keys.', 'Laravel provides security features out of the box, reducing the need for manual security configurations.', 'Using php artisan migrate to create database schema and tables for authentication, such as the users table and password reset table.']}, {'end': 1017.792, 'segs': [{'end': 759.77, 'src': 'embed', 'start': 736.963, 'weight': 4, 'content': [{'end': 745.048, 'text': 'And these models can be related to each other using relationships, just like you would use in normal MySQL using a join query.', 'start': 736.963, 'duration': 8.085}, {'end': 747.81, 'text': "You can have multiple models, that's a collection.", 'start': 745.528, 'duration': 2.282}, {'end': 752.345, 'text': 'and then you would loop through a collection to retrieve individual models.', 'start': 748.462, 'duration': 3.883}, {'end': 753.706, 'text': "That's really it.", 'start': 752.905, 'duration': 0.801}, {'end': 759.77, 'text': "Each model usually, doesn't always, but usually represents a table that's related to it.", 'start': 753.766, 'duration': 6.004}], 'summary': 'Models in mysql can be related using relationships and represent tables.', 'duration': 22.807, 'max_score': 736.963, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE736963.jpg'}, {'end': 806.151, 'src': 'embed', 'start': 780.11, 'weight': 3, 'content': [{'end': 784.654, 'text': 'So a view literally deals with outputting on the screen or emails and things like that.', 'start': 780.11, 'duration': 4.544}, {'end': 787.055, 'text': 'So most of the time this is just HTML.', 'start': 785.194, 'duration': 1.861}, {'end': 790.618, 'text': 'But Laravel comes with something called Blade.', 'start': 787.776, 'duration': 2.842}, {'end': 792.46, 'text': 'Blade is the templating engine.', 'start': 790.978, 'duration': 1.482}, {'end': 795.642, 'text': 'And if I go on the documentation, you can see some examples here.', 'start': 792.98, 'duration': 2.662}, {'end': 800.448, 'text': "So it's effectively HTML, but you can insert these smart little snippets.", 'start': 796.266, 'duration': 4.182}, {'end': 806.151, 'text': "So you can have sections if you're on a master page with the header and the footer and all your JavaScript,", 'start': 800.728, 'duration': 5.423}], 'summary': "Laravel's blade is a templating engine for outputting html with smart snippets.", 'duration': 26.041, 'max_score': 780.11, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE780110.jpg'}, {'end': 875.997, 'src': 'embed', 'start': 839.895, 'weight': 0, 'content': [{'end': 847.301, 'text': "If you've ever done regular PHP, you might also have done string replaces where you import a HTML file using file,", 'start': 839.895, 'duration': 7.406}, {'end': 851.604, 'text': 'get contents and then you string replace various tags within that file.', 'start': 847.301, 'duration': 4.303}, {'end': 855.607, 'text': "I know we used to do it where I work, and it's a nightmare after a while.", 'start': 852.064, 'duration': 3.543}, {'end': 858.209, 'text': 'So Blade really deals with this all for you.', 'start': 856.288, 'duration': 1.921}, {'end': 863.193, 'text': 'You might have also used something like Smarty templates, which are pretty good, but Blade is really awesome.', 'start': 858.529, 'duration': 4.664}, {'end': 867.214, 'text': 'Anyway, the final bit is controllers, and this is where the actual logic happens.', 'start': 863.973, 'duration': 3.241}, {'end': 871.756, 'text': 'This is where you might process data, you might have to do calculations.', 'start': 867.954, 'duration': 3.802}, {'end': 875.997, 'text': 'Effectively, your controller is what links your models to your views.', 'start': 872.176, 'duration': 3.821}], 'summary': 'Blade in php handles file imports and string replaces, while controllers process data and link models to views.', 'duration': 36.102, 'max_score': 839.895, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE839895.jpg'}, {'end': 922.161, 'src': 'embed', 'start': 896.064, 'weight': 1, 'content': [{'end': 900.645, 'text': 'by the way, using a text editor like vs code is brilliant because of the search.', 'start': 896.064, 'duration': 4.581}, {'end': 903.546, 'text': "when you've got laravel with so many files, it's so handy.", 'start': 900.645, 'duration': 2.901}, {'end': 909.248, 'text': 'but web.php is in this folder called roots, along with console channels and api.', 'start': 903.546, 'duration': 5.702}, {'end': 916.21, 'text': "so what this file is is it's effectively a list almost of urls on your site.", 'start': 909.248, 'duration': 6.962}, {'end': 922.161, 'text': 'so, for example, forward slash home will take you to this controller, the home controller,', 'start': 916.21, 'duration': 5.951}], 'summary': 'Using vs code for laravel with many files is handy, as web.php lists site urls.', 'duration': 26.097, 'max_score': 896.064, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE896064.jpg'}], 'start': 712.871, 'title': 'Laravel mvc architecture and features', 'summary': 'Discusses the mvc architecture behind laravel, comprising models, views, and blade templating engine, and highlights the various features of laravel, including blade templates, controllers, and routing, emphasizing its time-saving benefits and the role of controllers in mvc architecture.', 'chapters': [{'end': 818.141, 'start': 712.871, 'title': 'Laravel mvc architecture', 'summary': 'Discusses the mvc architecture behind laravel, comprising models representing data stores, views dealing with output, and blade templating engine for smart html snippets.', 'duration': 105.27, 'highlights': ['Models represent data stores and can be related to each other using relationships. Models serve as data stores, such as MySQL database tables, and can be related through relationships.', "Views deal with outputting data on the screen or in emails, often through HTML and Laravel's Blade templating engine. Views handle the display of data on the screen or in emails, typically through HTML, and utilize Laravel's Blade templating engine for smart HTML snippets.", "Blade is the templating engine in Laravel, allowing the insertion of smart HTML snippets and facilitating the management of master page elements. Blade serves as Laravel's templating engine, enabling the insertion of smart HTML snippets and simplifying the management of master page elements."]}, {'end': 1017.792, 'start': 818.661, 'title': 'Laravel features and mvc overview', 'summary': 'Highlights the various features of laravel, including blade templates, controllers, and routing, emphasizing its time-saving benefits and the role of controllers in mvc architecture, while also touching briefly on middleware functionality.', 'duration': 199.131, 'highlights': ['Blade templates handle HTML string replacements, saving time and effort compared to traditional PHP methods.', 'Controllers serve as the logic handler, connecting models to views, processing data, and performing calculations, crucial for the MVC architecture.', 'Routing in Laravel, exemplified through web.php, allows for easy mapping of URLs to controllers and methods, with the option to apply middleware for security and access control.']}], 'duration': 304.921, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/bkyjiXSx6WE/pics/bkyjiXSx6WE712871.jpg', 'highlights': ['Controllers serve as the logic handler, connecting models to views, processing data, and performing calculations, crucial for the MVC architecture.', 'Routing in Laravel, exemplified through web.php, allows for easy mapping of URLs to controllers and methods, with the option to apply middleware for security and access control.', 'Blade templates handle HTML string replacements, saving time and effort compared to traditional PHP methods.', "Views handle the display of data on the screen or in emails, typically through HTML, and utilize Laravel's Blade templating engine for smart HTML snippets.", 'Models represent data stores and can be related to each other using relationships. Models serve as data stores, such as MySQL database tables, and can be related through relationships.', 'Blade is the templating engine in Laravel, allowing the insertion of smart HTML snippets and facilitating the management of master page elements.']}], 'highlights': ['The Laravel tutorial is led by Mr. Neil Rowe, bringing years of valuable experience to teach the series.', 'Laravel is a versatile framework with built-in functionalities for databases, relationships, sockets, and APIs, ideal for rapid prototyping and project development.', 'The installation process involves using Composer as the package manager, providing easy setup for Mac, Linux, Unix, and Windows systems.', 'Controllers serve as the logic handler, connecting models to views, processing data, and performing calculations, crucial for the MVC architecture.', 'Routing in Laravel allows for easy mapping of URLs to controllers and methods, with the option to apply middleware for security and access control.', 'Blade templates handle HTML string replacements, saving time and effort compared to traditional PHP methods.', "Views handle the display of data on the screen or in emails, typically through HTML, and utilize Laravel's Blade templating engine for smart HTML snippets."]}