博文

目前显示的是 二月 26, 2025的博文

Scripting News: Wednesday, February 26, 2025

图片
Wednesday, February 26, 2025 People give Matt Mullenweg a lot of grief, but do they realize how hopeless the open web would be if he and his friends hadn't kept it going for 20+ years. I wrote the other day that I feel like a time traveler , discovering WordPress 20 years after I left UserLand. I care that it's open source, but I care much more that it's open web esp after we've been so thoroughly dominated by feature-limited silos such as Twitter, Facebook and yes -- even Mastodon and Bluesky. Even if there's a theoretical way to do it, practically speaking we have to wait for their developers to implement the features we want. Open source doesn't help there, but open web does. Matt puts the emphasis on the open source part, that's why it wasn't until very recently that I realized that open web is more important, to me at least. # An email arrived from the Social Security Administration entitled Help Us Slam the Scam. Explains how no...

🔥 (#206) Options Object Pattern, v-once, and Nuxt Plugin Dependencies

图片
Read this on my blog Hey! This week I started recording the first lessons for Mastering Nuxt. This is a complete redo, so we're starting from scratch, and building a ChatGPT clone. (and if you already own Mastering Nuxt 3 you'll get this brand new one for free!) I've also been working with the team at Vue School on putting together the marketing plan for this course launch. Things are starting to happen, and I can't wait for you to get this course! Next week I'll be sharing a bit more about what you can expect from the course itself. Have a great week and enjoy the tips, — Michael 🔥 Example of a Composable Using the Options Object Pattern Let's create a useEvent composable that will make it easier to add event listeners. We'll use the EventTarget.addEventListener method, which require the event and handler parameters. These are the first two required parameters: export function useEvent ( event...