If you’ve ever been in a situation where you want to force your Laravel application to redirect all URL’s to HTTPS at the application level, you’ve probably come across this Stack Overflow answer which suggests you make a Middleware like the following:
One of my favorite learning techniques when solving a programming challenge or learning a completely new language is not one that I see many other developers utilizing: printing it out. No, I’m not talking about
var_dump. I’m talking literally. Print it out. On paper.
So, you’re building an API with Lumen and you want to add some basic password reset functionality. That should be easy, right? After all, adding password resets in Lumen’s older sibling, Laravel, is a cinch. Yeah, I thought it would be easy too, but it wasn’t. After frantic googling returned a Laracasts thread with no response, a Laravel.io thread with no response, and no other relevant results, I knew I was on my own for this one. After hours of questioning my career choice, I finally figured it out. Hopefully this blog post will help you avoid the struggle.
Whether you think he was a visionary genius or overrated hack, few people will deny one thing about Steve Jobs: he was one hell of a presenter. His 2005 Stanford commencement speech and 2007 iPhone announcement are all regularly touted as some of his finest moments. My favorite moment, however, is a subtle one that is seldom mentioned.
Somewhere during the journey of getting your website built you’ve most likely heard the acronym “CMS” thrown around. But what do those three crazy little letters mean? Well, CMS stands for Content Management System. The name itself is pretty self-explanatory, but to be more concise, a CMS is just computer software that provides you with a pre-built interface for managing (adding, editing, deleting) content on your website. Ever heard of Drupal or WordPress? How about Magento or Joomla? Maybe ExpressionEngine? Chances are one of the names rang a bell, because each one of these systems has played a big role in making the web a friendlier place for non-developers (primarily the first two, if we’re being honest here).
I’m incredibly proud of the clients I’ve worked with during my time as a developer at O3 World. Over the years they’ve ranged from everyone to household names, to Ivy League schools, to companies that have IPO’d for almost a billion dollars. Oh yeah, and one time, I built a Tumblr theme.
Hey, have you heard of Backbone.JS? No? That’s cool, it sucks anyway and Ember.JS is WAY better. Actually, now that I’m thinking about it, Angular.JS is really the new hotness these days. It’s backed by Google! It must be good if Google likes it. I’m sorry, what was that? There’s a Batman.JS now? That does sound kind of cool. Spine.JS…seriously? You’ve got to be kidding me.
Since the dawn of mankind…well, no, since about the mid-1990’s, eCommerce has become one of the most complex and important problems to solve on the world wide web. With $1.2 billion dollars spent online last year on Black Friday alone and more than four in five smartphone users using their devices for online shopping, eCommerce is turning out to be the equivalent of an untapped goldmine right under your house. Such a lucrative opportunity brings an unsurprising response: more and more retailers are looking to make their presence known online.
A lot of acronyms get thrown around during a project. From CMS, to PSD, to B2B; but there’s one important acronym we haven’t really discussed yet: QA. For those of you who are unfamiliar, QA stands for Quality Assurance and is typically one of the final phases of a project during which your work undergoes critique from several other departments. The QA process is not mean-spirited, it is necessary as well as beneficial to ensure that the final product is up to the company’s standards and client’s needs. Nonetheless, despite its good intentions, QA can be a scary phase in a project’s lifecycle.
About 8 years ago, as a junior in high school, I accidentally enrolled myself in a class called “Programming with Java.” I had intended to sign myself up for a different class with a similar ID number, but my 17-year-old self “don’t pay too much attention to what you’re doing” mentality intervened. Or maybe it was the hands of fate. Yeah, let’s go with that.