Blog

Articles, guides, and notes on software engineering.

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

Recent Posts

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 configuring Nginx as a reverse proxy on a Sakura VPS previously running Apache.

#CentOS#Nginx#Apache#Sakura VPS
Learning Design Patterns with PHP - Adapter ~Modifying APIs~
Application 2017-10-01

Learning Design Patterns with PHP - Adapter ~Modifying APIs~

Learn the Adapter pattern to reuse existing code without modification while adapting incompatible interfaces flexibly.

#PHP#Adapter Pattern#Design Patterns
Learning Design Patterns with PHP - Basics of Object-Oriented Programming
Application 2017-10-01

Learning Design Patterns with PHP - Basics of Object-Oriented Programming

Master OOP fundamentals including inheritance, interfaces, traits, static properties, and methods for design pattern study.

#Design Patterns#PHP#OOP
Learning Design Patterns with PHP - Singleton: Limiting Instances
Application 2017-10-01

Learning Design Patterns with PHP - Singleton: Limiting Instances

Understand the Singleton pattern to control instance creation, restrict access, and manage single object state in PHP.

#Design Patterns#PHP#Singleton Pattern
Learning Design Patterns with PHP - Template Method ~Filling in the Blanks~
Application 2017-10-01

Learning Design Patterns with PHP - Template Method ~Filling in the Blanks~

Discover the Template Method pattern to aggregate common processes in superclasses and abstract specific subclass implementations.

#Design Patterns#PHP#Template Method Pattern
Encountering '[BABEL] Note: The code generator has deoptimised the styling of' in React
Application 2017-10-01

Encountering '[BABEL] Note: The code generator has deoptimised the styling of' in React

Fix Babel's code generator deoptimization warnings in React through strategic file size optimization and compression techniques.

#React#Tips
SPA Boilerplate with React, react-redux, react-router, ES6, and webpack
Application 2017-10-01

SPA Boilerplate with React, react-redux, react-router, ES6, and webpack

Explore React SPA boilerplate architecture with Redux, React-router, webpack, and Babel for modern applications.

#boilerplate#ES6#React#react-router#Redux#webpack
Creating a Follow Button with React
Application 2017-10-01

Creating a Follow Button with React

Build a follow button component in React with toggle states and hover functionality similar to social media platforms.

#React
React+marked+highlight
Application 2017-10-01

React+marked+highlight

Integrate React markdown editor with marked and highlight.js for syntax-highlighted code block rendering.

#ES6#React#highlightjs#markdown#marked
Implementing a Form with Multiple Inputs in React
Application 2017-10-01

Implementing a Form with Multiple Inputs in React

Master implementing React forms with multiple controlled inputs using nested state object management patterns.

#React
Considering Directory Structure for React+Redux
Application 2017-10-01

Considering Directory Structure for React+Redux

Exploring directory structures for integrating React+Redux into applications.

#ES6#React#Redux
Articles Referenced for Building an SPA with React and Redux
Application 2017-10-01

Articles Referenced for Building an SPA with React and Redux

Explore curated React Redux resources for SPA development, Redux middleware, and architectural patterns.

#React#Redux#SPA
Implementing a Tag Feature with Suggestions Using React Tag Autocomplete
Application 2017-10-01

Implementing a Tag Feature with Suggestions Using React Tag Autocomplete

Implement tag autocomplete feature in React using React Tag Autocomplete library with API integration.

#React