Functional C# Application Composition, Part 2: Delegates

In my previous post on the Stateless Single-Responsibility Object (SSRO) approach to C# application composition I reviewed the concept and its shortcomings.

To recap:

  1. You end up with a ton of classes splitting up semi-related logic across multiple files. This is necessary to conform to the classname == filename convention.

Read more on Functional C# Application Composition, Part 2: Delegates…

Using Reflection to Test Complex Objects

Having code with automated tests keeps our quality high and makes us more efficient. But some code can challenge that efficiency—when code is simple in function yet complex in structure, making minor structure changes can be problematic. We don’t always completely think through the impact of those changes, sometimes accidentally leaving pieces of functionality untested and creating bugs. Thankfully, there’s a way to reclaim that efficiency and maximize our test coverage. Read more on Using Reflection to Test Complex Objects…

Web Application Architecture from 10,000 Feet, Part 2 – Persistent Data & Relational Databases

In part 1 of this series, I briefly discussed the difference between the client and the server. In part 2, I’m going to focus on how to structure your server side code.

If you’re making a single-page app—which you should be, if you want an app that’s as responsive as your typical desktop application—your backend “only” has a few concerns (heh): Read more on Web Application Architecture from 10,000 Feet, Part 2 – Persistent Data & Relational Databases…

Gmail Filters for unattended-upgrades Reboots

I’m a big fan of Ubuntu & Debian’s unattended-upgrades package. I can install and configure it to automatically update packages and email me results every night. Sure, I’m aware of and can immediately address the high-profile security bulletins & fixes. But what about the more subtle, less severe problems? Read more on Gmail Filters for unattended-upgrades Reboots…

CMock – Make Support for Easier Integration of Testing

Our tools Unity and CMock were written several years ago to fill a missing gap in testing C projects. We had developed the Ceedling build system, based on Ruby’s Rake. Nevertheless we—and more importantly our user base—would rather not have to use Rake, nor retrofit it into an existing Make build.

Well, we finally made it happen! Read more on CMock – Make Support for Easier Integration of Testing…

Functional C# Application Composition, Part 1: Shortcomings of Single-Responsibility Objects

Functional code is easier to test than code with state or side effects. However, most developers spend the majority of their time in traditional, imperative languages. There’s plenty of value in those imperative languages, but these days when I use one, I also try to bring in applicable functional concepts.

In this post I will explore how a stateful, Object-Oriented approach to composition became painful to me, and in my next post I will discuss my proposed functional solution. Read more on Functional C# Application Composition, Part 1: Shortcomings of Single-Responsibility Objects…

Creating Image Overlays with CSS Multiple Backgrounds

A common technique in web design is to use a large background image overlayed with a translucent color and text. Often used for splash screens and headers (“hero images”), the color overlay creates a better background for text, while being much more visually interesting than a solid background color.

Our blog and website use a variation of this technique in our footer (see the bottom of this page) to draw attention to our work portfolio. Read more on Creating Image Overlays with CSS Multiple Backgrounds…

Web Application Architecture from 10,000 Feet, Part 1 – Client-Side vs. Server-Side

Or, Why you can’t get your jQueryUI Datatables plugin to keep your data after you refresh the page.

This three-part series is a general, high-level, first-day-of-Intro-to-Web-Development overview of web app architecture. It is written for the past selves of a few of my college friends, the friends who called and asked me the question in the subtitle above, and then showed me a mess of PHP spaghetti code (copy-pasted from various “This is how you make a form!” type tutorials) when I asked them to show me what they had done so far. Read more on Web Application Architecture from 10,000 Feet, Part 1 – Client-Side vs. Server-Side…

Atomic Glossary, Part 1 – Software Terms

Being a non-tech person working for a Software Development company, I hear a lot of things around the office that sound like another language to my ears. In an effort to join the conversation and understand more about what we do, I’ve decided to take it upon myself to create a glossary of terms.

Read more on Atomic Glossary, Part 1 – Software Terms…

loading…