惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cyberwarzone
Cyberwarzone
S
Secure Thoughts
L
LINUX DO - 热门话题
C
Cyber Attacks, Cyber Crime and Cyber Security
C
CERT Recently Published Vulnerability Notes
P
Privacy & Cybersecurity Law Blog
A
Arctic Wolf
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Cybersecurity and Infrastructure Security Agency CISA
大猫的无限游戏
大猫的无限游戏
U
Unit 42
Recorded Future
Recorded Future
Hacker News: Ask HN
Hacker News: Ask HN
F
Full Disclosure
Spread Privacy
Spread Privacy
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Know Your Adversary
Know Your Adversary
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
云风的 BLOG
云风的 BLOG
Stack Overflow Blog
Stack Overflow Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
T
Threatpost
I
InfoQ
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Cloudbric
Cloudbric
L
LangChain Blog
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
S
Security @ Cisco Blogs
B
Blog
T
Threat Research - Cisco Blogs
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
D
DataBreaches.Net
Simon Willison's Weblog
Simon Willison's Weblog
P
Proofpoint News Feed
Microsoft Security Blog
Microsoft Security Blog
Blog — PlanetScale
Blog — PlanetScale
B
Blog RSS Feed
MongoDB | Blog
MongoDB | Blog
W
WeLiveSecurity
Forbes - Security
Forbes - Security
O
OpenAI News
C
Check Point Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The Last Watchdog
The Last Watchdog
H
Help Net Security
SecWiki News
SecWiki News

CloudCannon Blog

Building with AI: Git-based vs headless vs traditional CMS CloudCannon + Astro: performance meets powerful content management Introducing the Astro Component Starter Introducing Jetstream — built on the Astro Component Starter Why we switched to the system font stack Redesigning CloudCannon’s docs with Diátaxis, Lume, and Pagefind Make content editing more visual: upgraded Editable Regions How Configuration Mode makes building editing interfaces easy Your hosting just got an upgrade (and a price cut) Custom testing domains for professional branding Keep your content consistent with input validation Managing multilingual content in CloudCannon Simplify team publishing with conflict resolution and domain tools Open Beta: Publishing Conflict Resolution Getting started with CloudCannon and Astro: Bookshop, components, and live editing Welcome to the CloudCannon Community! Omnichannel delivery is just marketing spin from API-based CMS companies Getting started with CloudCannon and Astro: Snippets and Collections Managing digital assets in CloudCannon: a guide to smart asset storage Understanding CloudCannon's branching workflows and Projects: a complete guide What is a static website? CloudCannon’s 2024 wrapped Getting started with CloudCannon and Astro: WYSIWYG blogging Jamstack vs. WordPress: reasons to make the change The top five static site generators for 2025 (and when to use them!) Free Jekyll themes for 2025: ten great community options Eleventy (11ty) vs. Hugo How to set up WYSIWYG editing with MkDocs Material The rise of static-first websites: why major brands are making the switch Watching your Core Web Vitals on Jamstack Understanding the difference between static, dynamic, and hybrid websites Looking for an alternative to Netlify CMS or Decap CMS? Designing components for your website editors: a CloudCannon case study Does my website look big in this? Six tips to lower your page weight Content is sacred — so own your revision history The eternal balancing act: load time vs. delay time Streamlined Headless Mode, Unified Configuration, and live data editing What is a headless CMS? Looking for a TinaCMS or Tina Cloud alternative? The ultimate guide to Hugo Sections Coming soon: Live config editing and data reloading Faster publishing workflows out now! Why information architecture matters for your website Website UX vs SEO: picking your battles Easily manage your multilingual Astro site in CloudCannon How you can optimize publishing workflows for your content team How you can optimize your CMS for SEO success How you can optimize your Content Editor for long-form articles How you can optimize your Visual Editor for page building Secure, swift, and stable: static sites for the financial sector Enhanced flexibility for teams with Custom Permissions Building static sites that scale The Inaugural 11ty International Symposium on Making Web Sites Real Good How to manage hundreds of connected websites with a Git-based headless CMS How we’re building CloudCannon for accessibility CloudCannon’s new editing improvements are here! Open Beta | New ways to collaborate on editing your websites Top 11 free Eleventy themes for 2024 Top 10 free Astro themes to use in 2024 Why choose a Git-based headless CMS over a monolithic DXP in 2024? Learning web development: a self-guided roadmap Partner Site of the Month: Blüthner Piano Centre, by Winteractive CloudCannon’s 2023 wrapup Let’s create a microblog with visual editing using Bookshop and Eleventy Update and visualize your branches with CloudCannon Projects What is a Git-based CMS and why you should use one CloudCannon secures SOC 2 certification The complete guide to growing your web development agency Automatically optimize your images with Eleventy Image and CloudCannon Share components and syndicate content with Site Mounting Partner Site of the Month: Cru Uncorked, by Ed Meehan New web component for responsive HTML tables Wrapping up HugoConf 2023 Partner Site of the Month: Van Dillen Antieke Bouwmaterialen, by Fulldev How to become a freelance web developer: a comprehensive guide Q3 2023: CloudCannon features and improvements 22 ways to deliver more value to your web development clients Partner Site of the Month: DC Gay Flag Football League, by Ed Cupaioli A new way to configure your CloudCannon sites CloudCannon — the official CMS partner of Eleventy Full CloudCannon support for Nuxt static sites Partner Site of the Month: Stadium Bike, by Insight Creative, Inc. HugoConf 2023, brought to you by CloudCannon DAM Support for Cloudflare R2 and DigitalOcean Spaces Eleventy (11ty) vs. Gatsby in 2023 – which SSG is best for you? How CloudCannon’s live editing works with Astro and Bookshop Partner Site of the Month: Fiducian, by Croissant & Baguette Eleventy (11ty) vs. Astro How to customize CloudCannon’s Client Sharing interface Let anyone, anywhere, edit your CloudCannon sites Top 23 free Astro themes for building out-of-this-world static sites in 2023 How Jampack optimizes our Eleventy website and improves performance Astro vs. Next.js CloudCannon.com is now built with Eleventy! Out-of-this-world support for all Astro users Introducing the CloudCannon Partner Program Full CloudCannon support for Gatsby Top 10 Free SvelteKit Themes for Building Lighting-Fast Static Sites in 2023 Enhanced CloudCannon support for Next.js users Upcoming CloudCannon Interface improvements (Open Beta)
Artisanal Web Development
2022-10-12 · via CloudCannon Blog

On our last episode of Static Feedback, I spoke with Joost van der Schee about ‘Artisanal Web Development’, the approach he takes to solo web development projects. Over the course of our conversation we talked at length about the importance of knowing the purpose and scope of each line of code, and the value of approaching new projects like this.

Joost interprets this approach as deliberately avoiding frameworks that ‘simplify’ code by including predefined classes and functions that are shipped client-side, even if they’re not used. In principle you’d think these frameworks would be helpful, and they certainly can be, on the development side. The trouble is, unless they’re pared back with additional tooling (like PurgeCSS, for example), even well designed and developed sites can bloat significantly.

When you’re working in teams, or handing off a site to a client developer who’s going to continue working with your front-end project, the most important thing to do is find common ground. This might take the form of a carefully scoped framework or a handcrafted component system, or code that you construct specifically for your use case.

Our conversation is above if you haven’t seen it, but we discussed three major arguments in favor of artisanal web development:

Faster loading websites Direct link to this section

If you avoid frameworks and third-party code your websites will usually be considerably smaller, and will thus load faster for users. And generally speaking, faster page loads means happier users!

Flexibility and efficiency Direct link to this section

If you know the purpose of every single line, you’re much more likely to be able to make small tweaks and adjustments to the site. If you’re working on a client site, it’s particularly important to know which aspects of the site are easy to change, and which would require additional development time.

Personal education Direct link to this section

Developers are typically life-long learners — it’s one of the most exciting parts of the job, and it’s hard to argue against the benefits of learning more about the code you ship. Unless you’re extremely time-poor or don’t see yourself making more websites in the future, the return on investment for learning the limits of your code will make the effort worthwhile.

Further to this point, your own learnings will accumulate to the point that you’ll want to record them for later use, making you a more efficient developer while also helping others following in your tracks. Joost, for example, keeps track of the common solutions he encounters on his community sites, Hugo Codex and Jekyll Codex.

As he notes in his own follow-up post, your own understanding of every line of code can even make you a better user of web frameworks, because you get a better understanding of the problems that these frameworks are trying to solve.

Extending the conversation Direct link to this section

As Joost has pointed out, over the course of our conversation there were a few other important benefits of the artisanal approach that we didn’t get to discuss.

Project stability Direct link to this section

Anyone who’s maintained a WordPress or Drupal site for longer than a few months at a time will likely be familiar with the concept of ‘dependency hell’, where a single out-of-date or broken plugin or extension can cause problems with other components. The artisanal approach tends to result in more stable projects, because it only relies on web standards that simply don’t change.

Privacy and security Direct link to this section

Third-party code in ‘black box’ containers like WordPress plugins — or indeed any externally hosted code — can be a huge risk from a privacy point of view. If you can’t see, understand, and approve the code you’re relying on, you might risk exposing user data or opening up your sites to attacks like cross-site scripting (XSS).

Constrained web development and sustainable code Direct link to this section

To be clear, the artisanal approach is a deliberate constraint. It’s a set of rules you define, and can choose to apply to yourself, or to a given project. Like most constraints, though, it does promote creativity — and often the most creative solutions emerge from rigorous constraints.

The open-source search tool Pagefind is a prime example of development under constraint, while also solving a distinct problem. In its case the constraint was network traffic — why ship a large search index file to every user, when indexes can be ‘chunked’ and served atomically, on demand?

The artisanal approach, then, is about making your websites both performant and sustainable, in the sense that they’re able to be maintained under a given set of constraints. Your constraints may be different from project to project, depending on your client, or you may bring a set of rules with you to each new site build.

No matter how permanent we might wish our sites would be, as Jake Albaugh writes, our code is always transient. Luckily, our best code can be the code right in front of us, and the best website we can make right now is the next one:

If you can justify the effort of writing your own code, you become more familiar with web specifications and learn just how robust they are on their own. You also end up with something that can be easier to maintain long-term because it is closest to the core evolutionary path of the web.

As long as you have a very clear idea of who you’re developing for — of who will work with your code, and what their level of knowledge will be — you’ll know whether the artisanal approach is right for you. But as Joost writes, it’s worth trying out on your personal project sites

Less is More Direct link to this section

Joost and I focused on knowledge in our conversation on Static Feedback, but we could have equally described the artisanal approach in terms of deliberate simplicity in development. Bringing these two concepts together is where a Git-based CMS like CloudCannon comes in — because CloudCannon is tightly integrated with the ways that your chosen SSGs build your sites, we’re able to offer much more flexible development and editing workflows, whether or not you prefer to take an artisanal approach to your code.