Re:My Own Python Web Framework
by nickpeterson on Wednesday February 22, 2023 @12:53PM
(#34899687)
I feel the time is ripe for a programming called spider so we can have a spider web framework.
[ Parent
| on HN ]
Re:My Own Python Web Framework
by giancarlostoro on Wednesday February 22, 2023 @12:58PM
(#34899778)
The nice thing about Python is if you just target the WSGI spec, you can have a web framework that can be deployed to an insane amount of web servers. It's just a standard for how you receive incoming requests and what have you, other languages have similar offerings. So yes, Spider could be a thing in a few weeks. I forget if Bottle.py is WSGI based or not, but it wouldnt surprise me if you could conjure up something as small as Bottler.py that specifically works with WSGI.
Edit: Sitting down and writing my own WSGI web library is on my bucket list, I just have other items I want to do more.
"Bottle is a fast, simple and lightweight WSGI micro web-framework for Python."
> Sitting down and writing my own WSGI web library is on my bucket list
I did something like that many years ago: https://github.com/susam/ice
Documentation: https://icepy.readthedocs.io/en/latest/tutorial.html
I don’t use it anymore though. By the time I finished writing it, I was already hooked to Common Lisp and Hunchentoot for web development. So this tiny WSGI microframework remained as a hobby project.
Re:My Own Python Web Framework
by giancarlostoro on Thursday February 23, 2023 @08:28AM
(#34910275)
I'm still hooked to Python though I get paid for .NET and so I think it would do me good to build a WSGI web library so I feel more confidence working with WSGI, of course most web libraries implement it well enough I never notice or care that WSGI is being used outside of configuring it and moving on, Django is a good example of this.
Re:My Own Python Web Framework
by packetlost on Wednesday February 22, 2023 @01:17PM
(#34900129)
I feel like Spider would be a good name for a PL... *writes down in notes*
It would have perfect search engine anti-optimization.
Re:My Own Python Web Framework
by pablo24602 on Wednesday February 22, 2023 @04:00PM
(#34902634)