top of page

KIS: Progressively Decoupled Drupal, The EASY Way


#TODO: this post is still being composed....





I am a big believer in Keeping It Simple...life as a Tech Entrepreneur has taught me that over-engineering has a big cost, so i am going to outline a simple method to Progressively Decouple Drupal, The Easy Way!


...using pure javascript & html, using a small code snippet, inside an existing Full HTML Drupal Editor Body, out of the box Front End Drupal functionality, without the need to write an actual module to load your javascript in the backend with PHP.

Notice where the application is decoupled and how "The Top Buzzwords Today" sections, in the DOM canvas div area is lazy loaded on the fly using the relatively new Fetch AJAX call; Experience live here: https://buzzwords.news Screenshots below;

Nice, right? So how did i actually do it? Simple...like this:

I am going to provide code examples using Pure JavaScript, and the actual decoupling method...


Example Code: <pre><!-- Progressively Decoupled Dashboard --><!-- Style --> <link hr