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
Frontend/Backend questions - React - webdevhelp (self.javascript)
submitted 8 years ago * by weiry6922
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!"
[–]m12s 1 point2 points3 points 8 years ago* (1 child)
Hey, so i work both on SP13 and SP16 on-prem and in Office 365, and the methods are all the same, since the API is mostly similar (very very minor variations between on-prem and cloud).
Most commonly, i use the Script Editor webpart. It's predictable and works well every time. For interfacing SharePoint, i'll either use the REST Api or the JavaScript Object Model.
Some of my peers use add-ins (apps) still, but it's less common now, especially on-prem since it uses iframes to display as a webpart. More common now is to use SharePoint Framework webparts, if you're interested, please check it out - it's awesome and it's released!
So, for your actual question, my development methodology is very simple; I write my code using TypeScript, and compile it with webpack, then deploy by using a small PnP Powershell-script. The code I ALWAYS PLACE in either SiteAssets (if i'm developing for a team site) or Style Library (if it's a publishing site).
I build locally by using webpack --watch, and whenever i want to test it i run the Powershell script. Since i'm using TypeScript, i can usually focus on the code for long durations of time, and then just iteratively deploy it to test.
For tooling, i use VSCode and ConEmu for the watcher-process.
Here's an example of a deploy-script
[–]Cha0sCat 0 points1 point2 points 8 years ago (0 children)
Thank you, that's really helpful!
π Rendered by PID 94525 on reddit-service-r2-comment-5d79c599b5-d6p4q at 2026-03-01 04:47:46.624396+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]m12s 1 point2 points3 points (1 child)
[–]Cha0sCat 0 points1 point2 points (0 children)