472,342 Members | 1,454 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,342 software developers and data experts.

Does WSGI offer anything for web *beginner*?

I love idea of WSGI and hope it succeeds. It seems to be helpful for
person
tempted to write his own framework.....they can now just mix and match
existing
components with WSGI //instead//.

I not sure what WSGI offers the web beginner. Aren't they still better
off
learning an existing web framework first before attacking WSGI?

I suppose ideally everyone would just learn WSGI and then never have
to learn details of any //specific// framework. But that would require
impeccable maturity and documentation on WSGI and we are not
there yet right?

Please advise.

Chris

Sep 21 '06 #1
1 1168
se******@spawar.navy.mil wrote:
I love idea of WSGI and hope it succeeds. It seems to be helpful for
person
tempted to write his own framework.....they can now just mix and match
existing
components with WSGI //instead//.
Well, it's not that much "instead" than "with a common building block".
As the name implies, the main goal of wsgi is to provide a commun,
unified interface to different HTTP server solutions... This is great
IMHO, but there's *much* more to a web framework than the interface with
the HTTP server.
I not sure what WSGI offers the web beginner. Aren't they still better
off
learning an existing web framework first before attacking WSGI?
Depends on your goals and the way your brain works... If all you want is
to have your app up and running ASAP, then yes, using an existing
framework is probably faster. But you'll still need to understand how
the whole damn HTTP thingie works - and probably unlearn much of what
you learned from rich GUI apps programming.
I suppose ideally everyone would just learn WSGI and then never have
to learn details of any //specific// framework.
Once again : wsgi is the lower part of the system - how your app and the
webserver talk to each other. It is *not* a framework (just like
mod_python or the cgi module are not frameworks). A web framework is
supposed to at least handle url-to-code dispatch, help generating HTML
(templating), and hide away all the gory details of HTTP response
headers. And most also offer a data access layer over a RDBMS or an OODBMS.

IOW, wsgi will not saves you from learning to use a specific web
framework. Nor will it saves you from learning *at least* the HTTP
protocol, and most probably html, css, Javascript etc.
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'o****@xiludom.gro'.split('@')])"
Sep 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Thomas W | last post by:
Will there be a WSGI-server like BaseHTTPServer etc in the standard distro? I think that would increase the adoptation of the WSGI-standard. A new...
2
by: Ben Finney | last post by:
Howdy all, I'm trying to implement some new functionality for an existing PHP web application. Rather than writing a whole lot of stuff in PHP,...
11
by: Gregory Piñero | last post by:
So I keep hearing more and more about this WSGI stuff, and honestly I still don't understand what it is exactly and how it differs from CGI in the...
7
by: Ben Finney | last post by:
Howdy all, I'm working on a web application that is starting to gain a lot of back-end code written in Python. However, all the current interface...
113
by: John Nagle | last post by:
The major complaint I have about Python is that the packages which connect it to other software components all seem to have serious problems. As...
8
by: Ron Garret | last post by:
The wsgiref module in Python 2.5 seems to be empty: $ python Python 2.5 (r25:51908, Mar 1 2007, 10:09:05) on darwin Type "help", "copyright",...
37
by: Michele Simionato | last post by:
At work we are shopping for a Web framework, so I have been looking at the available options on the current market. In particular I have looked at...
1
by: Ivan Voras | last post by:
Hi, Is there a straightforward way to convert an XML-RPC server application (written for SimpleXMLRPCServer) to use WSGI so that it can be used...
4
by: inhahe | last post by:
I'm sorry if this is off-topic, i couldn't find a mailing list OR forum for WSGI (and #wsgi wasn't very helpful). i played around with StringIO,...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.