Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'tutorial': 0.03; 'subject:form': 0.07; 'explanation': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'rewrite': 0.09; 'kern': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sessions,': 0.16; 'simplest': 0.16; 'simpson': 0.16; 'subject:pass': 0.16; 'templating': 0.16; 'underlying': 0.16; 'url:pocoo': 0.16; 'applies': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'library': 0.18; 'addition,': 0.20; 'written': 0.21; '>>>': 0.22; 'code,': 0.22; 'header:User-Agent:1': 0.23; 'frameworks': 0.24; 'interpret': 0.24; 'decide': 0.24; 'handling': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'external': 0.29; 'robert': 0.30; 'see,': 0.30; 'code': 0.31; 'easier': 0.31; '>>>>': 0.31; 'use?': 0.31; 'framework': 0.33; 'but': 0.35; 'data,': 0.36; 'installing': 0.36; 'like,': 0.36; 'templates': 0.36; 'url:org': 0.36; 'area': 0.37; 'thank': 0.38; 'easiest': 0.38; 'to:addr:python-list': 0.38; 'explain': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'services,': 0.61; 'simple': 0.61; 'you.': 0.62; 'happen': 0.63; 'our': 0.64; 'connecting': 0.64; 'pick': 0.64; 'provide': 0.64; 'different': 0.65; 'world': 0.66; 'managing': 0.66; 'believe': 0.68; 'anything.': 0.68; '8bit%:92': 0.71; 'browser.': 0.78; 'clearer': 0.84; 'eco': 0.84; 'pools': 0.84; 'subject:Making': 0.84; 'terrible': 0.84; 'engines.': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Robert Kern Subject: Re: Making a pass form cgi => webpy framework Date: Fri, 28 Jun 2013 11:30:11 +0100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 213.1.240.226 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372415425 news.xs4all.nl 15925 [2001:888:2000:d::a6]:55999 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49367 On 2013-06-28 11:15, Νίκος wrote: > Στις 28/6/2013 12:35 μμ, ο/η Robert Kern έγραψε: >> On 2013-06-28 04:38, Νίκος wrote: >>> Στις 28/6/2013 2:08 πμ, ο/η Cameron Simpson έγραψε: >> >>>> Pick a simple framework or templating engine and try it. I have no >>>> recommendations to make in this area myself. >>> >>> Can you explain to me the difference of the former and latter? >> >> A templating engine takes your data and applies it to templates that you >> have written to generate the final HTML that is sent to the web browser. >> >> A web framework is a library that provides tools and a way of >> structuring your that makes it easier to write a web application. Web >> frameworks typically include a templating engine or provide support for >> working with external templating engines. In addition, web frameworks >> provide many other services, like routing URLs to specific parts of your >> code, managing pools of database connections, handling web sessions, >> validating form data, and connecting your code to many different ways of >> deploying web applications without having to rewrite your code. > > I see, your explanation started to make things clearer to me. > What is the easiest and simplest web framework you advise me to use? > > Also please provide a well written and simple tutorial i can read upon. > Thank you. I will not advise you to do anything. I will point you to a web framework that I happen to like, but you will need to read its documentation to decide if it is right for you. I cannot provide any help in installing or using it. http://flask.pocoo.org/ http://flask.pocoo.org/docs/tutorial/ -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco