Anvil: full stack web apps built only with Python
51–60 of 207 posts
Re: Anvil: full stack web apps built only with Python
#52Anybody know of any self-hosted alternatives to something like this?
It's an "enterprise feature" https://anvil.works/features On-site installation For when you need to keep sensitive data or apps inside your firewall. Anvil on-site installations allow you to develop and deploy your apps entirely in-house.
Re: Anvil: full stack web apps built only with Python
#53Can the data be replicated to our own pg database from the built-in database? Close to real-time?
That said, even with the standard plans you can plug into your own Postgres database from server code (just `import psycopg` - it's only Python, after all). And using the Uplink, you can access Anvil's database from your code anywhere on the internet, with the same API as Anvil server code.
Re: Anvil: full stack web apps built only with Python
#54Can the data be replicated to our own pg database from the built-in database? Close to real-time?
Also things like bulk uploads to a table for migration, would I have to write a service for this? I have an app I would like to migrate that has a sqlite table with static data in it, that I could see using this. I suppose I could use the server connector, but what other tools does this have?
Re: Anvil: full stack web apps built only with Python
#55I only watched the video, so it is a bit early to judge, but I wonder: 1. Why put that much effort in explaining it takes only 6 minutes in setting up a web app? Anyone who has done any serious web app knows how quickly you can set up a simple app really does not matter much for an app even of moderate size, let alone big ones? 2. Why yet another attempt to abstract away everything and using one language (python) onl…
Re: Anvil: full stack web apps built only with Python
#56Earlier quoted context omitted.
Interesting. I've been looking for alternatives to React or Angular for some time. I've enjoyed playing with Elm recently. My preferred back end is Python Tornado RethinkDB, so browser GUIs in Python is appealing. I looked at https://github.com/skulpt and it looks like the compile to JS step happens on the client side, unlike Elm. What's performance like?
Strictly speaking, that compilation happens in JS, not necessarily client-side ;) (Right now, it does run in the browser, but we'll be moving it to the back-end soon to improve performance. For now it's good enough.)
From the Skulpt website: "Skulpt is an entirely in-browser implementation of Python."
It sounds like you implemented python in JS, so there is no compilation to JS. The application code is always python and is evaluated on the client, no?
If you move it to the back end, would that not be something like Trascrypt?
Re: Anvil: full stack web apps built only with Python
#57I only watched the video, so it is a bit early to judge, but I wonder: 1. Why put that much effort in explaining it takes only 6 minutes in setting up a web app? Anyone who has done any serious web app knows how quickly you can set up a simple app really does not matter much for an app even of moderate size, let alone big ones? 2. Why yet another attempt to abstract away everything and using one language (python) onl…
These tools are for simple CRUD apps for people who aren't necessarily strong developers to begin with but need to put together something anyway. That's why the demos focus on speed and only ever show the tiniest of applications.
We're starting to post some larger examples (check out our "download portal" example at https://anvil.works/learn#examples - I'm also working on a video series building a SaaS app over the course of a few hours). But the biggest apps are, of course, our customers', and we can't really publish them as examples.
Re: Anvil: full stack web apps built only with Python
#58Re: Anvil: full stack web apps built only with Python
#59Earlier quoted context omitted.
(founder here) Urk? Firefox is an officially supported platform for the editor. What didn't work, and what version of FF are you using? Once you've written an app, it should work in everything since IE11.
(another founder here!) We've now been in touch by email about this bug, and we'll make sure a fix is pushed ASAP!
Re: Anvil: full stack web apps built only with Python
#60Earlier quoted context omitted.
Strictly speaking, that compilation happens in JS, not necessarily client-side ;) (Right now, it does run in the browser, but we'll be moving it to the back-end soon to improve performance. For now it's good enough.)
Can you elaborate on this? From the Skulpt website: "Skulpt is an entirely in-browser implementation of Python." It sounds like you implemented python in JS, so there is no compilation to JS. The application code is always python and is evaluated on the client, no? If you move it to the back end, would that not be something like Trascrypt?
Skulpt has a separate compiler stage that compiles Python to JS, and a runtime library. There's no need to eval() that code in the same JS VM that compiled it, so it's totally feasible to ship the JS to the client and run it there.