On Fri, 2007-05-04 at 12:27 -0700, Mike Orr wrote: > On 5/3/07, drag sidious <[EMAIL PROTECTED]> wrote: > > I realy have no clue what I am doing. All this python web stuff is very > > confusing and mystifying. It took me a few days of mucking around before > > I found paste and I am just trying to get it working so that I can start > > to play around with it.. but I can't even seem to do that. > > What is your goal? If you're fascinated by good modular tools and > want to build a site with a minimal framework, Paste is worth > learning. But if you just want to get a website built without hassle, > Pylons, Django, or TurboGears would be better bets. Pylons is built > on top of Paste but handles the higher-level stuff needed by most > applications, which in pure Paste you'd have to write yourself. >
That's about right. It's a excersize to learn some more about python and the web. So I set myself up a bizzare little goal to try to accomplish. I started with PHP. mod_php and Apache was very easy to setup and run. I can see why it's so popular, it's very easy to get good results with a minimum of effort. But PHP itself kinda sucks, which I wouldn't mind except for all the security issues surrounding it. Plus I just like python. I decided that PHP istelf is probably just to limited for my tastes. I want to learn about more then just web programming. So I figured further that databases are over-used for web stuff. Just small stuff, mind you. I can see how they would be invaluable for anything large and highly interactive. I also discovered restructured text as a sorta-structured text and how that is based on normal text communication conventions and how it can be turned into pdf or html or whatnot. So I figure I can make something fairly small were I can set up a directory on the web server, throw a text file into there, and then I could have the web browser point to filename.html and it will generate a html file to that directory using that text file and they just send that to my browser. Or I could point the browser at filename.txt and get the text version, or point the browser at filename.pdf and get the pdf version. Then if I want to update the webpage I delete the html/pdf/whatever and copy back over the updated text file. Just keeping it simple. Then maybe build some other python apps based around that concept, like blogs or whatever. I did a cursory look at the various frameworks and such and I figure they are too complex for me right now. I figure for now I won't bother with the SCGI stuff. I'll look at it some more to see if there is a bug with flup stuff or whatever, but I figure the best approach for me right now is to stick with the paste http server and if I ever end up needing more performance for whatever reason then I can stick a Apache proxy in front it of or figure out the scgi stuff. It's already starting to make a lot more sense now. Like most things the difficult part is just getting it working the first time, after that then it's easy to mess around with it and learn. _______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
