bengladwell.com

Software development and maybe other stuff

  • Home

Testing React Native Components with Mocha

Testing for React Native components is broken This week, I generated a react-native app with react-native v2.0.1. It went something like this: The resulting Jest-based testing setup does not function. TL;

  • Ben Gladwell
    Ben Gladwell
8 min read

Lessons from Rails: Focus on State in Tests

import { lessons } from 'rails'; // part 3 Bringing techniques used in Rails to Node Better late than never. I'm happy, if not surprised, to be learning so much from Rails in 2018. This is

  • Ben Gladwell
    Ben Gladwell
4 min read

Lessons from Rails: Generate test data

import { lessons } from 'rails'; // part 1 Bringing techniques used in Rails to Node Better late than never. I'm happy, if not surprised, to be learning so much from Rails in 2018. This is

  • Ben Gladwell
    Ben Gladwell
2 min read

Lessons from Rails: Tests using DB transactions

import { lessons } from 'rails'; // part 1 Bringing techniques used in Rails to Node I'm about a decade late. After unknowingly circling it for years, I am now working in Rails. When I started

  • Ben Gladwell
    Ben Gladwell
3 min read

Vimscript: Automatic ESLint detection

Update - as fun as it was to learn some vimscript, I no longer make use of this stuff. I just use ALE and ESLint and all is well. I have been a

  • Ben Gladwell
    Ben Gladwell
2 min read

Serverless Web Apps by Example

Disappearing Servers There's a lot of talk about serverless architecture and serverless web apps. But what exactly does a serverless web application look like? I've built some of my own serverless apps and

  • Ben Gladwell
    Ben Gladwell
8 min read

Serverless Web Architecture with Firebase

Cut out the middle man For a couple of years, I sensed that I was missing something in web architecture. I was hearing more and more that I may not need that web

  • Ben Gladwell
    Ben Gladwell
5 min read

On React CSS techniques

TL;DR Material-UI components are great even though they use inline styles, which are not for me. CSS Components are great. When I was designing reword, I had to decide how to handle

  • Ben Gladwell
    Ben Gladwell
3 min read

Learning the React ecosystem

A while ago, I realized that I had fallen out of step with current trends in Javascript application design. "I regret nothing!" I shouted at the roiling Javascript masses. But still.

  • Ben Gladwell
    Ben Gladwell
2 min read

Superficial lessons I learned in Ethiopia

I recently returned home from a two-week trip to Ethiopia. My family spent some time in the capital, Addis Ababa, as well Awassa in the south of the country and Bahir Dar in

  • Ben Gladwell
    Ben Gladwell
5 min read

Fridgewords: A Backbone and gulp.js tooling example app

I gave a talk at CodeMash last week on using gulp.js to organize your frontend stack. It was the first time I have ever spoken at a tech conference and it was

  • Ben Gladwell
    Ben Gladwell
1 min read
javascript

Assembling a frontend stack part 4: Bootstrap, Less, and Livereload

Edit: Some of the material in the Assembling a Frontend Stack posts is outdated. Specifically, I no longer use Bower in any of my projects. Bootstrap - save me from making decisions about

  • Ben Gladwell
    Ben Gladwell
5 min read
javascript

Assembling a frontend stack part 3: Handlebars and JSHint

Edit: Some of the material in the Assembling a Frontend Stack posts is outdated. Specifically, I no longer use Bower in any of my projects. Handlebars is a good templating solution Handlebars seems

  • Ben Gladwell
    Ben Gladwell
4 min read
javascript

Assembling a frontend stack part 2: Bower and Browserify

Edit: Some of the material in the Assembling a Frontend Stack posts is outdated. Specifically, I no longer use Bower in any of my projects. How to organize your Javascript code Even a

  • Ben Gladwell
    Ben Gladwell
7 min read
javascript

Assembling a frontend stack part 1: Gulp.js

Edit: Some of the material in the Assembling a Frontend Stack posts is outdated. Specifically, I no longer use Bower in any of my projects. This is not as easy as it used

  • Ben Gladwell
    Ben Gladwell
3 min read
javascript

Linting JavaScript in Vim

Update - This post is no longer relevant. Just use ALE and ESLint! Why Vim? Because I have never really been able to get away from it. Even the best IDEs feel cluttered

  • Ben Gladwell
    Ben Gladwell
4 min read
bengladwell.com © 2019
Latest Posts Twitter Ghost