Raymond Camden, a developer advocate, writes web development tutorials on JavaScript, mobile apps, serverless, and JAMstack.
HN links his posts on iOS 8 IndexedDB problems, the BrowserQuest client-side cheat, and desktop apps with Ionic and Electron.
I just ran into this quote somewhere (I am rewording cause I can't find it)
"It's like eye glasses, you'll know when you need them" - Some smart guy
I needed something jQuery could not provide, easing my work load.
Let's look at this from 2 different perspectives:
1. You're building an app, and work with multiple tables to render and work with. And you have integrated form elements with the table cells that affect other cells. You need to add/remove items using AJAX data calls to the server and sync the display with the server data. And you fully expect to be making more changes in the future.
2. You have a table on a website(s) as content you want sorted.
I've used jQuery to do both, but with Vue.js I cut my code base down by 1/10th at least, and it works smoother and easier and way easier to extend and add new features.
I have used jQuery exclusively for all my front end work, but I have an app that just kept needing more and more features. And every time I had to add a feature I went through so many hoops and patching stuff and dealing with edge case uses, and _hoping_ the jQuery plugins I was using had my back when I upgraded jQuery, or when I needed just a slight tweak on how a table was to be manipulated.
With Vue.js, adding sorting to a table was literally 5-10 lines of code, that I have total control over. This is possible because I don't have to deal with the html directly.
I was a die-hard jQuery man just last month, if you have the time, read my other…
I don't understand what you're talking about. Jquery is still a highly effective library and nearly every project I use ends up using it in one way or another - even with vue.js.
Jquery is JUST jquery. There is no pulling in 300 other packages to support it. It's also very stable, reliable, efficient enjoyable.
this is how you might sort a table using a Jquery library:
$("#myTable").tablesorter()
And here's how to do it in Vue (first search result for vue table sort):
https://www.raymondcamden.com/2018/02/08/building-table-sorting-and-pagination-in-vuejs
You'll note that it is a lot more code to sort with Vue than with a jquery library.
Don't get me wrong; I like Vue; But Jquery offers one line of code that enhances the existing HTML you have, where doing it with Vue.js requires delegating the entire table render to Vue, which may not be easy or even doable depending on the project.
I think things like Vue.js or stimulus.js let Jquery do more with what it's good at and less of what it's not. I'm very happy to have Jquery in my toolbox and I doubt I'll ever stop using it at this point. You're welcome to hate on it, call it dated or what have you - i still love it and it's still the best tool for quite a lot of jobs.
> I would be surprised to see any web standard that makes iOS Safari better for "appy web apps" (web apps that are more like native apps rather than documents and forms) implemented, as that eventually just makes Safari an alternative AppStore without reviews.
Which is pretty much what Apple has been pushing since before there was an appstore? To this day it takes just 2 taps (share > add to home screen) to add a webapp to the phone as a "standard application" (with a homescreen icon and everything)
There's plenty of serious crap[0] in the apple web ecosystem, but it doesn't really seem related to "webapps as appstore replacement"[1][2][3].
[0] http://www.raymondcamden.com/2014/09/25/IndexedDB-on-iOS-8-Broken-Bad/
[1] http://caniuse.com/#search=websql
[2] http://caniuse.com/#search=audio
[3] http://caniuse.com/#search=webgl
Some links I found helpful while trying to make a sudoku game with angularjs (https://github.com/mouradmourafiq/angular_sudoku):
http://deansofer.com/posts/view/14/AngularJs-Tips-and-Tricks-UPDATED
http://www.yearofmoo.com/2012/10/more-angularjs-magic-to-supercharge-your-webapp.html
http://blog.petermolgaard.com/tag/angularjs/
http://onehungrymind.com/angularjs-sticky-notes-pt-1-architecture/
http://www.raymondcamden.com/index.cfm/2011/11/29/My-first-AngularJS-application
A google discussions about the difference between factory and service:
https://groups.google.com/forum/?fromgroups=#!searchin/angular/service$20factory/angular/56sdORWEoqg/VxECXKbn3gsJ
We are doing some larger scale desktop stuff with Ionic right now, and someone from the community wrote about doing something similar: http://www.raymondcamden.com/2015/07/23/some-initial-thoughts-on-building-desktop-apps-with-ionic-and-electron
It's interesting. Not sure where we'll take it, but I love the idea of one code base running everywhere, including desktop.
OpenWhisk - an open source project (http://openwhisk.apache.org/) supported by IBM, Red Hat, and others. I've got quite a few blog posts on it if you want to see some examples (https://www.raymondcamden.com).
Disclaimer - I work for IBM.