No video

Meredydd Luff - Anvil: Full-Stack Web With Nothing But Python

  Рет қаралды 3,125

Austin Python Meetup

Austin Python Meetup

2 жыл бұрын

Talk: Anvil: Full-Stack Web With Nothing But Python
Description:
Building a modern web app requires so much: HTML, CSS, JS, Python, SQL, React, Bootstrap, Webpack, Flask... What if we could build a better abstraction?
Our answer is Anvil (anvil.works): a full-stack Python environment where everything is a Python object, from your UI components to your database rows. In this talk, I'll walk you through how and why we constructed this new approach to the web.
We'll start with a question: Why is web programming hard? It's because your data takes so many forms: database rows, Python objects, JSON on REST, JS objects, HTML DOM, and finally pixels. Most of a web developer's job is translating between these awkwardly different representations. Frameworks like Django help, but now you have a stack of leaky abstractions: web frameworks, ORMs, JS frameworks, CSS frameworks, build tools... These frameworks help you go faster, but they double the amount you need to know!
So I'll show our stab at an answer: A framework where everything is a Python object, requests to the server are function calls, and Python is a browser-side language. Then I'll take you behind the scenes: I'll talk about running Python in the browser. I'll talk about RPC and security. I'll talk about full-stack autocompletion. There be live coding!
Speaker Bio:
Meredydd is one of the original creators of the Anvil web framework. He learnt to program with QBASIC, and still misses that accessible on-ramp into programming. He did his PhD in building usable programming systems, and has worked on projects from messaging apps to the Linux kernel. He’s based in Cambridge (the one on the Cam, not the on the Charles). In his spare time, you used to find him dancing ballroom and latin, or flying an aeroplane. These days, he enjoys a rich social life of staring at glowing boxes and talking to people who aren’t there.

Пікірлер: 2
@mondomeccano
@mondomeccano Жыл бұрын
Great Video. I have been very interested in Anvil due to its simplicity and speed to build. I think it a great project. I have been skeptical of using it because of its limits (perceived or actual). In particular, the front end design ability and a connection to an external cloud database. The documentation and videos seem to come mainly from anvil so they tend to show the simplicity rather than the pitfalls. To limit my risk, I want to create a independent cloud database connected to a user interface and use anvil for the admin control panel. This is a real help.
@jrvidotti
@jrvidotti Жыл бұрын
Hey Sean, I am a newbie with Anvil, using it for less than 2 weeks. It's a fantastic tool, very stable and well thinked. It can connect to external sources but the true power and simplicity of use is achieved using internal database. I am a heavy user of SQL Server and tended to use it primarily, but the ease of use of internal DB is awesome. It has everything we could want, including atomic transactions and a wide possibility of queries. About design limitations in front end, there are none. I am not a front end dev, but you can customize your HTML and JS if you want. I think Anvil is way underrated and have less users than it deserves, but the current is very mature so far as I can tell.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 139 М.
Anvil with Meredydd Luff
43:24
LogRocket
Рет қаралды 171
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 7 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 32 МЛН
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 800 М.
No, Flexbox isn't "good enough"
9:18
Kevin Powell
Рет қаралды 35 М.
The Truth about Rust/WebAssembly Performance
29:47
Greg Johnston
Рет қаралды 178 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 366 М.
Astro Quick Start Course | Build an SSR Blog
2:44:04
Traversy Media
Рет қаралды 56 М.
Vite Crash Course | Faster Alternative To CRA
16:24
Traversy Media
Рет қаралды 196 М.