The blog - we've entered deep time.

MySQL: Root Element Is Missing (Windows 8.1)

Jul 28, 2014

The other day when I restarted my development machine I got a nice little surprise from MySQL Notifier. Update. I got this issue again today after my machine ...
Part Two: Creating a Custom Pagination View in Laravel

Jul 28, 2014

Learn how to create a custom pagination view in Laravel that includes hidden form input elements to pass search terms and page numbers. Using a view composer, you can generate hidden form inputs based on user input and append them to the pagination view, allowing users to navigate through search results while maintaining their search criteria. Additionally, you can use the appends() method to include input and URL parameters when generating pagination links, ensuring that search data is preserved when users click on the links.
Part One: Creating a Custom Pagination View in Laravel

Jul 21, 2014

Learn how to create a custom paginator view in Laravel 4 that allows users to enter a specific page number in a text box and jump to that page. The tutorial walks you through implementing the view step-by-step, including adding clickable links and the text box. The end result is a simple pagination view with a text box that lets users easily navigate through large data sets without an infinite-scroll-like solution. Note that the tutorial mentions the use of inline styles, which ideally should be separated into their own stylesheet, and also hints at a part 2 that covers handling filtered data sets.
Procedure vs. Function vs. Method vs. ?

Jul 19, 2014

A good example of terms like this are procedure , function , method and the anonymous function . With the exception of the anonymous function all of these terms...
Lambdas And Closures

Jun 25, 2014

Some intermediate to veteran developers will recognize the anonymous function, or lambda function (a function without a name) that we are passing to the get ...
GitHub For Windows: Sync Failed With Uncommitted Changes

Jun 14, 2014

GitHub is a commercial endeavor built around git , and they do fairly well for themselves, and provide a great service. Clicking/tapping this gear will open a ...
Getting Kint to Work With Laravel 4.1

May 14, 2014

Kint is a PHP tool designed to make debugging PHP easier and more organized. It takes output from PHP's var_dump() and debug_backtrace() functions and formats it nicely. While not part of Laravel itself, Kint can be used in conjunction with Laravel's dd function for a powerful debugging combination. Some users have had issues getting Kint to work with Laravel, but one solution is to modify the order of dependencies in the composer.json file. Alternatively, you can manually adjust the autoload_files.php file to ensure that Kint is loaded before Laravel.
Laravel 4: Be Careful With Your After Filters

Apr 4, 2014

Learn how to use the after filter in Laravel 4 to perform tasks after your routes and controllers have run. This filter can be used for various purposes, such as logging or checking specific conditions. By using the after filter, you can manipulate the response content before it is sent to the client. However, if you are working with views and want to avoid potential issues with nested queries being executed twice, it is recommended to use the getContent() function instead of casting the view object to a string.
How Does PHP Work With The Web Server And Browser?

Apr 2, 2014

A large amount of web sites and applications are powered by PHP; therefore an understanding of the PHP language is mandatory to fully understand and accept the ...
Laravel 4: Working With Checkboxes and Input

Apr 1, 2014

Learn how to create a checkbox in a Blade view using the Form class in Laravel. You can check if a checkbox is checked in a controller by using an if statement. Ensure the checked state of the checkbox is set by passing a boolean value as the third argument in the checkbox function. You can also use Input::old() to set the checked state based on the previous input.
Laravel: Calling Artisan Commands From Your Application

Mar 27, 2014

Learn how to run Artisan commands from within your application's code with this helpful tip. You can use the Artisan::call method to execute commands, and even pass command options as arguments. Keep in mind that when calling commands from your application, the paths are relative to the location of the calling file. You can simplify path management by using Laravel's path helper functions.
Laravel 4: Default Events

Mar 25, 2014

Laravel 4 provides a variety of events that are fired throughout your application's life cycle, such as auth.attempt, auth.login, auth.logout, and more. These events are called in specific files like /Illuminate/Auth/Guard.php and /Illuminate/Database/Connection.php. You can find where an event is called or explore available events in this quick reference. Keep an eye on this page for updates and additional event information.
Modifying the Windows Hosts File

Mar 6, 2014

This post will explain how to modify the hosts file on a Windows machine (this post will work for Windows Vista and newer). There are a few different reasons ...
Laravel 4: Getting User Input

Nov 2, 2013

Learn how to get input from users in Laravel 4 using the Input facade. Find out how to get the value of a specific input element by name, and how to specify a default value if the input is empty. Additionally, discover how to get all of the input values as an associative array using the all() method. Learn how to handle ambiguous input when there are variables with the same name in both a POST request and a URL query parameter. Finally, see how to specify the source of the data you want using the instance() method and access the POST and query data directly.

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.