4 ms·
data = models.getEntries() html = template.render('blog',data) I may be wrong, but these two lines has to be blocking
by armandososa 16y ago
data = models.getEntries()
html = template.render('blog',data)
I may be wrong, but these two lines has to be blocking
- Kilimanjaro 16y agoThat's the whole point, I don't care, hide that complexity from me. I can't render the page unless I have the data and I don't want to deal with callbacks, coroutines, monads, or what not, so I'll wait patiently for the data to come back.
- deleted 16y ago[deleted]
- armandososa 16y agoWell, yeah, I'd like to see that too. Just like ruby or PHP, only with JavaScript syntax. Sorry for pointing the obvious;