PHPNews

Laravel Facades

A Facade is a name given to a type of class in the Laravel framework that enables beginner-friendly and/or aesthetically pleasing access to tools and services held within the framework’s IoC container. Here’s a quick example of a database query in Laravel. <?php DB::table('users')->get(); In the …

Continue reading »

Written by Dayle Rees - - Aggregated on Thursday February 1, 2018


Container Baking

Hi there folks! Thanks for tuning into today’s episode of baking code with Dayle. Today, we’ll be rusting up a fresh batch of IoC container! Mmm, mm. Not just any IoC Container, but the dependency resolution flavor! Super tasty. Here are the ingredients you’ll be needing. An understanding of Dependency Injection. …

Continue reading »

Written by Dayle Rees - - Aggregated on Wednesday January 24, 2018


Message Queues

Have you ever had a task that takes forever? Maybe you’ve let the dishes pile up for a little too long. Now that you’re keen to do some cooking, you’ve found that you have no clean pots or plates. You’re blocked from creating tasty dishes until you take care of the washing up. That’s exactly why message queues …

Continue reading »

Written by Dayle Rees - - Aggregated on Monday January 22, 2018


Rainglow Project

I thought it might be fun to reflect on the past few months of Rainglow. For those visiting this page and wondering what I'm talking about, Rainglow is a collection of over 300 themes for a number of different editors and software. I've designed every single theme in the collection, and painstakingly developed a great …

Continue reading »

Written by Dayle Rees - - Aggregated on Wednesday January 17, 2018


First Steps into React for Javascript

In this article, we're going to take a quick look at the React templating library from Facebook. It's an extremely popular project, and I've been using it for some of my side projects. In fact, React powers the preview app for my Rainglow project ! Don't worry PHP guys, I haven't given up on PHP, I actually …

Continue reading »

Written by Dayle Rees - - Aggregated on Sunday January 14, 2018


PHP Interfaces Explained

A few years ago I wrote an article about PHP namespaces; a feature that seemed to mystify the beginner to mid-level PHP developer. Next up, we have interfaces. These are something that I see are misused all the time. It's such a shame because interfaces are my absolute favourite feature of OO languages! Unfortunate…

Continue reading »

Written by Dayle Rees - - Aggregated on Sunday January 14, 2018


Favourite Color Themes

I am often asked which theme is my favourite. I definitely have a bias towards dark themes for my day to day use. Truthfully, I find myself using 'Gloom Contrast' the most. It's a slightly 'greenie' version of 'Peacock Contrast' and it's been in the collection for a long time now! Still, that doesn't make an …

Continue reading »

Written by Dayle Rees - - Aggregated on Saturday December 23, 2017


New Year's Resolutions

I have begun the process of revamping my side projects. You might have seen the release of my VS Code color themes package 'rainglow'. So why has it taken so long to get back to these side projects? Well, you see, for me, the environment is everything. For the last few years, I've been living in houses and flats …

Continue reading »

Written by Dayle Rees - - Aggregated on Wednesday December 13, 2017


The Artist and the Engineer

I have my own personal under-bed monster, and it's in the form of another breed of developer. In truth, this article is less about that which torments me and more about two different types of developer that I've identified. I like to call these two types of developers the 'artist' and the 'engineer.' Both are …

Continue reading »

Written by Dayle Rees - - Aggregated on Wednesday June 22, 2016


I'm Dayle - AMA

I thought it might be fun to keep an AMA (Ask Me Anything) style blog post on my site. Feel free to ask your questions in the comments, or to tweet them at @daylerees . If I receive questions, I'll update this post. I'm Dayle Rees. Self-published author, one of the first Laravel users, conference speaker, …

Continue reading »

Written by Dayle Rees - - Aggregated on Tuesday May 24, 2016


Marketing is harder than writing

Soon, my latest book on Composer will be available for free. I thought I'd write an article to explain the reasoning behind this move. Why is it free? Originally, I had planned for my latest book to be a premium one, with a low cost due to its size. Post-release it was clear that I had completely underestimate…

Continue reading »

Written by Dayle Rees - - Aggregated on Tuesday May 17, 2016


Code Smart will arrive this month

Hey there code wranglers! I think it's about time I gave you fine folk another update on how Code Smart is coming along. I've been working hard over the last months to get Code Smart in a shape that's fit for release. My previous titles have released in simple form, and have built into grand epics over time. …

Continue reading »

Written by Dayle Rees - - Aggregated on Tuesday April 12, 2016


Code Smart Questions Answered

Howdy readers! I'm here today to bring you some good news. An update on 'Code Smart'! I announced Code Smart a while ago, and many of you lovely folks have been asking how it's been progressing. Let's answer all those questions in a single blog post, shall we? Why is it taking so long? Great question! First, …

Continue reading »

Written by Dayle Rees - - Aggregated on Sunday January 17, 2016


PHP: The Composer Lock File

Everywhere that I go, conference, the supermarket, the dentist, building sites, people always ask me about the Composer lock file. It's a mystery that seems to cause confusion all across the globe. Well, boys and girls, I'm here today to de-mystify the lock file once and for all. Composer is a PHP application …

Continue reading »

Written by Dayle Rees - - Aggregated on Sunday August 23, 2015


New Website

Hey there! If you're reading this, then my DNS has finally propegated, and the new site is live! Woohoo! My site has been needing a little love for a long time. Originally, I had written a markdown-based flat file system on Laravel for my blog articles. It worked great, and it was very fast. The trouble is, the …

Continue reading »

Written by Dayle Rees - - Aggregated on Saturday August 15, 2015


For Everyone

Until recently, my bookshelf contained titles that were purely Laravel related. 'Code Happy' and 'Code Bright'. They've been extremely popular with the Laravel community, and I sincerely hope that 'Code Smart' is equally as successful. I've recently released a title called 'PHP Pandas'. This time, there's no …

Continue reading »

Written by Dayle Rees - - Aggregated on Saturday August 15, 2015


Release: PHP Pandas

Great news! My latest title 'PHP Pandas' is now available for purchase on Leanpub.com . PHP Pandas is the PHP book for everyone. It's a syntax book, that doesn't assume any prior knowledge of development. It's great way for beginners to get started with web development. I like to think that it's also the most …

Continue reading »

Written by Dayle Rees - - Aggregated on Saturday August 15, 2015


The Rules Of Dayle

I don't have a religion, and I don't want to start a debate about religion. It's an argument that no one ever wins. Wars have been (and still are) fought over similar arguments. I do however, like how certain religions give their followers a moral code. I think that's good. Sometimes I think that religions were …

Continue reading »

Written by Dayle Rees - - Aggregated on Sunday August 2, 2015