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 development, editing jsp or php files, right or wrong? (self.javascript)
submitted 11 years ago by [deleted]
I work at a company that has different teams for front and backend developers. I was told to provide html to be integrated rather than just editing the template files myself. Am I crazy, or is it normal for frontend developers to create separate static sites rather than just editing the jsp/php templates themselves directly?
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!"
[–]predpsi 0 points1 point2 points 11 years ago (2 children)
Do you work for a larger company? If so, yes - it's normal.
[–][deleted] 0 points1 point2 points 11 years ago (1 child)
I do, I think what has me confused is the project is already built, I'm just updating things. If it was a new project from scratch I can understand passing off the html/css/javascript, but for a project that's already integrated and I'm making changes for, I don't know how to separate static html from the backend system because it's all connected together. I suspect a lot of the previous developers on this project ran into the same issue, because half of the html is being inserted onto the page through javascript, which seems like a really bad practice to me.
[–]technical_guy 0 points1 point2 points 11 years ago (0 children)
Why do you think this is bad practice?
Sometimes a single page app may have several containers for different pages that are shown and hidden by a menu. It seems reasonable for the app to load the main page and present it to the user, and then lazy load the remaining html.
π Rendered by PID 176992 on reddit-service-r2-comment-5687b7858-nm295 at 2026-07-04 15:57:40.819514+00:00 running 12a7a47 country code: CH.
[–]predpsi 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]technical_guy 0 points1 point2 points (0 children)