473,473 Members | 2,032 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Server-side scripting in python

Hi group,
I need to develop a web application. I am in a fix as to choose among
the various server-side scripting options. I want to explore python
(am a newbie) to gain expertise and upon search, I learnt about
PSP(Python Server Pages) that uses Jython as its scripting language.
Is it a better option over PHP or Perl? Could anyone point out the
pros and cons of using PSP over others?

Help much appreciated.

Aug 20 '07 #1
8 4156
In article <11**********************@j4g2000prf.googlegroups. com>,
Nagarajan <na****@gmail.comwrote:
>Hi group,
I need to develop a web application. I am in a fix as to choose among
the various server-side scripting options. I want to explore python
(am a newbie) to gain expertise and upon search, I learnt about
PSP(Python Server Pages) that uses Jython as its scripting language.
Is it a better option over PHP or Perl? Could anyone point out the
pros and cons of using PSP over others?
Aug 21 '07 #2
On Aug 21, 6:40 pm, cla...@lairds.us (Cameron Laird) wrote:
In article <1187614732.519547.296...@j4g2000prf.googlegroups. com>,Nagarajan <nag...@gmail.comwrote:
Hi group,
I need to develop a web application. I am in a fix as to choose among
the various server-side scripting options. I want to explore python
(am a newbie) to gain expertise and upon search, I learnt about
PSP(Python Server Pages) that uses Jython as its scripting language.
Is it a better option over PHP or Perl? Could anyone point out the
pros and cons of using PSP over others?

.
.
.
I suspect that several of us don't understand your question.

Python supports several--arguably, a plethora, more than any other
language--distinct "frameworks" for server-side scripting of Web
applications <URL:http://wiki.python.org/moin/WebFrameworks>.
PSP certainly is among these, although it's recommended <URL:http://colorstudy.com/docs/shootout.htmlless often than
several others. Is PSP better than PHP or Perl? First, do you
understand that PSP isn't directly comparable to PHP or Perl? The
latter two are languages, while PSP is a Web framework. In any
case, the answer is certain to be, "it depends". There certainly
are situations for each of PSP, PHP, Perl, and many other technol-
ogies.

I summarize: if you have an interest in practicing Python while
building Web applications, your prospects certainly are bright;
you'll receive abundant help from the folks here and elsewhere.
For us to provide more specific details about Perl, PSP, and so
on, meaningful to your own needs, will only be possible when you
articulate the latter more fully <URL:http://catb.org/~esr/faqs/smart-questions.html>.
Let me phrase my problem in a finer way.
I have done simple projects in python.
I wanted to explore web programming facet of python. The problem at my
hand is to develop an email web client. I've developed web
applications in PHP. I need to evaluate python-based web frameworks to
make a smart choice of the web framework or a language like PHP, Perl
based on performance predominantly. Do I make myself clear now?

Thanks for all the help extended.
Aug 22 '07 #3
On 22 août, 06:03, Nagarajan <nag...@gmail.comwrote:
I wanted to explore web programming facet of python. The problem at my
hand is to develop an email web client.
I would do that with the help of Django (www.djangoproject.com
groups.google.com/group/django-users) for the server side and JQuery
(www.jquery.com groups.google.com/group/jquery-en) for the client
side.

Olive.
Aug 22 '07 #4
In article <11**********************@i13g2000prf.googlegroups .com>,
Nagarajan <na****@gmail.comwrote:
>>
.
.
.
Let me phrase my problem in a finer way.
I have done simple projects in python.
I wanted to explore web programming facet of python. The problem at my
hand is to develop an email web client. I've developed web
applications in PHP. I need to evaluate python-based web frameworks to
make a smart choice of the web framework or a language like PHP, Perl
based on performance predominantly. Do I make myself clear now?
Aug 22 '07 #5
On Aug 22, 8:50 pm, cla...@lairds.us (Cameron Laird) wrote:
In article <1187755436.972359.293...@i13g2000prf.googlegroups .com>,Nagarajan <nag...@gmail.comwrote:
.
.
.
Let me phrase my problem in a finer way.
I have done simple projects inpython.
I wanted to explore web programming facet ofpython. The problem at my
hand is to develop an email web client. I've developed web
applications in PHP. I need to evaluatepython-based web frameworks to
make a smart choice of the web framework or a language like PHP, Perl
based on performance predominantly. Do I make myself clear now?

.
.
.
In general, network latency is likely to dominate the performance
of a hobbyist-scale Webmail application coded in PHP, Perl, orPython; to base your decision predominantly on performance is ...
well, it's not what I'd recommend. You might as well flip a coin.

Flipping a coin isn't such a bad idea; it's possible to write good
applications with any of PHP, Perl, andPython. Even if you restrict
yourself toPython, you can flip another coin and choose almost any
of its Web frameworks.

I salute your intent to choose a Web framework wisely. In the ab-
sence of still more detail about your situation, requirements,
constraints, ..., I don't know how to do so beyond what I've already
written.
Django is intuitive and handy. I think I would go with that.
Any suggestions?

Thanks.

Aug 23 '07 #6
Nagarajan a écrit :
On Aug 22, 8:50 pm, cla...@lairds.us (Cameron Laird) wrote:
>In article <1187755436.972359.293...@i13g2000prf.googlegroups .com>,Nagarajan <nag...@gmail.comwrote:
>>> .
.
.
Let me phrase my problem in a finer way.
I have done simple projects inpython.
I wanted to explore web programming facet ofpython. The problem at my
hand is to develop an email web client. I've developed web
applications in PHP. I need to evaluatepython-based web frameworks to
make a smart choice of the web framework or a language like PHP, Perl
based on performance predominantly. Do I make myself clear now?
.
.
.
(snip Cameron's answer)
Django is intuitive and handy. I think I would go with that.
Any suggestions?
Yes : have a look at Pylons too. It's actually quite less 'polished'
than Django, but it's IMHO going in the right direction (as a matter of
fact, Turbogears 2.0 - another well-known Python MVC framework - will
be based on Pylons...). Django is clearly more oriented toward
content-management, which might not be what you want for this project.

My 2 cents...
Aug 24 '07 #7
Yes : have a look at Pylons too. It's actually quite less 'polished'
than Django, but it's IMHO going in the right direction (as a matter of
fact, Turbogears 2.0 - another well-known Python MVC framework - will
be based on Pylons...). Django is clearly more oriented toward
content-management, which might not be what you want for this project.
this opinion about Django is a little bit dated (see http://www.djangosites.org/
and http://code.djangoproject.com/wiki/DjangoPoweredSites).

Django is really multi-purpose and is rarely use as a CMS, excepted
through Ellington CMS which is itself a commercial fork oriented
toward newspaper like publishing.

I would use Plone instead as a general CMS.

Olive.

Aug 24 '07 #8
olive a écrit :
>Yes : have a look at Pylons too. It's actually quite less 'polished'
than Django, but it's IMHO going in the right direction (as a matter of
fact, Turbogears 2.0 - another well-known Python MVC framework - will
be based on Pylons...). Django is clearly more oriented toward
content-management, which might not be what you want for this project.

this opinion about Django is a little bit dated
Possibly. I worked with pre 1.0 versions, then switched to other
solutions (there were things I didn't like that much in Django...
personal taste, not a criticism).
>
Django is really multi-purpose and is rarely use as a CMS,
(snip)
I would use Plone instead as a general CMS.
I meant it was more oriented toward *building* CMS - not that it was a
CMS by itself.

And as far as I'm concerned, I would not use Plone without *really*
needing such a heavyweight thingie (and yes, I do have recent working
experience with Plone...).
Aug 24 '07 #9

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

Similar topics

6
by: Nathan Sokalski | last post by:
I want to set up SQL Server on Windows XP Pro so that I can use the database capabilities of ASP and IIS. I am probably using some incorrect settings, but I am not sure what they are. Here is what...
9
by: Grim Reaper | last post by:
My work let me put SQL Server 7.0 Enterprise Edition on my laptop. I have never setup a server from the beginning, so I am a little new at creating server groups. Alright, I am trying to create...
0
by: Chris Halcrow | last post by:
Hi I've spent ALL DAY trying to re-install SQL Server 2000 on Windows XP. I continually get the error 'cannot configure server' just at the end of the installation. I've tried the following: ...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
2
by: Mike | last post by:
Hi, I am strugling with a simple problem which I can't seem to resolve. I have an asp.net page which contains a server-control (flytreeview, which is a kind of a tree to be exact). The tree is...
4
by: coosa | last post by:
Hi, I was installing SQL Server on my machine and during installation my PC freezed. It happens frequently on my machine. So i tried after restarting to install it again and since then i always...
1
by: Peter | last post by:
I've purchased VS.NET 2005 Standard and have tried to install SQL Server 2005 Express, but get the following error in the error log. Please could someone help me.... Microsoft SQL Server 2005...
14
by: Marcus | last post by:
I have a function that simply returns TRUE if it can connect to a particular Sql Server 2005 express, or FALSE if it cannot. I am getting some strange error codes returned when the computer that...
14
by: Developer | last post by:
Hello All, i have recently installed VS2005 and was trying to install SQL sever 2000. I have Win XP' SP2. But when I tried installing, it only installed client tools and not the database. Can...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.