Closure in JavaScript is when a function is able to remember and access it’s lexical scope even when it is executed outside of it’s lexical scope. Put another way, it’s a function which can access it’s lexical scope after the
ACID
A.C.I.D. Atomicity Consistency Isolation Durability Atomicity in a database system means that a sequence of events within a transaction must all occur or nothing occurs. Because of this, the transaction cannot be observed by an outside process as “in progress”.
A PIE
There are 4 basic features that an object oriented language has. Here is an easy way to remember them: “A Pie” Abstraction Polymorphism Inheritance Encapsulation Abstraction means that only necessary information is exposed outside the class, and the details of
When To Use IEnumerable, ICollection, IList And List
Here is a great article on the differences between IEnumerable, ICollection, IList, and List, and when to use each in your C# project. When To Use IEnumerable, ICollection, IList And List
Making progress in Laravel
I’m making good progress in learning Laravel. I just wrote a service provider, and then created a Facade for it. The concepts are coming together nicely. Here are a few of the pages I used to help figure this out: https://laravel.com/docs/5.2/providers#registering-providers
AngularJS on Udemy.com
I highly recommend this course. I had been struggling on and off trying to figure out AngularJS. I am proud to say that I now understand it, and can write an app from scratch. Check it out at https://www.udemy.com/learn-angularjs/learn/#/ Also, be
Laracast: Laravel 5 Fundamentals
Today I’m starting the Laracast “Laravel 5 Fundamentals”. Let’s see how long it takes me to complete it…
Laracast: Be Awesome in PHPStorm
I just finished most of the Laracast “Be Awesome in PHPStorm”. I didn’t do the last few because the topics are beyond where I am in my learning at this point. But I’ll be back for those later. Like any
Node.js on Lynda.com [complete]
A few days ago, when I started learning node.js on Lynda.com, I had heard of some of the things that were taught in that video series, but now I can say that I have worked with and understand at a
Learning Node.js
I’m currently learning node.js through Lynda.com. As part of this course, I’m also learning about unit testing, which I’m sure will come in handy soon. Once this course is done, I will probably start watching some Laracasts and learning about
Up and Running With Java
So, tonight I decided to start brushing up on Java. No real reason, other than it’s nice to know a language that is used in so many places. I started a Lynda.com course called Up and Running With Java. It’s
Factories and base classes
Today I refactored some code, And for the first time ever I wrote a factory class. I have a class that calls a specific service on the web. I had that class directly referenced in other parts of my code.
PHP Architect’s Zend PHP Certification Study Guide
So, today I started chapter three, on arrays. I learned something new! The list() function. That may just come in handy someday. 🙂
The Checklist Manifesto
At SunshinePHP this year, at one of the talks, the speaker mentioned a book called “The Checklist Manifesto”. I started reading it yesterday and I’m halfway through it already. It’s a good read that explains why checklists are so vital
Sunshine PHP 2015
This year’s Sunshine PHP conference is only the second I’ve attended. My first was Tek in Chicago, in 2013. Having 2 years of PHP experience behind me now has made a big difference in my understanding of the topics presented
Which way is better?
While going though some code in a plugin (not one I wrote), I came across the following snippet: if ( !isset($update_transient->checked) ) return $update_transient; else $themes = $update_transient->checked; Looking at this makes me cringe. Here’s how I would write this:
2014: A look back
So here we are on the eve of a new year. 2014 has been a good one for me. I decided to look back over my posts for the year, and discovered that I only posted 10 times in 2014!
WordPress plugin OOP template
<?php /* Plugin Name: Plugin URI: http:// Description: Version: 1.0 Author: Kenny Ray Author URI: http:// License: GPL2 */ if (strpos($_SERVER[‘SERVER_ADDR’],’localhost’)) { error_reporting(E_ALL); ini_set(‘display_errors’, 1); } // Be sure to update this name, and make the one at the very
Installing Laravel site: permissions
If you get this error Error in exception handler. when trying to hit the root of a new install, do these two things on OSX: sudo chown -R _www app/storage (replace _www with your Apache server name if necessary)
SRP : Single Responsibility Principle
This is the clearest beginner level explanation of the Single Responsibility Principle that I’ve seen so far: http://code.tutsplus.com/tutorials/solid-part-1-the-single-responsibility-principle–net-36074