Web Development

This is one major reason I created Devsrealm, to share what I have learned with others in the web development scene. I’ll be covering PHP, JS, JS frameworks, CSS, and more.

  • PHP Pluggable and Modular System – Part 2 (Implementation) [Event Dispatcher]

    PHP Pluggable and Modular System – Part 2 (Implementation) [Event Dispatcher]

    In the first series of this guide, we discussed the theoretical aspect of building a pluggable system in PHP, I wrote a bit of code in that guide plus a couple of stuff you should avoid, you can learn more here: PHP Pluggable and Modular System – Part 1 (Abstract View) In this guide, I’ll go over ...

    Read Full Post
  • PHP Pluggable and Modular System – Part 1 (Abstract View) [Observable and Mediator Pattern]

    If there is one thing that is brutally confusing to me ever since I started coding, it would be a way to not only implement a Modular system but a way to make it extensible (adding and removing plugins, yes, visually). For example, ClassicPress/Wordpress or Drupal are extensible by the way of Hooks, Actions, and Filters. Most ...

    Read Full Post
  • Best Way To Implement a Non-Breaking Friendly URL In PHP or Laravel or Any Language

    Best Way To Implement a Non-Breaking Friendly URL In PHP or Laravel or Any Language

    I was working on the link structure of my new Laravel app, and out of the blue I said: “What would happen if a user changes the slug of a post?” First Attempt – 301 Redirection The first solution I thought of is to keep the old URLs and do a 301 redirect to the new URL, while ...

    Read Full Post
  • HTML (plain-text) Email Template For Mautic

    HTML (plain-text) Email Template For Mautic

    Mautic doesn’t support sending plain-text email yet, but you can still mimic plain-text kinda email, here is an example: I’ll show you two ways to use this…. Method 1: Code Mode Go-to mautic code mode, and use the following code: <!doctype html> <html xmlns="http://www.w3.org/1999/xhtml" xmlnsv="urn:schemas-microsoft-com:vml" xmlnso="urn:schemas-microsoft-com:office:office"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="viewport" content="width=device-width" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" ...

    Read Full Post
  • Creating a Tiny PHP MVC Framework From Scratch

    Creating a Tiny PHP MVC Framework From Scratch

    In this guide, we would go over creating a tiny PHP MVC Framework, this would sharpen your knowledge on how major frameworks (e.g Codeigniter or Laravel) works in general. I believe if you can understand the practical concept in this guide, you’ll be able to relate the logic to the aforementioned framework real quick. Basics of ...

    Read Full Post

Sub Categories