Binding an interface to an implementation promotes good coding practices. As a result the code is less coupled, more maintainable, and testable. Why might someone want to bind an interface using Laravel? To put an abstraction between the application and ...
The idea is "x" framework provides a level of convenience that can make developers sloppy. This often happens because frameworks tend to make developing easier. So easy we forget to take a step back and figure out how all the pieces come together.
Something I ran into a while back while writing tests. If intentionally testing code for an exception then it is required to add an annotation above the test method.
Goal: Search all users who were updated between a certain time period (in our case one day). Scenario: A system wide glitch caused a set of users to have all of their last names changed to Smith. Your manager wants to ...
Programming is useful and important. I like to compare programming to oil in that cars require oil to operate and business require programmers. If a business intends to compete most likely they have an IT team. Many times the competitive ...
Laravel 4 is capable of running on a shared hosting environment. It’s a lot easier than you probably think. Login to your host and go to your home directory. This does not mean your public home directory, they are separate. ...
Blue Screen Of Death (BSOD) an inevitable part of using a windows machine. Today I received a BSOD with an error CRITICAL_STRUCTURE_CORRUPTION while working on my Android homework. The error wasn’t very descriptive and I wasn’t hopeful to find a ...
The following is the .gitignore file for my Android development in Android Studio. This is what worked for me, but if anyone has additional input that’s welcome too.
For some reason my server started displaying code instead of actually processing or rendering the code. After playing around with the server I noticed the php5 module was missing from Apache. If your code is displaying and not rendering you ...
I had a problem where I want to push my branch and overwrite what was the on the server. I kept receiving an error telling me to merge. I did not want to merge and found a way to force ...