Latest Updates

Documenting code, one commit at a time.

PHP API 10 posts
×

Streamlining User Onboarding: Integrating LinkedIn Login for Enhanced Recommendation Flows

Introduction

We've recently enhanced the user experience within our application by integrating LinkedIn login and registration, specifically aimed at simplifying the recommendation flow. This post details the changes and the reasoning behind them.

Key Improvements

Simplified Registration and Login

Previously, recommenders needed a GitHub account, which added friction to the process.

Read more

Enhancing Workflow Reliability with Code Review

In software development, a robust workflow is crucial for maintaining code quality and minimizing potential issues. Recently, we've focused on refining our development process to incorporate more rigorous code review practices, specifically before finalizing changes.

The Importance of Early Code Review

Integrating a 'dev:code-review' step earlier in the workflow offers several key advantages:

Read more
PHP

Addressing Tenant-Specific Routing Challenges in Multi-Tenant Applications

When developing multi-tenant applications, ensuring proper routing and URL generation within tenant contexts can be tricky. A recent update addressed issues related to generating correct URLs in a multi-tenant environment, preventing errors and ensuring consistent behavior across different tenants.

The Problem

In a multi-tenant setup, each tenant typically has its own subdomain or route.

Read more
PHP

Enhancing Route Binding Security and Sitemap Management

Introduction

This post details improvements to route binding security and sitemap management within our application. We've addressed potential vulnerabilities in nested route binding and optimized the sitemap to avoid duplicate content issues across tenant subdomains.

Child Route Binding Protection

To enhance the security of our application, we've implemented a safeguard for child route

Read more
PHP

Improving Test Suite Reliability with Artisan

When running test suites, reliability is paramount. Unexpected timeouts can lead to failed builds and wasted developer time. A recent update addresses this issue by switching from composer phpunit to php artisan test for executing tests in our project.

The Problem: Composer Timeouts

The default process-timeout in Composer, often around 300 seconds, proved insufficient for our test suite,

Read more
JavaScript PHP

Enhancing User Portfolios with Recommendations and LinkedIn Integration

Introduction

We've recently enhanced our platform to allow users to solicit professional recommendations for their portfolios, featuring a seamless integration with LinkedIn. This system allows users to request recommendations, and for recommenders to easily provide them while promoting the user's portfolio on their LinkedIn feed.

Key Features

Streamlined Recommendation Requests

Read more

Unifying Generation Workflows for Enhanced Security and Reliability

This post details how we streamlined our content generation process to improve security, consistency, and maintainability.

The Challenge

Previously, our application used separate code paths for generating content based on user prompts versus automatic generation. This divergence led to inconsistencies in security auditing, resource management, and error handling.

Read more

Enhancements to Referral Program, Dev.to Integration, and Terms Update

Overview

This update introduces an enhanced referral program with tiered commissions, seamless Dev.to integration, and updated terms and conditions to reflect these changes.

Referral Program Enhancements

The referral program has been expanded with the addition of a dedicated landing page, complete with details about the program, commission rates, and automated tools.

Read more

Enhancing GitHub OAuth Flow: Preserving User Permissions

Introduction

This article discusses a common issue in applications using GitHub OAuth for authentication: inadvertently overwriting a user's existing token with one that has fewer permissions. We'll explore how to ensure the application preserves the user's original, broader-scoped token when requesting narrower scopes during subsequent logins.

The Problem

Many applications use GitHub

Read more

Fixing Placeholders in Our Application

Sometimes, during development, placeholder values can inadvertently slip into the final application. This post discusses how we addressed such an issue in our vlog index page, specifically focusing on unresolved :app_name placeholders.

The Problem: Unresolved Placeholders

Unresolved placeholders are problematic because they present a poor user experience and can sometimes expose internal

Read more