Hi Dave,

As you post this you here, you should be aware of the way Angular does its 
templates. Doesn't really fit any of your descriptions. Angular goes beyond 
what you describe in your product. Actually angular has its own template 
compiler, verifies, and lints your template, and warns and protects you 
about from all the things you mention in your article. It takes in 100% 
standard compliant HTML templates, and outputs highly optimized JS that can 
recreate the same thing in for example the DOM. However, it's not limited 
to the DOM. There are more possibilities. For example, if you use Angular 
Universal, you can output it to strings, for rendering on the server. Also, 
nativescript is using this system, to create native apps for mobile 
platforms. 

This way, you still have the nice separation of concerns. Templating  is 
done in the template language and logic is done in a programming language. 
Believe me, that is way better as this JSX thing. I did build somethign 
similar like JSX somewhere in 97/98. Did exactly the same thing as JSX, 
only not for javascript but for a entirely different language. Had to 
support that, for other developers. Believe me, it's the wrong solution. 
Edge-cases around every corner, and loads of those.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to