33. MS JavaScript and HTML Syntax Checking
The Problem
Business applications benefit when framework-specific syntax and component mistakes are caught before deployment.
The Angular Difficulty
Angular's TypeScript and template compiler provide strong diagnostics, but the checks belong to the Angular/TypeScript toolchain rather than a single MS component syntax model.
Angular Approach
@Component({
selector: "app-customer",
template: `<button (click)="save()">Save</button>`
})
export class CustomerComponent {
save() {}
}
// Angular compiler / TypeScript / template diagnostics report errors.
MS Approach
ManySet provides a direct runtime-oriented approach for this recurring business-application task.
// MS compiler checks MS, JavaScript and HTML syntax at compile time.
// This keeps component validation close to the MS component model.
Why this way is useful in business applications :
The comparison is intended to show where ManySet supplies a business-application abstraction around a recurring task, while keeping HTML and JavaScript visible and directly usable.
Key Point :
ManySet reduces the amount of framework-specific composition required for this particular task, without requiring the React/Angular mechanism to be represented as inherently wrong or incapable.