Re:10th Anniversary of JQuery
by gotchange on Thursday January 14, 2016 @01:36PM
(#10903356)
The weak DOM API not JS was what plagued the early web period from 2000 - 2005.
[ Parent
| on HN ]
Maybe I'm just old, but from the perspective of the current day, I'd call the early web period 1990-1995. Or possibly 1990-2000.
1990-95 is pre-Netscape -- that's kind of pre-history.
(I too am old enough to remember the internet before the web. You really had to work hard to goof off at work when all you had was nntp, archie and gopher.)
> You really had to work hard to goof off at work when all you had was nntp, archie and gopher.
Nonsense, I could goof off quite easily with nntp :)
What, you didn't use mosaic? I used mosaic, on VMS no less.
I did too, on SunOS. I remember the early days when renavigating to a page would just pull up the cache version and not refresh automatically -- I didn't understand why wsj.com wasn't publishing new content daily.
And I still miss the spinning globe.
I used Internet Explorer on SunOS for testing Applets on Windows and Unix.
2000-2005 is the early "dynamic html" period. Or at least that's what I put on my resume at the time.
Re:10th Anniversary of JQuery
by icebraining on Thursday January 14, 2016 @04:42PM
(#10904742)
I just had a pang of nostalgia after I checked and saw that Dynamic Drive is still online :)
Dynamic Drive was how I learned Javascript back in the day! Pulling apart how the author of a script had written it, to see how to get the snowflakes drifting down my page become leaves instead ;)
Actually DHTML goes back to 1997 (with Netscape Navigator 4 and Internet Explorer 4).
Not maybe, but yes.
Not weak, but every browser had their own non spec API functions to traverse the DOM in various ways. JQuery offered an easier cross browser API, whereas otherwise one would have to handle various bugs and different API functions.
Particularly events. I think there are technically 3 different ways to create event handlers, one for each of the major js engines of the early 2000's.
Re:10th Anniversary of JQuery
by TazeTSchnitzel on Thursday January 14, 2016 @01:57PM
(#10903510)
Listeners are complicated, but .onclick and friends work everywhere and always have.
For the simplest cases, yes, but even there you could easily find oddities with things like cancellation, bubbling, timing with regards to other events, support for various element types, etc.
Here's a whole list just for click, which is probably the most standardized event handler, and doesn't even go back before the IE5.5 era:
Re:10th Anniversary of JQuery
by LoSboccacc on Thursday January 14, 2016 @04:15PM
(#10904538)
to double down, touch events on mobile browsers are in a different order than mouse event in regards of onclicks, so that a touchend and mouseup fire at the opposite side of the click event on some mobile browser but not all.