Sponsored Content
Top Forums Web Development Why Python is not so popular? Post 302256764 by goon12 on Monday 10th of November 2008 01:46:42 PM
Old 11-10-2008
Quote:
Originally Posted by gstoychev
Hello,
Do you have any suggestions? I want to know your opinions why Python is not so popular in web env. Thank you!
I think it's pretty popular. There are a few frameworks available too. I happen to like Pylons and/or Django.
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

who's the most popular

hello everyone. i am working on getting my network+ and server+ certs. after that i want to get a unix cert, but i don't know what's the most needed. i've checked the web sites for sun, ibm, and hp and they all claim to have the fastest, most stable, open source compatible unix system that sets all... (1 Reply)
Discussion started by: foustware
1 Replies

2. What is on Your Mind?

Most popular mail server(MTA)

Which among the following is most popular choice as a mail server - 1)Sendmail 2)Postfix 3)Qmail Which is the industry preferred one? (2 Replies)
Discussion started by: proactiveaditya
2 Replies

3. Shell Programming and Scripting

Script to find the top 100 most popular pages

Ok, this is really beyond my scripting skill level so I'm hoping somebody can help me out with this. I have a trace file in the following format: <timestame> <devicenum> <sector address> <size in sectors> <0 or 1 (write or read)> Here is what I need to do. I need to use the <sector address>,... (3 Replies)
Discussion started by: jontjioe
3 Replies

4. Red Hat

Any desktop models popular with Red Hat?

I am planning to install the latest version of Red Hat on a desktop computer, and use it as a platform to become more up-to-date on Linux and associated open source applications. I'm thinking to buy a used Dell or HP desktop computer; maybe two or three years old (or newer); on which to install... (2 Replies)
Discussion started by: CarsonsPlanet
2 Replies

5. UNIX for Advanced & Expert Users

Which memory test tool is popular on CentOS 6?

Hi, Which tools or method is popular, simple and effective, to check memory such as bad sector, throughput and performance? Thank you. - j (5 Replies)
Discussion started by: hce
5 Replies

6. Programming

Create a C source and compile inside Python 1.4.0 to 3.7.0 in Python for ALL? platforms...

Hi all... As you know I like making code backwards compatible for as many platforms as possible. This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies
CGI::PSGI(3pm)						User Contributed Perl Documentation					    CGI::PSGI(3pm)

NAME
CGI::PSGI - Adapt CGI.pm to the PSGI protocol SYNOPSIS
use CGI::PSGI; my $app = sub { my $env = shift; my $q = CGI::PSGI->new($env); return [ $q->psgi_header, [ $body ] ]; }; DESCRIPTION
This module is for web application framework developers who currently uses CGI to handle query parameters, and would like for the frameworks to comply with the PSGI protocol. Only slight modifications should be required if the framework is already collecting the body content to print to STDOUT at one place (rather using the print-as-you-go approach). On the other hand, if you are an "end user" of CGI.pm and have a CGI script that you want to run under PSGI web servers, this module might not be what you want. Take a look at CGI::Emulate::PSGI instead. Your application, typically the web application framework adapter should update the code to do "CGI::PSGI->new($env)" instead of "CGI->new" to create a new CGI object. (This is similar to how CGI::Fast object is initialized in a FastCGI environment.) INTERFACES SUPPORTED
Only the object-oriented interface of CGI.pm is supported through CGI::PSGI. This means you should always create an object with "CGI::PSGI->new($env)" and should call methods on the object. The function-based interface like "use CGI ':standard'" does not work with this module. METHODS
CGI::PSGI adds the following extra methods to CGI.pm: env $env = $cgi->env; Returns the PSGI environment in a hash reference. This allows CGI.pm-based application frameworks such as CGI::Application to access PSGI extensions, typically set by Plack Middleware components. So if you enable Plack::Middleware::Session, your application and plugin developers can access the session via: $cgi->env->{'plack.session'}->get("foo"); Of course this should be coded carefully by checking the existence of "env" method as well as the hash key "plack.session". psgi_header my ($status_code, $headers_aref) = $cgi->psgi_header(%args); Works like CGI.pm's header(), but the return format is modified. It returns an array with the status code and arrayref of header pairs that PSGI requires. If your application doesn't use "$cgi->header", you can ignore this method and generate the status code and headers arrayref another way. psgi_redirect my ($status_code, $headers_aref) = $cgi->psgi_redirect(%args); Works like CGI.pm's redirect(), but the return format is modified. It returns an array with the status code and arrayref of header pairs that PSGI requires. If your application doesn't use "$cgi->redirect", you can ignore this method and generate the status code and headers arrayref another way. LIMITATIONS
Do not use CGI::Pretty or something similar in your controller. The module messes up CGI's DIY autoloader and breaks CGI::PSGI (and potentially other) inheritance. AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net> Mark Stosberg <mark@summersault.com> LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
CGI, CGI::Emulate::PSGI perl v5.12.4 2011-08-29 CGI::PSGI(3pm)
All times are GMT -4. The time now is 02:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy