473,229 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 4137
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...

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.