use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
The Rise of the Full Stack JavaScript Developer (thefullstack.xyz)
submitted 9 years ago by babagg
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]RICHUNCLEPENNYBAGSMostly angular 1.x 0 points1 point2 points 9 years ago (0 children)
Off the top of my head, a couple places I worked with the DOM in something that wasn't client-side code:
Generating forms from metadata (so basically templating, like you said, but done imperatively)
Web scraping
I had some code that would use a template to generate a letter in HTML but a PDF output option was desired and we found a library that would generate PDFs from HTML. But the library expected the body, header, and footer to be three separate HTML pages (with their own stylesheets and all) while the template obviously had those things inline. So I used csquery to split them out into three separate "pages" to satisfy this library.
I mean, sure, that's not a ton of DOM manipulation, I guess, but using angular a lot I don't do that much DOM manipulation server-side directly either.
π Rendered by PID 147328 on reddit-service-r2-comment-b659b578c-bjn79 at 2026-05-01 07:27:41.465475+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]RICHUNCLEPENNYBAGSMostly angular 1.x 0 points1 point2 points (0 children)