Ben Nadel demonstrates that the return value of the array.sort() operator in Lucee CFML 184.108.40.206 must fit into a Java Int. If the value is too large, Lucee will throw an error: invalid call of the function ArraySort, return value of the function cannot be casted to an integer….
Ben Nadel is freaking out over the developer ergonomics of Tag Islands and the Tag-based syntax that can be used within CFScript in Lucee CFML 220.127.116.11. It brings a certain perfection to the ColdFusion language – no obstacles, only green lights and open roads going forward….
By James Quick
With the growth of the JAMstack and its community, Static Site Generators are becoming more and more popular. In this article, let’s take a look at the top Static Site Generators of 2020!
Why Static Site Generators
First off, let’s quickly talk about the benefits of Static Site Generators.
Static Site Generators generate your site pages at build-time instead of real-time. This means that when a user requests a page from your site, there is no delay. No calls to a database. No generating of HTML. It simply responds with the file itself.
Because of this, the hosting of your files is incredibly easy. By hosting your website in a Content Delivery Network (CDN), your files can be replicated across the world for maximum speed.
Before Static Site Generators, developers would use popular Content Management Systems (CMS). Because of their popularity, they were often targeted by hackers. With Static Site Generators, you do
Ben Nadel looks at using an INNER JOIN within a MySQL UPDATE query in order to copy data from one database table to another. This is a particularly helpful SQL feature when it comes to data transformations and migrations….
Ben Nadel comes face-to-face with his past and feels deep shame over the way he has behaved. He seeks to apologize and atone for his sins. And, hopefully, become a better example to those in his life….
Ben Nadel looks at how parsing and serializing HTML content with htmlParse() in Lucee CFML 18.104.22.168 can cause iframe tags to become self-closing. This is not valid HTML; and attempting to render it will break your output. As such, you have to force the iframe tags to be rendered with a closing-tag….
By Chris on Code
Strapi is a tool that allows us to build a self-hosted backend quickly. You can host your Strapi installation and quickly build out your backend and database schema. Strapi will also give you a RESTful or GraphQL API out of the box!
There’s a lot to love about Strapi. It’s a Headless CMS that we can host ourselves. We can host Strapi on DigitalOcean using their 1-click installation and really speed up building our backend.
By Chris on Code
Scotch.io is a web development tutorial blog that started out as a writing journey for me. We specialize in tutorials that are easy to understand, practical, and focus on real-world applications.
The biggest challenges when creating a blog are about focus and consistency. As developers, it can be easy to become sidetracked and focus on things that aren’t our main value to our customers. Creating quality content is the best usage of our time. Figuring out how to host and scale our application servers is not the best use of our time.
DigitalOcean to the Rescue
Thanks to DigitalOcean, we were able to focus on content; we didn’t have to focus on creating servers for hosting or maintenance/scaling. DigitalOcean has all the tools that are incredibly simple to use.
Our competitive advantage is having high quality content. Our users don’t care abou
Ben Nadel demonstrates that escaped HTML entities become unescaped when being inspected when HTML is passed-through the htmlParse() function in Lucee CFML 22.214.171.124; and, how we went about accessing the original, escaped values….
Ben Nadel uses htmlParse(), XPath, and Lucee CFML 126.96.36.199 to transform 15-years of HTML content into Markdown files. This gets him ever-so-close to a fully-Markdown-driven authoring platform for his blog….