Think Like a Git, Commit Like a Boss: Save Time By Aliasing
Improving developer workflow is something I think about every second of every minute of every hour of every day of every week of every month of every year of my Life. You should also. When you work, ask yourself these questions: 1. “How can I make this better?” 2. “How can I automate this process?” It’s the very [...]
Think Like a Git, Commit Like a Boss: Revert Now!
The “revert” feature solves a different problem: You might have one particular commit that you want to undo – but you don’t want to touch any other commits that came after it. Revert solves this problem by creating a new commit that contains opposite changes – essentially reverting the effect of those changes. E.g. [...]
Think Like a Git, Commit Like a Boss: Reset and Amend
There are situations where you commit files to Git and discover that what you just did was very wr0ng. There are also situations where your commit message is either wrong or has a typo. Let’s see how we can handle such situations. From our previous post, let’s go ahead and run a git status: We should have something like this: [...]
Think Like A Git, Commit Like A Boss: Light Introduction
Think like a Git, Commit Like a Boss is a series that’s focused on learning how to work efficiently with version control in your projects. Proficiency in working with Git is a key feature to been a good and very effective programmer. Why Should We Use Version Control? Version Control is essentially for everyone. Most situations, we [...]
ALL SHADES OF LARACON 2015
Laravel has really grown over the past 3 years to be a very popular framework and the community around it is blazingly amazing. Laravel is also now making PHP very respected in the community and I see it becoming profound, established, well rooted and significantly the de facto framework for rapid web application development like Rails in [...]
Accessors and Mutators in Laravel 5
Getters and Setters are common concepts in programming. Every language has a particular construct of making this possible. These concepts are also termed Accessors and Mutators. Accessors and Mutators allow you to format attributes when retrieving them from a model or setting their value. Laravel 5 makes good use of these beautiful concepts [...]
INSTALLING LARAVEL HOMESTEAD ON WINDOWS
As stated in its documentation, Laravel strives to make the entire PHP development experience delightful, including your local development environment. Vagrant provides a simple, elegant way to manage and provision Virtual Machines – Vagrant creates and configures a lightweight, reproducible and portable development environment. Now, [...]
How To Create Custom Helper Functions in Laravel 5
Laravel 5 comes with many inbuilt helper functions right out of the box. The challenge we have as developers is that we are never satisfied with the status quo , We often crave for more. It’s a very good thing to be an Oliver twist. Several situations may arise to make you want to have your own helper functions, one of which is having [...]
Connect Your Sequel Pro with Laravel Homestead
Laravel Homestead is a vagrant box created by Taylor Otwell to mimic production environment locally. It’s a very awesome tool for developing Laravel applications. Most PHP developers are used to just using PHPMyAdmin to connect to their MySQL databases meanwhile Sequel Pro is also a very good tool for connecting to your MySQL database. [...]
Getting Started With Testing in Laravel
A very important part of developing large, quality web applications is having automated tests that ensure every part of your application works as expected, no wicked surprises!. There are several types of testing but they are mainly classified into Acceptance, Functional and Unit testing. Acceptance Testing This kind of testing allows us to [...]