Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mikece
27 days ago
|
parent
|
context
|
favorite
| on:
The HTML template is the core of all front end vs....
"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?
fullstacking
27 days ago
[–]
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.
fullstacking
27 days ago
|
parent
|
next
[–]
I almost look at this like its a model / template but the model is a map and the template is universal
fullstacking
27 days ago
|
parent
|
prev
[–]
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:
Wouldn't that be like a ViewModel in MVVM?