博文

Scripting News: Wednesday, August 27, 2025

图片
Wednesday, August 27, 2025 news.scripting.com continues to grow. There must be some word of mouth. Or perhaps people are refreshing it more often. I have no analytics except for a hit counter. Maybe I should do a little work on the site. Let me know if you have any feature requests. # Notes added to the What Is the Web doc. # The last few days we've been exploring the ideas behind the web, to decide what, if anything that we're doing today is either on the web or of the web. On the web seemed relatively easy. But of the web is a bit more elusive. Until Ken Smith found this quote of Ted Nelson in the original 1989 proposal by Tim Berners-Lee for what would become the web. "Human-readable information linked together in an unconstrained way." I like this, because it, like the definition I came up with for weblog , talks about the activity as opposed to the technology. Human-readable is essential. And most essential is "unconstraine...

🔥 (232) Using useRequestHeader, Reusing Code, and Global Properties

图片
Read this on my blog Hey! Tomorrow is the last day of the Advanced Reactivity course launch and the 35% off discount. If you were hoping to pick it up, don't forget to check it out! Get Advanced Reactivity here Otherwise, I hope you enjoy the tips and articles I've got for you in this newsletter. Have a great week, — Michael 🔥 Using useRequestHeader Grabbing a single header from the request couldn't be easier in Nuxt: const contentType = useRequestHeader ( 'content-type' ); This is super handy in middleware and server routes for checking authentication or any number of things. If you're in the browser though, it will return undefined . This is an abstraction of useRequestHeaders , since there are a lot of times where you need just one header. See the docs for more info. 🔥 Reusing Code and Knowledge Don't Repeat Yourself — an acronym that many know but many don't correctly understa...

Scripting News: Tuesday, August 26, 2025

Tuesday, August 26, 2025 ChatGPT is the Lotus 1-2-3 of search. Google is Visicalc. # The consensus among the people who responded to my what does "on the web" mean query is this. Something is on the web if it has a URL you can use to view it in a web browser. That means, in 2025, that the URL begins with HTTP or HTTPS. Every "page" on a site must have a URL so they can be pointed to independently, otherwise known as deep linking. It's not enough to just have a home page that's on the web. So for example, an iPhone app isn't on the web just because it has an information page that is. # I'm working my way through Mr Robot, for the third time I think. If you want to know what I do, it's like what Elliot does, for about four hours pretty much every day. I used to work longer hours but I've found this amount of work is optimal. I make more mistakes after about 1PM. Anyway Mr Robot is a very good thing to watch for the time...

Scripting News: Monday, August 25, 2025

Monday, August 25, 2025 I asked, yesterday, on various social media sites, for people's opinion on what the term "on the web" means. I'm going to compile the answers on a this.how page , and then ask some follow-up questions. If you have an opinion, post a comment on Bluesky , Mastodon , Threads or Twitter . # I've been exchanging emails and voicemails with Dan Knauss , a longtime WordPress developer and one of the hosts of WordCamp Canada which I am speaking at in October. Learning a lot about the community and culture. I wonder, have I ever been part of a community that's over 20 years old? I can't think of one off the top of my head. I have gotten this far without knowing much about the WordPress community, other than what I've heard via Matt and what I've been able to infer from that. I've known Matt since he was a teenage boy wonder in the tech industry working at CNET and then as an entrepreneur. I think my point of...

Weekly Vue News #212 - Mastering Vue Directives, Nuxt SDK Deep Dive & Tools that Speed Up Development

图片
Weekly Vue News #211 Mastering Vue Directives, Nuxt SDK Deep Dive & Tools that Speed Up Development View online Hi 👋 Last week, I dedicated significant time to automating the creation of newsletter issues. Previously, this was a manual process: I would copy each scheduled post, paste it into a custom Raycast extension to convert it to Vue code, and then transfer it into my code editor. Now, with a fully automated workflow running on my self-hosted n8n instance, this process is streamlined and saves me a lot of time. ...