-
Testing Elixir
·
Apr 21, 2017
I’ve posted in the past on avoiding mocks in Elixir.I decided to give some more thorough explanation and examples in the form of video.I had fun wi...
-
MicroCast 03 - Elixir Railway Programming
·
Dec 29, 2016
Piping functions together is really convenient in many cases, but sometimes you needmore advanced error condition handling.We’ll cover The problem...
-
MicroCast 02 - Elixir Avoiding Mocks
·
Dec 20, 2016
From a Ruby/RSpec background, it may seem odd that mocking is discouraged in most cases in Elixir. In this case we're going to talk about why that ...
-
MicroCast 01 - Elixir Inline Docs
·
Dec 9, 2016
Elixir provides really cool built-in documentation features.Let's take a looks at some of that!We'll coverReading documentation from iex consoleRea...
-
Elixir Without Mocks - A Succinct Example
·
Aug 5, 2016
Wrapping my head around why mocking is less favored in Elixir than in Ruby (and other languages).Here's an example asserting that a function is cal...
-
SQL Footprint - A gem for working with legacy Rails apps
·
May 31, 2016
I just wanted to leave some notes on a new gem that I and some folks from my day job put together to solve a couple of specific problems. The sql_f...
-
Saving a Base64 Encoded File w/ Elixir
·
May 23, 2016
Just wanted to document this for future use:{:ok, data} = Base.decode64(base64_string)File.write("/tmp/file.gif", data, [:binary])That's it!
-
Fixing Single Responsibility Principle
·
Sep 17, 2015
Sara Mei's talk at Windy City Rails (Is Your Code Too SOLID?) this year got me thinking.Single Responsibility Principle is broken!Don't get me wron...
-
Pragmatic Testing With Webmock
·
Apr 15, 2015
CoverMyMeds has posted my blog post on a pragmatic approach to testing HTTP heavy applications with webmock.Check it out on ScriptScribe: Pragmatic...
-
Top 3 Reasons Why Dependency Injection Containers Are Not Idiomatic Ruby
·
Dec 31, 2014
If you aren't already aware of what dependency injection (and containers) are then you should begin by reading my post What Is Dependency Injection...
-
What is Dependency Injection?
·
Dec 30, 2014
Dependency injection is a basic object-oriented pattern for complying with Dependency Inversion Principle (DIP).Note they are not the same thing. ...
-
Manually Disabling Orchard Modules in the Database
·
Aug 27, 2013
Sometimes when doing upgrades or tracking down production issues, I've needed to disable a module manually without the command line or web interfac...
-
Sending Attachments With Orchard Modules
·
Sep 9, 2012
The last event at Orchard Harvest 2012 was a hackathon.I decided to sit at a table with some folks that wanted tosend attachments with Orchard. In...
-
Sending Emails With Orchard Modules
·
Mar 20, 2012
Sending an email in .Net is pretty simple. You just put some settings into an instance of SmtpClient, create a MailMessage and off you go. In Orcha...
-
Getting Rid of Home in ASP.Net MVC
·
Dec 9, 2011
I'm not a big fan of having urls with the "/home" in front. For example: /home/about, /home/contact, etc. Here is a simple way to get your home con...
-
Canton Software Craftsmanship
·
Oct 20, 2011
Developers in the Canton Ohio area have been interested in getting the community going for quite a while now. Some of us got together and finally ...
-
JQuery, AJAX, and ASMX
·
Oct 20, 2008
JQuery is just awesome! One of the things that I recently did that I got a kick out of was doing an AJAX call to an ASMX webservice. It's pretty st...
-
Devlink 2008
·
Sep 25, 2008
This was my first trip to DevLink. It was Awesome!! I ended up spending the whole time involved in the Open Spaces discussions. Open Spaces are bas...
-
Agile Summer Camp 2008
·
Sep 7, 2008
Nerds, Woods, and deep conversations about Agile Development. What could be better? This was just an excellent idea. Thanks to Chris Woodruff for o...
subscribe via RSS