Laravel Validation

Laravel Validation

In our last episode when we worked with the Laravel Form Class, we were able to add some great functionality to our small RESTful blog application. We saw how the Laravel Form Class made it easy to bring forth forms with great power and efficiency. We also used the great Twitter Bootstrap Framework to spice up the looks just a little bit. There is something we need to add though to the forms we have created and that would be Validation.…

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.…