473,385 Members | 1,863 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,385 software developers and data experts.

for web application development

hi everyone,

I am very new to python, I am almost done learning the python language
enough that I can start learning developing web app in python. I have
gone thru many research and I still say that I will want to develop
web app in python. Although some says php should be better since the
language is made for the web compare to python. In the point of view
of rails, they say that their framework is really easy and best for
web app.

My problem is looking for a web framework for python, that could
provide a natural way of developing web app. I am avoiding to learn
template language as much as possible.

Any advice will be greatly appreciated.

THanks
james

Jun 14 '07 #1
5 1232
Il Thu, 14 Jun 2007 09:16:24 +0000, james_027 ha scritto:
>
My problem is looking for a web framework for python, that could
provide a natural way of developing web app. I am avoiding to learn
template language as much as possible.
Currently, i'm playing with Pylons (http://pylonshq.com) and until now i'm
happy !

Giuseppe
Jun 14 '07 #2
james_027 schreef:
hi everyone,

I am very new to python, I am almost done learning the python language
enough that I can start learning developing web app in python. I have
gone thru many research and I still say that I will want to develop
web app in python. Although some says php should be better since the
language is made for the web compare to python. In the point of view
of rails, they say that their framework is really easy and best for
web app.

My problem is looking for a web framework for python, that could
provide a natural way of developing web app. I am avoiding to learn
template language as much as possible.

Any advice will be greatly appreciated.

THanks
james

I use Django and it's easy to use.
http://www.djangoproject.com/

Regards,
Benedict

Jun 14 '07 #3
james_027:
My problem is looking for a web framework for python, that could
provide a natural way of developing web app.
The three bigger Python web frameworks seem to be:

- Django: http://www.djangoproject.com/
- TurboGears: http://www.turbogears.org/
- Pylons: http://pylonshq.com/

I only tried them briefly.

Django has its own componentes for almost everything (templating, ORM,
routing) and feels thus very integrated and solid.

TurboGears tries to use independent components like Kid, SQLObject and
CherryPy, which you can easily change to you own favorites. So you have
more flexibility, but also a bit more complexity.

Pylons is similar to TurboGears as it also uses independent components,
that are by some people consideres more "modern". By default it uses
SQLAlchemy for ORM and Routes for routing/dispatching.
It also incorporates the Python WSGI standard for web apps.
For me it felt least integrated of those frameworks but it may have the
biggest future potentials.

You may take a look at those comparisons:
http://jesusphreak.infogami.com/blog/vrp1
http://www.ibm.com/developerworks/li...rary/l-django/
http://www.ibm.com/developerworks/li.../l-turbogears/
I am avoiding to learn
template language as much as possible.
You will need a templating language to put out your HTML.
Of course that will not be a full programming language like PHP.

--
Thomas Wittek
http://gedankenkonstrukt.de/
Jabber: st*********@jabber.i-pobox.net
Jun 14 '07 #4
james_027 a écrit :
hi everyone,

I am very new to python, I am almost done learning the python language
enough that I can start learning developing web app in python. I have
gone thru many research and I still say that I will want to develop
web app in python. Although some says php should be better since the
language is made for the web compare to python. In the point of view
of rails, they say that their framework is really easy and best for
web app.

My problem is looking for a web framework for python, that could
provide a natural way of developing web app. I am avoiding to learn
template language as much as possible.
Near the big ones (Django, TurboGears, Pylons), you may take a look at
Karrigell:
http://karrigell.sourceforge.net/en/front.htm

(se examples)
>
Any advice will be greatly appreciated.

THanks
james
Jun 14 '07 #5
On 6/14/07, james_027 <ca********@gmail.comwrote:
My problem is looking for a web framework for python, that could
provide a natural way of developing web app. I am avoiding to learn
template language as much as possible.
You should definitely reconsider avoiding templates -- it's hard to
imagine building a reasonably large webapp that didn't use them at
all. Cheetah templates are a really, really good Python framework for
writing templates, and the templates themselves that can use
Python-like constructs, which make them pretty powerful.

The standard way to do web programming in Python would of course be
using something that ties into mod_python, but WSGI[1] has been
brought into the language as of Python 2.5. Between Cheetah templates
and the WSGI modules, you can put together a simple lightweight web
framework in a couple hundred lines (or less) of Python. For my own
personal website I threw together a really simple Python "framework"
that runs as a daemon and uses WSGI and Cheetah templates, and it all
ended up being only 150 lines of code, so I think this is a fairly
good solution if you don't envision a huge/complex site. If you want
to build a a much bigger site you should obviously look into the other
frameworks that are available, particularly Django.

[1] http://www.python.org/dev/peps/pep-0333/

--
Evan Klitzke <ev**@yelp.com>
Jun 14 '07 #6

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

Similar topics

18
by: mountain man | last post by:
Greetings to all database professionals and laymen, Let us make a bold assumption that we have developed a software tool for the SQL Server environment which simply acts as an interface between...
2
by: Debbie | last post by:
Hi I have developed an application that access an SQL database and installed it on a different machine The installation is successful but when I try to run the application I get the following...
0
by: C.E.O. Gargantua | last post by:
http://arstechnica.com/columns/linux/linux-20050102.ars/2 Development application of the year We judged ease of use, documentation, maturity of tools, and ease of deployment. Those...
5
by: Leszek | last post by:
Hello, Could anybody explain what's a difference between a virtual directory and an application root under IIS? I'm a little bit confused. This is mu problem: Let's assume the following...
1
by: Carl | last post by:
Help!! What are the best concepts / startegies to deploy an ASP.NET web application? My idea is work first in Production PC then after completing the project deploy it on the Web Server. But...
1
by: xcelmind | last post by:
Hello Dev. Guru, I want to at this time introduce myself. I am Stanley Ojadovwa by name. I’m a freelance and a newbie in web application development. I’m currently using ASP as my application...
6
by: Tony Johansson | last post by:
Hello! We have a C#.ASP.NET application that runs on a IIS 6. The application contains actually several asp pages but there is no GUI. The application receive an xml file that is processed....
1
by: Bhrionn | last post by:
Hello World, I am working on implementing a build for my companies application. The scenario implemeted is producing the error: ‘Class does not support automation or does not support expected...
1
by: eshedz | last post by:
Hello everyone, (if this is not the correct forum please direct me to the right place) (we work with TFS) (the names in bold are just examples) My team has been working on a project that is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.