Web Developer | Laravel | ReactJS

My Blog is about Web Development and my journey as a CrossFitter.

Michael Brooks Profile Image

Virgin Media Calling and Asking for Password

Posted in General Updates on Aug 08, 2014

Last week some time, I received a phone call from Virgin Media. The caller said he would like to talk to me regarding my account, which at first seemed fairly legit. I asked him what the problem was and to his response, I was shocked. The reply was "Firstly Michael, I need to know your password". I told him that I'm not giving him my password as he rang me, he knows that he is talking to the correct person. I personally felt like this could have easily been some fraudulent call, so after him not giving up on this, despite me asking several times what it was actually regarding and him repeating... "I can't tell you, until you give me your password". I said to him that you can send me a letter with what this is regarding and I hung up.

Michael Brooks Profile Image

Nice little Laravel tip (Blade Ternary Operator)

Posted in Laravel, Programming Tutorials on Jun 26, 2014

Just today, I was looking at using a ternary operator in Laravel's Blade templating system and thought to myself... "There must be a better way of doing this". After a quick Google aanndd... BEHOLD THE OR STATEMENT! Since version 4.1 they managed to sneak in this "or" statement and it's managed to bypass so many people (I figured this out by the lack of voices shouting about this on Google).

Michael Brooks Profile Image

Why did I pick a Windows Phone?

Posted in Technology/Gadgets on Jun 10, 2014

In my office, I'm the only one who fully supports Windows Phone as an operating system. My fellow colleagues disagree with me and would rather have either an android phone or iPhone. I would like to make a quick post on why I chose Windows over Android and Apple and why I think Windows phones are the winners.

Michael Brooks Profile Image

Laravel Localhost removing /public/index.php

Posted in Laravel, Programming Tutorials on May 29, 2014

I have been in the Laravel chats for quite a while now and one question which I see requarly is how to remove the public/index.php directory in Localhost. The easiest way to do this (and the way I always use) is to open up your Command prompt or Terminal and cd into the main directory of your project then run "php artisan serve". That's it. You're done. Don't believe me? Check out http://localhost:8000 and admire your Laravel work.

Michael Brooks Profile Image

Laravel Dynamic Navigation Package

Posted in Laravel, Programming Tutorials on May 28, 2014

I have managed to create a dynamic navigation package which can be seen in my previous post. If you go to [Packagist](https://packagist.org/packages/checkeredmichael/navigation) you will be able to find my package under checkeredmichael/navigation. I have created a readme with this package which should get you started on implementing it within your own projects. I would like to get as many people as possible to use this package and come back with feedback/bug fixes.

Michael Brooks Profile Image

Laravel Dynamic Menu Tutorial (Best for Admin packages)

Posted in Laravel, Programming Tutorials on May 20, 2014

Thanks to this very Laravel topic over at [Laravel.io](http://laravel.io) and [Josh Benham](https://github.com/joshbenham) I managed to find out how to make my very own dynamic menu (which is great if you would like to make a reusable admin package). In this tutorial, I will show you exactly how it's done and hopefully you will now be able to make amazing admin packages for Laravel...

Michael Brooks Profile Image

Composer Private Repository Problems

Posted in Programming Tutorials on Apr 08, 2014

Recently I have been finding out the slight differences between Windows and Linux for use with Laravel and Composer. One difference is Windows isn't picky with the way you set out Composer's packages which can be a major problem. Here's the issue I had and what I had to do to get it going...

Michael Brooks Profile Image

Social Networking Website Based in Laravel

Posted in Laravel, Programming Tutorials on Apr 05, 2014

I've been wanting to make a social networking website for a long time, one which will rival the big guys. I also thought about maybe doing it following the footsteps of Mark Zuckerberg by recording my steps live on my Blog and get feedback to what others think. That way, I can create something which everyone wants and unleash something which almost everyone will love...

Michael Brooks Profile Image

First Laravel Tutorial - Controllers and Routes

Posted in Laravel, Programming Tutorials on Mar 29, 2014

Previously on a project, I had to have a slug within my routes which would point to two different tables within my database. I needed a controller which would do the thinking for me. And by this I mean, in my routes I would have...

Michael Brooks Profile Image

Brand New Website, Brand New Start

Posted in General Updates on Mar 28, 2014

Here I go again, on my quest of becoming a Web Master. It's been a while since I properly posted onto my Blog and so I wondered the best way to go about this as I went back to my old site and old Blog. Looking at it, I couldn't help but think that the way of making temaplates on Blogger was a bit too tedius and slap-dashed...

Brooks Pet Sitters - Newton Abbot Pet Sitters