Googling around, I found an awesome little script that allows you to transform python’s SimpleHTTPServer into a CORS enabled server. I copied the above gist into a folder, then within that made a “data” folder where I put CSVs and JSON files for local projects I’m working on. My CORS server file structure. Now, when […]
It’s no secret that I love automation and making my job more efficient. Netlify has been a game changer for deploying web apps and static sites. However, Netlify isn’t an ideal solution for deploying static sites to sub-directories because by default it deploys to the root of a domain. Maybe it’s possible to change this […]
Ever since I tried Netlify, I have less patience for FTPing files to a server. I’m trying to automate as much of my work as possible to take out the possibility of human error and save time. Here are a few resources I’ve found that have helped me out immensely. Netlify – This is the […]
I’m currently developing a component for a project that has a video background with some moving type on top of it. It looks great except when it gets down to mobile. I’ve also encountered this problem when trying to make video heros; they look great on large screens but if you keep the video ratio […]
Often times I’ve seen articles talking about the benefits of components to developers, but less often I see articles talking about the benefits of components to site builders and editors. Component-based theming and site building is where the web is going. WordPress is there with Gutenberg’s block system. Drupal uses Paragraphs, Layout Builder, and probably […]
I’m currently in the process of moving my beloved WordPress blog over to Eleventy and it’s been a really awesome opportunity to learn some new things. During the migration, I noticed my syntax highlighting for HTML tags looked a little weird. The lines were highlighted and the text was all caps. Example syntax showing the […]
If you’re looking for a great article that gets right to the point and shows you how to interact with Drupal using the JSONAPI, look no further. This article by Sergey Linkin explains it all.
Probably. This is a question I recently asked in the Drupaltwig Slack #pattern-lab channel. Some background: I recently had a situation where I had a “Page introduction” component. This component has 1 field, and it’s a WYSIWYG field, which means it needs to print HTML. Here is the structure of my component: page-introduction |- page-introduction.twig […]