Blog

Articles, guides, and notes on software engineering.

Modern JS Talk: Destructuring Assignment
Application 2017-12-25

Modern JS Talk: Destructuring Assignment

Master destructuring assignment for arrays and objects with default values and aliasing in modern JavaScript.

#ES5#ES6#JavaScript

Recent Posts

Modern JS: import and export
Application 2017-12-25

Modern JS: import and export

Master ES6 import/export statements, named exports, default exports, and module composition in JavaScript development.

#ES5#ES6#JavaScript
Modern JS Discussion: var/let/const
Application 2017-12-25

Modern JS Discussion: var/let/const

Understand var, let, and const declarations, scope types, hoisting behavior, and temporal dead zone in JavaScript.

#ES5#ES6#JavaScript
Quickly Create a Markdown Editor with React
Application 2017-12-25

Quickly Create a Markdown Editor with React

Create functional React markdown editor with marked library supporting live markdown preview and transformation.

#ES5#ES6#JavaScript#React
Being Geek: Career Strategies to Stay a Geek
Career 2017-12-23

Being Geek: Career Strategies to Stay a Geek

A review of Being Geek. Written by a geek, but even non-geeks who are engineers can learn a lot from it. The mindset and attitude of being an engineer are candidly told in a slightly quirky voice, making it a book you will want to keep close and revisit.

#Book Review
Presented at PHP Conference 2017 on "Starting OSS as a Third-Year Engineer"
Poem 2017-10-11

Presented at PHP Conference 2017 on "Starting OSS as a Third-Year Engineer"

Discover insights from presenting OSS development as a third-year engineer at PHP Conference 2017 and gaining community stars.

#OSS#PHP#LT#PHP Conference
Test-Driven Development
Testing 2017-10-08

Test-Driven Development

A review of Test-Driven Development by Example. Kent Beck's foundational TDD text. Through worked examples, it teaches how to grow a design by writing tests first and turning the red-green-refactor cycle. The first book to reach for when learning TDD.

#Book Review
Installing anyenv on Mac
Infrastructure 2017-10-01

Installing anyenv on Mac

Install and configure anyenv on Mac to manage multiple programming language versions with proper PATH and environment setup.

#Shell Script#anyenv
Introducing React to Laravel with Bower
Application 2017-10-01

Introducing React to Laravel with Bower

A guide on integrating React into a Laravel project using the Bower package manager. It walks through setting up a build environment with Babel, JSX syntax, and gulp/elixir to develop the frontend with React instead of the usual jQuery.

#Laravel#React
Trying Out Laravel's Deployment Tool: Laravel Envoy
Infrastructure 2017-10-01

Trying Out Laravel's Deployment Tool: Laravel Envoy

Deploy Laravel applications efficiently with Envoy including tasks, git hooks, and Slack deployment notifications.

#Laravel#Deployment
How to Use a Common Template for Error Messages in Laravel
Application 2017-10-01

How to Use a Common Template for Error Messages in Laravel

Explains how to handle Laravel error pages using a common template. It covers overriding the renderHttpException method in the Handler class to respond to HttpExceptions, and design patterns for building custom, shared error pages.

#Laravel
Customizing Values Validated by Laravel Form Requests
Application 2017-10-01

Customizing Values Validated by Laravel Form Requests

How to customize the values that a Laravel form request validates. This is useful when you want to validate not only the request body but also route parameters, for example on an endpoint like /post/:id/delete where the ID comes from the URL.

#Laravel
Excluding Table Names from Laravel's Many-to-Many Relations
Application 2017-10-01

Excluding Table Names from Laravel's Many-to-Many Relations

Configure Laravel many-to-many relationships with custom pivot table names in Eloquent relationships.

#Laravel
Differences Between redirect('hoge') and redirect()->to('hoge') in Laravel
Application 2017-10-01

Differences Between redirect('hoge') and redirect()->to('hoge') in Laravel

Understand the differences between redirect() and redirect()->to() helper functions and when to use each.

#Laravel
Directory Structure and Nginx Config for Integrating SPA with Laravel
Infrastructure 2017-10-01

Directory Structure and Nginx Config for Integrating SPA with Laravel

Configure Laravel for single-page apps with proper directory structure and Nginx routing for frontend and backend.

#Laravel#React#Nginx
Automating Let's Encrypt Certificate Renewal (cron) with a Touch of Slack Integration
Infrastructure 2017-10-01

Automating Let's Encrypt Certificate Renewal (cron) with a Touch of Slack Integration

Automate Let's Encrypt certificate renewal with cron scheduler and Slack notifications for both completion success and failure events.

#cron#Let's Encrypt#Shell Script#Slack
How I Managed to Fix the Persistent Failure of Let's Encrypt Certificate Auto-Renewal
Infrastructure 2017-10-01

How I Managed to Fix the Persistent Failure of Let's Encrypt Certificate Auto-Renewal

Fix Let's Encrypt certificate renewal failures with certbot-auto and force-renew options configured properly for nginx web servers.

#cron#Let's Encrypt#Slack#Shell Script
Let's Encrypt Certificate Auto-Renewal Script
Infrastructure 2017-10-01

Let's Encrypt Certificate Auto-Renewal Script

Automate monthly Let's Encrypt certificate renewal using automated shell script execution with Slack notification integration support.

#cron#Let's Encrypt#Shell Script#Slack
No MySQL Driver After Installing PHP7
Infrastructure 2017-10-01

No MySQL Driver After Installing PHP7

Resolve PHP7 MySQL driver missing issues by installing php-mysqlnd package through REMI yum repository.

#CentOS#MySQL#PHP#PHP7#Sakura VPS#yum
Setting Up Nginx as a Reverse Proxy
Infrastructure 2017-10-01

Setting Up Nginx as a Reverse Proxy

Notes on setting up Nginx as a reverse proxy on a Sakura VPS that had been running Apache. It covers a configuration where Apache and Nginx coexist, along with port changes, virtual host settings, and load balancing as points to consider when building a reverse proxy.

#CentOS#Nginx#Apache#Sakura VPS