Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"At compile I produce a “contract” that informs the back end what I “the front end” wants for the initial HTML response."

Wouldn't that be like a ViewModel in MVVM?



I dont know, maybe it instead is seen as a map of the model to native resources in that system and a language agnostic template with tokens that can be hydrated given they map to the model.


I almost look at this like its a model / template but the model is a map and the template is universal


maybe its more of a "how do we create a standard template" vs this is how I do this in x, y or z.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: