Thursday, March 16, 2023
HomeColdFusionIncrementally Using Hotwire To An Existing ColdFusion Application

Incrementally Using Hotwire To An Existing ColdFusion Application

Over the previous couple of months, I have actually been discovering the Hotwire structure from Basecamp. Hotwire consists of using Turbo for boosted efficiency and also Stimulation for vibrant communications. There is something extremely luring concerning the Hotwire approach and also the method it drives dynamic improvement. However, going down Hotwire right into a ColdFusion application isn’t smooth. Submit expansion constraints and also type handling reroutes, as an example, required a minimum of some adjustments to the method you designer your Controller layer. I wish to begin making use of Hotwire on my ColdFusion blog site; yet, I recognize my code isn’t “Hotwire prepared”. Because of this, I wished to take a look at exactly how I can incrementally use Hotwire to my existing ColdFusion application.

Sight this code in my ColdFusion + Hotwire Demos task on GitHub

As I pointed out above, Hotwire isn’t “something”, it’s an umbrella of modern technologies that interact to attempt and also develop day spa (Single-Page Application)- like experiences in addition to MPAs (Multi-Page Application). Turbo consists of “Turbo Drive”, “Turbo Frames”, and also “Turbo Streams”; and also, functions to improve web page navigating, partial web page updates, and also lazy-loaded web content. Stimulation is the specific JavaScript layer that includes vibrant interactivity to an offered component of the DOM (File Things Design).


Most Popular

Recent Comments