Simpler XAML in .NET MAUI 10 - .NET Blog

Make your .NET MAUI XAML more consistent and easier to read with global and implicit XML namespaces.

.NET Blog

INotifyPropertyChanged vs DependencyProperty Which Is Better? | with Michael Hawker.

https://www.youtube.com/watch?v=qGwzQiwGIx8

#xaml #dotnet #csharp #databinding #mvvm #mvvmtoolkit #communitytoolkit

INotifyPropertyChanged vs DependencyProperty Which Is Better?

YouTube
How to bind to functions from XAML in .NET MAUI

Learn how to bind to ViewModel functions from XAML in .NET MAUI using a combination of data triggers, multi-bindings, converters, and function delegates

Julian's Blog
Implement ICommand with Metalama

Learn how to implement the ICommand interface with minimal manual effort using Metalama, demonstrated through an example application.

I have been spending a lot of the past month working on a Vue / Firebase side project, so this is going to be a fairly short post.  I recently discovered that there are modifiers for v-model in Vue.  I wanted to take a moment to cover what they do.

.lazy

Instead of the change being reflected the moment you make it, this modifier makes it so that the change syncs after change events.

See the Pen
Vue v-model with .number modifier
by Joe Steinbring (@steinbring)
on CodePen.

.number

This modifier uses parseFloat() to cast the value as a number.  This is a good one to use with inputs that you are already using type=”number” with.

See the Pen
Vue v-model with .lazy modifier
by Joe Steinbring (@steinbring)
on CodePen.

.trim

This one is pretty straight-forward.  It simply trims any extra whitespace off of the string.

See the Pen
Vue v-model with .trim modifier
by Joe Steinbring (@steinbring)
on CodePen.

https://jws.news/2024/v-model-modifiers-in-vue/

#DataBinding #JavaScript #VueJs

Vue.js – JWS.news

Posts about Vue.js written by steinbring

JWS.news

This is going to take some getting used to, also. 🤨

#React #DataBinding

#Development #Proposals
The future of native HTML templating and data binding · W3C Community Groups are addressing much-awaited web features https://ilo.im/14mnqh

_____
#W3C #WebStandards #WebDev #Frontend #HTML #JavaScript #HtmlTemplating #DataBinding #Signals

It's 2023, and I am honestly perplexed that sending custom request headers is still a pain-in-the-ass with some #JavaScript #web frameworks.

Custom request headers were supported by *#ActionScript* in 2005.

(walks away grumbling to self about javascript frameworks stuck on an innovation threadmill, reinventing #ModelViewPresenter, #DataBinding, and component frameworks over, and over, and over, and over again)