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?!…

Enter The Facade

Enter The Facade

Young Laraveler, do you believe in fate? Why not? Because you are not in control? You are here because you know something. It is not easy for you to explain, however you feel it. You have felt it since you began programming in PHP. There is something wrong with PHP and it’s frameworks. You are not sure what it is, but it is there. Like a memory leak you can not find, driving you mad.…