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

The first time I saw the concept codified in a library was in a jquery function that allowed you to replace a part of the DOM. Either the method signature or the documentation pointed you to using it in pairing with AJAX requests.

The first webapp framework I saw it in was Rails (turbolinks). I came to Rails late and didn't stay long so I was never clear how old or how broadly used that feature was. Mostly what I got from Rails was being more comfortable writing NodeJS code, which stole shamelessly from Rails.



i wouldn't call Element.replaceWith a codification of html-over-the-wire


Nor would I. I was talking about load(): http://api.jquery.com/load/




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

Search: