Logo

dev-resources.site

for different kinds of informations.

Single Page Applications (SPAs) vs. Multi-Page Applications (MPAs). Navigating the Web App Landscape

Published at
3/29/2024
Categories
spas
dash
plotly
machinelearning
Author
dallo7
Categories
4 categories in total
spas
open
dash
open
plotly
open
machinelearning
open
Author
6 person written this
dallo7
open
Single Page Applications (SPAs) vs. Multi-Page Applications (MPAs). Navigating the Web App Landscape

Yes, you can create webpages that hide the internal structure of your website's URLs from users. This technique is called a Single Page Application (SPA) or client-side routing. Here's how it works.

    1. The entire website acts as a single HTML page.
    1. JavaScript dynamically loads content and updates the page based on user interaction (e.g., clicking menus).
    1. The URL bar might only show the domain name (www.example.com) regardless of the specific page the user is on.

Security Considerations.
Reconnaissance. Hiding URLs might make it slightly harder for attackers to understand a website's structure, but a determined attacker can still discover it through various techniques.

Plotly Dash is a framework for building analytical web applications and it natively builds single-page applications (SPAs). With Dash, you create your UI using Python, but under the hood, it’s generating a web-based SPA. This means that user interactions in the application can update the visuals on the page without requiring a full page reload. This makes Dash applications very responsive and efficient. However, it’s also possible to build multi-page applications with Dash by defining different β€œroutes” or URLs for each page, but the core concept remains around SPAs.

[https://www.linkedin.com/pulse/single-page-applications-spas-vs-multi-page-mpas-web-app-chituyi-icknf/?trackingId=S9rFiiZlRQG90q8FgeSunw%3D%3D]

Featured ones: