Next.js Introduction

What is Next.js Next.js is an open-source React based framework, which means that it's a framework built on top of React that enforces more structure and gives you additional capabilities: like server-side rendering, routing, bundling, and more. In this post, we'll go through how to get started with Next.js, SSR vs. SSG, and routing. Next.js … Continue reading Next.js Introduction

Laravel Helpful Code Snippets

Followings are some of useful code snippets of Laravel: 1). Show validation errors in view: @if($errors->has()) @foreach ($errors->all() as $error) <div>{{ $error }}</div> @endforeach @endif 2) Prevent errors by using the optional helper: When accessing object values, if that object is null, your code will raise an error. A simple way of avoiding errors is … Continue reading Laravel Helpful Code Snippets

WordPress Interview Questions and Answers 2

1) What are the differences between Posts and Pages? Posts are for timely content. They have a publish date and are displayed in reverse chronological order on your blog page. They’re what you should think of when you hear the term blog post. Pages are for static, timeless content. 2) Define OAuth2? It is a … Continue reading WordPress Interview Questions and Answers 2