Architecture vs Design Pattern

Architecture vs Design Pattern - System Architecture

I’ve decided to take a break from some lower level stuff – server side languages, scripts and front end stuff. As in “break” – I meant in my blog posts. My thirst for more Javascript and PHP is unending so that is still quite active.

I’ve developed a sudden interest in system architecture – I think this was ignited off a job requirement I’ve recently run across. Almost everything listed as a requirement I had covered and even the ones I wasn’t quite savvy with I knew I could pick up pretty fast – ie frameworks and libraries. When I look at job requirements, I look at the underlying fundamentals or lack thereof with regards to my toolbelt.

Continue reading “Architecture vs Design Pattern”

Top 10 Javascript Interview Questions

Javascript Top 10 Interview Questions

This is my very first post on anything interview related. I figure it would be helpful to cover common Javascript questions during an interview. As mentioned in a previous posts, Javascript is totally different beast. From my experience, my interviews have been pretty tame. They were mainly OOP related questions but this was before ES6, before Javascript classes and constructors were introduced. I remember having to write literal objects on a white board and explaining this object’s properties and methods.

Continue reading “Top 10 Javascript Interview Questions”

Using the Promise Object with Javascript

Using the Promise Object in Javascript

I haven’t had to use the Promise function constructor much, I think maybe I’ve used it a handful of times. I don’t know if this is a bad thing. To be honest, the concept of promises is still a bit fuzzy to me. I’d like to build more applications utilizing this construct but I haven’t had to write any programs that run too many asynchronous operations. Or, the need for it wasn’t necessary and I got away with writing a bunch of function callbacks. But that’s what Promises were made for – to eliminate what developers describe as “callback hell” – basically what you get is a chain of nested callbacks which makes for “unnecessary inefficient bloat”. Yeah that’s exactly what I called it.

Continue reading “Using the Promise Object with Javascript”

Using var in Javascript

Using var in javascript

So a little bit of history 101 when it comes to the ‘var’ keyword in Javascript. Back when Javascript was super weird, I mean Javascript is still weird don’t get me wrong. For this reason I started liking Javascript – I used to think it was just to messy of a language to write in. I had some major trust issues with it, my relationship with PHP was far better. Alright enough with relationships, let’s dive right in.

Continue reading “Using var in Javascript”

Javascript Closures

Javascript Closures

Yeah. Closures. I know I’m kind of late in getting to this. Closures have been widely discussed subject among developers and I feel like I should get a good handle on it myself. First things first though, it’s important to understand that closures in javascript are a feature not a built in construct. If you’ve been writing in Javascript you’ve already encountered closures you just weren’t aware of it. I think the concept of closures tends to intimidate or confuse a lot of beginners and even self proclaimed experts in javascript.

Continue reading “Javascript Closures”

Javascript Creation Patterns

Javascript Object Creation Patterns

I’ve taken a long break due to consulting work and a few lazy summer days. I’ve also taken a long break from writing any PHP but I’m itching to getting back to writing more PHP related articles. I just haven’t seen anything new with PHP lately except for some frameworks I haven’t dabbled with yet like Laravel, CodeIgniter and others. Perhaps I’ll find interest in these at a later time – it might worth dissecting these architectures, there’s always something new to learn.

Continue reading “Javascript Creation Patterns”

Pantheon.io Hosting Review

Pantheon.io Hosting Review

I was recently introduced to a client hosted on Pantheon.io, a hosting platform packed with some really great features, services, and tech support. I really like their site as well, their catchy logo just put the cherry on top. After using Pantheon for a couple days, I couldn’t help but spend some quality time with this hosting platform. Let me tell you, user interface goes a long way when choosing a hosting platform at least for me.

Continue reading “Pantheon.io Hosting Review”

Secure Sockets Layer (SSL)

SSL - Secure Sockets Layer

Sockets. Let’s first get that out of the way. We can at least understand what “Secure” and “Layer” means. Not that the concept of sockets should overshadow it’s phrase constituents but it’s important to get a basic understanding of what’s really going on under the hood.

SSL encryption has been around for a very long time, besides having a fast site, security is a necessary feature every site must have. What good is a fast site if it’s hacked, even worse exposing your visitors to malicious content can have a permanent effect. Everything is in jeopardy – you’re business, your branding, your future. So what to do –

Solution – Install SSL

Keep in mind this a broad general overview, an entire book can be written on just SSL alone. Here I will provide a basic understanding – get our feet wet a bit. Continue reading “Secure Sockets Layer (SSL)”