Skip to content

Creating PWAs #289

Answered by elimintz
skeledrew asked this question in Q&A
Jul 29, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

A main feature of PWAs is that they can work with no or a slow internet connection. JustPy applications cannot since in JustPy there is no frontend/backend distinction. You take care of events in the frontend in the backend basically. A python in the browser solution like Brython may be a better way to go.

If your main concern is long running background tasks and can assume good internet connection, you can use JustPy effectively by running those tasks as part of your application. Please take a look at this example: https://justpy.io/tutorial/pushing_data/#clock
clock_counter is a background task in this example

You can initiate your background tasks in the init function and then have the…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@skeledrew
Comment options

@elimintz
Comment options

@skeledrew
Comment options

Answer selected by skeledrew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants