Comments (1)
I am aware that this site does page refreshes. I would consider using vue.js or Angular 2 to meet this requirement. I would want to use whatever library is the most commonly used.
The reason I would chose vue.js is
In Vue, we also have render functions and even support JSX, because sometimes you do need that power. However, as the default experience we offer templates as a simpler alternative. Any valid HTML is also a valid Vue template, and this leads to a few advantages of its own:
For many developers who have been working with HTML, templates simply feel more natural to read and write. The preference itself can be somewhat subjective, but if it makes the developer more productive then the benefit is objective. HTML-based templates make it much easier to progressively migrate existing applications to take advantage of Vue’s reactivity features. It also makes it much easier for designers and less experienced developers to parse and contribute to the codebase. You can even use pre-processors such as Pug (formerly known as Jade) to author your Vue templates.
Source: https://vuejs.org/v2/guide/comparison.html
My Primary Background
My primary background is not in SPA (Single Page Applications). I have migrated existing applications to use AJAX in the following ways:
- Bootstrap Tab controls should AJAX content. Hidden content should not be loaded by default
- Bootstrap Modal controls should AJAX content. For example if you are a user profile management page, there is no reason why an "add user" dialog would have to be loaded as a part of the page every time. It makes sense for a Modal to load it in.
- jQuery Data tables remote data source. Uses will often search and refine data. That data should be loaded into an HTML without refresh.
These 3 combinations do not constitute a SPA, but they do seem cover about 90% of what SPAs are trying to do. I appreciate that different applications have different needs and that a full framework might be needed.
from palomar.
Related Issues (17)
- Login button HOT 1
- Security HOT 1
- Format of communication HOT 1
- SQL HOT 1
- Testing HOT 1
- If he hashes passwords. HOT 1
- Frameworks HOT 1
- ORM HOT 1
- HTML libs HOT 1
- Authentication UX HOT 1
- On logout HOT 1
- DB Storage HOT 1
- HTML Structuring HOT 1
- JS Structure HOT 1
- CF Backend Services HOT 1
- Structuring of Code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from palomar.