By Chris on Code
Prismic is a Headless CMS that provides a clean user interface. By using Prismic, we can avoid having to build out our own dashboard and CMS for our sites.
The power of using a Headless CMS is that we can have a solution out-of-the-box in a matter of minutes. We can then focus on what makes our product special, like our UI/UX, content, and more.
Prismic is generous with their pricing for people starting out their new sites. I’m running this tutorial on the free tier. They are also generous with their API usage; it’s unlimited!
For alternatives to Prismic, you can look at hosted solutions like Contentful,
Ben Nadel looks at using an INNER JOIN within a MySQL DELETE query in order to delete data from one table that matches the constraints applied by another table; such as deleting related data-sets that have been spread across several, normalized tables….
Ben Nadel is thrilled to see that his SQL DEBUG comments show up in both the FusionReactor Cloud and Enterprise dashboards. This makes identifying performance bottlenecks in the database so much easier….
Ben Nadel updates his blog-comment database table to use the utf8mb4 character set in MySQL. This should allow emoji to be used in his blog’s comments….
Ben Nadel demonstrates that the return value of the array.sort() operator in Lucee CFML 126.96.36.199 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 188.8.131.52. 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 184.108.40.206 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….