hanakin wrote: ↑Wed May 02, 2018 1:08 am not true pure js is getting better but still does not compare to jQuery and can not do anything vue can do
CHItA wrote: ↑Wed May 02, 2018 6:29 amas far as I know, we only use jQuery to toggle classes and select elements
DavidIQ wrote: ↑Wed May 02, 2018 9:01 amWe leverage jQuery for all things AJAX
I'm not convinced - to me the reasons being dependent on doing so are old enough to reconsider them. What has happened to the approach of "
JS should enhance a website, not be a requirement"? For me, when a website can't be used/rendered without JS then I always imply lousy designer skills.
Back in 2010 I already wrote my own code to
- use AJAX whenever I needed: 30 lines in 4 functions (uses re-attempts when a transfer has failed)
- colorize password complexity
- show the first thumbnails being used in a topic when viewing a forum (displaying a non-reduced picture when hovering the mouse cursor over that thumbnail)
- render auto complete comboboxes, including normalizing texts (ignoring diacritics, so you're able to type in
á
but still find a
and vice versoa; synonyming letters, so you're able to type in Б
but still find b
and vice versa...)
- create, reorder, modify and change DOM elements, including loading another JS file - that's all no black magic and done pretty straight, being tested in MSIE, FFOX/WFOX, SAFA, CHRO/VIVA, OPER
- enhance the editor: marking three lines and then hitting the LIST button will automatically start each line with the asterisk BBCode; marking a text and then hitting the URL button will automatically ask for an address; marking an address and then hitting the URL button will automatically ask for a text; hitting the URL button without any selection will ask for both; the textbox is freely resizable by dragging its bottomright corner...
and none of that is required - everything has a fallback when JS is not available/wanted. Not being dependent on any other framework, including their way of treating things, their releases, and their issues.
Those are my examples. What is so complicated in
phpBB that it needs a JS framework? Can CSS issues only be resolved thru JS? What are most prominent examples?