TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Simple single page application framework?

1 pointsby p3rryover 7 years ago
Is there any super simple single page application framework present, so that even any noob UI Dev can easily get a SPA. I have an application where i have 3-4 html pages, there is not much of app logic but still i want to leverage Pros of a SPA without spending much time in gulp, webpack or browserify. As its a simple webapp, i dont' want to complicate things with React, Angular, Meteor etc.

4 comments

mikekcharover 7 years ago
I wonder if it might be worth considering not using a framework at all. As much as I&#x27;m not a huge jQuery fan, straight HTML with jQuery sounds like it would fit the bill if what you are doing is super simple.<p>I could leave my recommendation like that, but I&#x27;m guessing that it&#x27;s not all that useful to you. The bit that worries me is the &quot;that even any noob UI Dev can easily get a SPA&quot; part. Now if this is just because you are a noob and you are worried about getting in over your head, I&#x27;ll cheer you on and tell you not to worry about it too much. Whatever you choose will take you longer than you think and be harder than you thought, but you will eventually figure it out.<p>However, if you are trying to hire unskilled workers to do the job and are looking for a framework that will allow them to succeed no matter how crap they are... That&#x27;s very unlikely to succeed no matter what framework you choose.<p>The thing about programming is that the devil is in the details. Libraries and frameworks are about packing up common bits so that you can avoid repetitive tasks. They don&#x27;t actually make things &quot;easier&quot; from the perspective of not needing to know what you are doing. Granted, some frameworks pave the way to help you get started, but eventually what you need to do will deviate from the tutorials and you will need to figure out what to do.<p>Whoever is doing the work needs to have the kind of mindset that allows them to explore what they are doing and seek understanding. If they can do that (and are given the time&#x2F;opportunity to do that), they can succeed. If not, then they simply will not succeed. Stuff will always be wonky if it even works at all.<p>This is an order of magnitude more important than your choice of framework. Especially for something simple, it really doesn&#x27;t matter what you choose (though I applaud the idea of trying to avoid unnecessary dependencies). What matters is if the person doing the work is willing and able to dig to the bottom of what they are doing and understand it.
评论 #16436771 未加载
sgdesignover 7 years ago
If you were building a full SPA I&#x27;d suggest <a href="http:&#x2F;&#x2F;vulcanjs.org" rel="nofollow">http:&#x2F;&#x2F;vulcanjs.org</a>, but if you specifically don&#x27;t want to deal with React and Meteor then maybe you need something closer to <a href="https:&#x2F;&#x2F;github.com&#x2F;stimulusjs&#x2F;stimulus" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stimulusjs&#x2F;stimulus</a> ?
dylanhassingerover 7 years ago
Vue.js<p><a href="https:&#x2F;&#x2F;www.meetup.com&#x2F;jstl-meetup&#x2F;messages&#x2F;boards&#x2F;thread&#x2F;51377722#[masked]" rel="nofollow">https:&#x2F;&#x2F;www.meetup.com&#x2F;jstl-meetup&#x2F;messages&#x2F;boards&#x2F;thread&#x2F;51...</a>
yorwbaover 7 years ago
What are the pros of an SPA you want to leverage?
评论 #16435645 未加载