document.querySelector is basically just jQuery's $, but as a standard browser feature.
jQuery UI maybe not - as you say, much (but not all) of what it was good for can now be done directly in HTML5. However, it gives me an architecture for building custom widgets (and a wide range of existing examples to start from) which is what I need, since my HTML skills are rudimentary (to say the least!) and I want to spend my time writing Propeller stuff, not webby stuff.
Huh. I was expecting you to defend jQuery UI more strongly than jQuery - building hybrid custom controls is still often nontrivial with plain DOM, and I wouldn't mind a decent widget library as long as it was small, had no dependencies, and used the modern DOM APIs.
Huh. I was expecting you to defend jQuery UI more strongly than jQuery - building hybrid custom controls is still often nontrivial with plain DOM, and I wouldn't mind a decent widget library as long as it was small, had no dependencies, and used the modern DOM APIs.
You may be right - I am going mainly by what I read online. For myself, I know just enough JavaScript, HTML and jQuery to be dangerous
But what I do know is that when I went looking for free and open source widgets suitable for what I want to do, I found lots of ready-made jQuery ones that were simple enough that I could modify them to suit my needs. Plenty of nice and shiny (and expensive!) frameworks, but not a lot of stand-alone libraries, which is what I need.
I'll post a working demo in the main Catalina thread sometime soon. It is very rough and ready - really more of a simple proof of concept - but the HTML and JavaScript are in a separate file to the Lua code, so you could easily re-code the entire web side in HTML5 etc. It is the Lua stuff that I am interested in, not the web stuff.
Comments
Are you not familiar with modern JS? You can do all the main things jQuery used to do in plain vanilla JS with the likes of
document.querySelector
is basically just jQuery's$
, but as a standard browser feature.Huh. I was expecting you to defend jQuery UI more strongly than jQuery - building hybrid custom controls is still often nontrivial with plain DOM, and I wouldn't mind a decent widget library as long as it was small, had no dependencies, and used the modern DOM APIs.
You may be right - I am going mainly by what I read online. For myself, I know just enough JavaScript, HTML and jQuery to be dangerous
But what I do know is that when I went looking for free and open source widgets suitable for what I want to do, I found lots of ready-made jQuery ones that were simple enough that I could modify them to suit my needs. Plenty of nice and shiny (and expensive!) frameworks, but not a lot of stand-alone libraries, which is what I need.
I'll post a working demo in the main Catalina thread sometime soon. It is very rough and ready - really more of a simple proof of concept - but the HTML and JavaScript are in a separate file to the Lua code, so you could easily re-code the entire web side in HTML5 etc. It is the Lua stuff that I am interested in, not the web stuff.
Ross.