Controllers are an important part of Laravel MVC (Model, View, CONTROLLER). They are useful for organizing request-handling logic and help to keep the entire code structured and maintainable. This post is a brief primer on Laravel controllers.
I code in several different programming languages and I post content relevant to the different languages on this website. Software development tools and languages evolve very dynamically. What's hot today may be forgotten tomorrow. So, categorizing my content based on language is not very practical. Instead, I use client-server labeling to categorize my work with various programming languages. This section holds content that I consider to be back-end (or server-side) programming.
An SQL SELECT statement may often return thousands of rows. And when building sites, we usually don’t want to dump all those rows onto a single page (for speed and UX reasons). Instead, we split the results across multiple pages via PAGINATION.
If you love platform-neutral approaches to programming like we do, you will love Service Oriented Architecture (SOA). This article is a high level overview of SOA. We discuss SOA principles, pros and cons, and components needed for SOA infrastructure.
TinyMCE is a rich-text editor that helps convert the HTML textarea element into a WYSIWYG editor. While working with it recently, I noticed that it doesn’t work well with AJAX out of the box. This article explains the problem and provides a solution.
Use this IP address lookup tool to find detailed information and geolocation of any IP address. Besides being a functional IP lookup tool, this page also provides the full source code for the tool. To lookup an IP, just type it in and press submit.
If you have ever tried to figure out why Linux is running low on memory, you will agree that the memory usage information provided by the kernel is not easy to understand. This post explains what Pss means in the /proc/PID/smaps file.