hey what's going on guys welcome back to our blog and as promised we're finally going to get into laravel and i do have some good news for you which is that this is gonna be a tutorial series so initially we wanted it to be a crash course but we came here quickly came to find out that to include all the parts are horrible that we want to cover it's not going to fit in one hour or an hour and a half so and I think most of you guys prefer the modular type or modular format rather than having a crash course so this year's we're going or we're not just going to be covering the fundamentals of laravel we'll also be building a project from start to finish and in this blog we're going to take a look at what we will be building and we're also going to talk a little bit about laravel and some of the things that it can do before we get into what we will be doing let's stop a little bit about what laravel is so laravel is an open source page B framework and creators of laravel upset many times that we aim to make the development process pleasing without sacrificing equality so laravel is very elegant and things just kind of seem to work together very nicely also laravel is not only popular but also respected today and laravel uses the MVC or modal view controller design pattern so well we will be talking about that throughout the entire series but the basic idea is that the model deals with the database the view is the user interface that displays in the browser and the controller handles requests which come from either URL or forms such as the post get delete and other requests coming from URL and forms all right guys this are the topics that are included in this particular series so I think we already cover the first one which is the lower level overview so we have discussed some of the strong points of using this PHP framework and also some of the advantages of using laravel also I'm going to guide you in the installation or set up so we could get up and running with this laravel framework in our local development machine and also in this series we're going to build a website in a blog application with authentication and access control and of course at the end of this series we should be able to deploy our own or our very own laravel application alright so now that we get that out of the way let's talk about what laravel actually does for us so why would we choose to build an application with laravel over just building it straight up from scratch so actually there is too many reasons to list so I listed here the important ones so laravel handles routes in an extremely simple way you can simply define what URL and what type of request that you want to handle now most MVC PHP frameworks do this as well as you know such as CodeIgniter cakephp but some of them some of the routing files are really difficult when it comes with expressions and dynamic URLs and things like that so laravel makes everything very very simple which make it a great candidate for restful api and also Louisville adds a secretory layer to your application so it automatically escapes what it needs to and it also implements cross-site protection with forms and submitting to the database so whenever we are submitting data to our database larvell takes care of the intricacies of the security inside our application so among other things working with database is also easy or very easy laravel is shipped with an awesome command-line tool called artisan and it lets us do pretty incredible things with just a single command so one of those things is to create database migrations laravel also uses the blade template engine to display views so it means that we can extend layouts we can use control structures like loops and conditionals right inside the HTML so there's also there's many different ways to implement authentication but laravel sets that up for us to automatically create migrations and to create the user table and all we have to do is run a simple artisan command to enable everything and enable authentication also larvell can can handle sessions so we're going to do that or we're going to discuss that later in this series and also larval provides us with mechanism to compile assets with all the intricacies of storage and file management and also it comes with error handling so error handling is very important especially with bigger projects and it is very important to have this type of module or type of feature in a framework when it comes to handling errors and also we have the unit testing but I think we're not going to touch that in this series but it worth mentioning that Clarabelle comes with unit testing mechanism also email configuration for smtp so if you wanted to have like a verification emails sent from your application and things like that and laravel also handles cash pretty well so this are just some of the things that some of the benefits to using this framework so as far as environment goes our development environment I'm going to be using Windows and we're going to use one which gives us an Apache server PHP and MySQL on our local machine but level is completely cross-platform so even if you are using math or using Linux you can use some or you can use something like them or mom for your development and solan laravel is also pretty easy we're going to use composer which is a dependency manager so this is kind of like an NPM if you are a GS developer so we're going to install that and then we're going to run this simple command to create a new laravel project so by the way you can download the composer from get composer that or website I think I have already mentioned that laravel comes with the artisan CLI so it will enable us to handle many tasks so the number one is to create controllers and models we can use artisan CLI command for that when we are trying to create controllers and models and later on I'll be showing showing you some of the example commands that we can use for this particular task so creating database migration files and running migrations also we can we can use the artisan CLA for that create providers events jobs form requests and other tasks related to this and also we can show the routes we can also issue session commands we can also run tinker and also we can create custom commands by using the artisan CLI and this are the examples of artists and commands so we have the PHP artisan list we also have artisan help migrate also artisan make controller and you controller and here is the one if we want to make a model so our design make Colin and then modal and then the name of the model and - M or - M and also we have the page B artisan migrate and last example here is artisan tinker so all of these commands or some of these commands were going to use later and this tutorial series and other commands that probably we need in our development process so I think that's it for this tutorial and in the next blog we're going to look up
hey what's going on guys welcome back to our blog and as promised we're finally going to get into laravel and i do have some good news for you which is that this is gonna be a tutorial series so initially we wanted it to be a crash course but we came here quickly came to find out that to include all the parts are horrible that we want to cover it's not going to fit in one hour or an hour and a half so and I think most of you guys prefer the modular type or modular format rather than having a crash course so this year's we're going or we're not just going to be covering the fundamentals of laravel we'll also be building a project from start to finish and in this blog we're going to take a look at what we will be building and we're also going to talk a little bit about laravel and some of the things that it can do before we get into what we will be doing let's stop a little bit about what laravel is so laravel is an open source page B framework and creators of laravel upset many times that we aim to make the development process pleasing without sacrificing equality so laravel is very elegant and things just kind of seem to work together very nicely also laravel is not only popular but also respected today and laravel uses the MVC or modal view controller design pattern so well we will be talking about that throughout the entire series but the basic idea is that the model deals with the database the view is the user interface that displays in the browser and the controller handles requests which come from either URL or forms such as the post get delete and other requests coming from URL and forms all right guys this are the topics that are included in this particular series so I think we already cover the first one which is the lower level overview so we have discussed some of the strong points of using this PHP framework and also some of the advantages of using laravel also I'm going to guide you in the installation or set up so we could get up and running with this laravel framework in our local development machine and also in this series we're going to build a website in a blog application with authentication and access control and of course at the end of this series we should be able to deploy our own or our very own laravel application alright so now that we get that out of the way let's talk about what laravel actually does for us so why would we choose to build an application with laravel over just building it straight up from scratch so actually there is too many reasons to list so I listed here the important ones so laravel handles routes in an extremely simple way you can simply define what URL and what type of request that you want to handle now most MVC PHP frameworks do this as well as you know such as CodeIgniter cakephp but some of them some of the routing files are really difficult when it comes with expressions and dynamic URLs and things like that so laravel makes everything very very simple which make it a great candidate for restful api and also Louisville adds a secretory layer to your application so it automatically escapes what it needs to and it also implements cross-site protection with forms and submitting to the database so whenever we are submitting data to our database larvell takes care of the intricacies of the security inside our application so among other things working with database is also easy or very easy laravel is shipped with an awesome command-line tool called artisan and it lets us do pretty incredible things with just a single command so one of those things is to create database migrations laravel also uses the blade template engine to display views so it means that we can extend layouts we can use control structures like loops and conditionals right inside the HTML so there's also there's many different ways to implement authentication but laravel sets that up for us to automatically create migrations and to create the user table and all we have to do is run a simple artisan command to enable everything and enable authentication also larvell can can handle sessions so we're going to do that or we're going to discuss that later in this series and also larval provides us with mechanism to compile assets with all the intricacies of storage and file management and also it comes with error handling so error handling is very important especially with bigger projects and it is very important to have this type of module or type of feature in a framework when it comes to handling errors and also we have the unit testing but I think we're not going to touch that in this series but it worth mentioning that Clarabelle comes with unit testing mechanism also email configuration for smtp so if you wanted to have like a verification emails sent from your application and things like that and laravel also handles cash pretty well so this are just some of the things that some of the benefits to using this framework so as far as environment goes our development environment I'm going to be using Windows and we're going to use one which gives us an Apache server PHP and MySQL on our local machine but level is completely cross-platform so even if you are using math or using Linux you can use some or you can use something like them or mom for your development and solan laravel is also pretty easy we're going to use composer which is a dependency manager so this is kind of like an NPM if you are a GS developer so we're going to install that and then we're going to run this simple command to create a new laravel project so by the way you can download the composer from get composer that or website I think I have already mentioned that laravel comes with the artisan CLI so it will enable us to handle many tasks so the number one is to create controllers and models we can use artisan CLI command for that when we are trying to create controllers and models and later on I'll be showing showing you some of the example commands that we can use for this particular task so creating database migration files and running migrations also we can we can use the artisan CLA for that create providers events jobs form requests and other tasks related to this and also we can show the routes we can also issue session commands we can also run tinker and also we can create custom commands by using the artisan CLI and this are the examples of artists and commands so we have the PHP artisan list we also have artisan help migrate also artisan make controller and you controller and here is the one if we want to make a model so our design make Colin and then modal and then the name of the model and - M or - M and also we have the page B artisan migrate and last example here is artisan tinker so all of these commands or some of these commands were going to use later and this tutorial series and other commands that probably we need in our development process so I think that's it for this tutorial and in the next blog we're going to look up