Laravel Form Class

Laravel Form Class

Getting the beginnings of our RESTful application up and running was a big accomplishment for us! At this point, we’d like to jump into Laravel Forms and learn how Laravel handles form operations so that we can easily create or delete a blog post from our web interface, rather than populating our database via the mysql console, phpMyAdmin, or some other means. Let’s get our form on!…

Laravel Blade Templating

laravel blade

In the recent tutorials, we’ve gone from installing laravel all the way up to setting up RESTful Controllers. In the name of brevity, we’ve simply returned data to the screen when testing the routes, models, and controllers we have built. You may have been wondering about Views. Well we’re now ready to prettify things a little bit, and what better way than to incorporate Laravel’s Blade templating engine with Twitter Bootstrap to begin constructing our views.…

Laravel RESTful Controllers

Laravel RESTful

Laravel gives you many ways to do things. With controllers, it is no different. We saw that we can use explicit controller routing already, and now we are going to see that we can also implement Resourceful Routing with our controllers. There are a lot of benefits to using resrouceful routing. The main benefit, is that by following convention over configuration, we’ll be able to write less code using restful methods, yet have as much or more functionality than we did before.…

Introduction To Laravel Controllers

Laravel Controllers

So far we have covered a fair number of concepts in the great Laravel Framework. One thing that has been missing so far is the use of controllers. Laravel is an MVC framework, isn’t it? Well, yes it is. But in fact, you could say the creators threw a bit of a curve ball. It seems Laravel can be used in the MVC style, but it is not mandatory.…

Laravel Routing Tutorial

Laravel Routing Tutorial

Routing is a core concept in Laravel, and it works a little differently than some of the frameworks of the past. The Laravel Route system is very flexible, and although a little tricky at first, once you get a good grasp of the fundamentals, you’ll find yourself asking how you lived without it all along. Without further ado, let’s dig into Laravel Routes!

Set Up a Custom Development Domain

Way back when, during the Install Laravel on Windows tutorial, we created an application named blog by running a command such as: composer create-project laravel/laravel blog --prefer-dist

What that did for us was create our project in C:wampwwwblog and in order to view our application in a browser, we had to visit something like http://localhost/blog/public/ Now this is probably not ideal, you just installed the most technically advanced PHP programming framework available and you’re loading up http://localhost/blog/public/ in the browser to view it?!…