Thank you to everybody who offered advice. I've set up a Vue/Vite environment on my laptop and started working my way through the tutorials. Some stuff makes a lot of sense; other stuff not so much yet, but I'm working on cleaning out some old neural storage areas to make room for new knowledge.
I think what would help me at this point was being able to look at the source for some well-written Vue apps written to work in the wikipedia environment. If folks could point me to some examples, I would appreciate it. Are there higher-level wrappers around the Action API, like pywikibot for Python, or do you just do raw fetch calls on the API endpoints? > On Aug 8, 2024, at 1:14 PM, Travis Briggs <audiod...@gmail.com> wrote: > > Vue.js is definitely a good option. I already had a lot of JavaScript > experience, but I learned Vue at someone's recommendation for a wikimedia > project and it was a great experience. > > One quick tip that might help you: in the "old world" you might use jQuery or > something to do AJAX requests (XHR). However, in modern browsers, the > built-in `fetch` function is more than adequate for almost everything. > > Also, I would highly recommend using create-vue to bootstrap your project, > because it sets up all the complicated JavaScript "compilation" steps for > you, and gives you commands so that you can just do "npm run build" and get a > static site in a single directory. > > Good luck! > -Travis > > On Thu, Aug 8, 2024 at 8:36 AM Kimmo Virtanen <kimmo.virta...@gmail.com > <mailto:kimmo.virta...@gmail.com>> wrote: >> Hi, >> >> Vue.js is afaik current choice. >> - https://www.mediawiki.org/wiki/Vue.js >> >> -- Kimmo >> >> On Thu, Aug 8, 2024 at 6:34 PM Roy Smith <r...@panix.com >> <mailto:r...@panix.com>> wrote: >>> I'm about to embark on building a client-side javascript tool intended to >>> help with enwiki's [[WP:DYK]] process. JS is not my strength (and what I >>> do know about tooling is quite outdated) so I'm looking for advice on >>> what's in common use in the WMF environment these days. If I'm going to >>> learn some new tools, I figure I might as well learn what folks here are >>> using. If only because it'll make it easier for me to mooch on other >>> people for help :-) >>> >>> As far as testing goes, I used to use JUnit. I gather that's pretty >>> old-hat by now. What are you-all using? >>> >>> And for app frameworks. Angular? React? I hear Vie might be the new >>> hotness? I'm leaning more towards "easy to learn" vs "most powerful". >>> _______________________________________________ >>> Cloud mailing list -- cloud@lists.wikimedia.org >>> <mailto:cloud@lists.wikimedia.org> >>> List information: >>> https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/ >> _______________________________________________ >> Cloud mailing list -- cloud@lists.wikimedia.org >> <mailto:cloud@lists.wikimedia.org> >> List information: >> https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/ > _______________________________________________ > Cloud mailing list -- cloud@lists.wikimedia.org > List information: > https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/
_______________________________________________ Cloud mailing list -- cloud@lists.wikimedia.org List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/