Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #49324 > unrolled thread

How to make a web framework

Started bygamesbrainiac@gmail.com
First post2013-06-27 06:42 -0700
Last post2013-06-28 17:19 -0400
Articles 5 — 5 participants

Back to article view | Back to comp.lang.python


Contents

  How to make a web framework gamesbrainiac@gmail.com - 2013-06-27 06:42 -0700
    Re: How to make a web framework Fábio Santos <fabiosantosart@gmail.com> - 2013-06-27 16:14 +0100
      Re: How to make a web framework rusi <rustompmody@gmail.com> - 2013-06-27 08:46 -0700
    Re: How to make a web framework Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-28 21:00 +0000
      Re: How to make a web framework Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-28 17:19 -0400

#49324 — How to make a web framework

Fromgamesbrainiac@gmail.com
Date2013-06-27 06:42 -0700
SubjectHow to make a web framework
Message-ID<bf4de5cf-ba2c-4e4b-9548-c038d60f67ec@googlegroups.com>
I've used web frameworks, but I don't know how they work. Is there anywhere that I can learn how this all works from scratch?

[toc] | [next] | [standalone]


#49329

FromFábio Santos <fabiosantosart@gmail.com>
Date2013-06-27 16:14 +0100
Message-ID<mailman.3931.1372346086.3114.python-list@python.org>
In reply to#49324

[Multipart message — attachments visible in raw view] — view raw

On 27 Jun 2013 14:49, <gamesbrainiac@gmail.com> wrote:
>
> I've used web frameworks, but I don't know how they work. Is there
anywhere that I can learn how this all works from scratch?

Write CGI scripts. It is the most raw way to program for the web. That way
you can dig into what frameworks do for you.

[toc] | [prev] | [next] | [standalone]


#49332

Fromrusi <rustompmody@gmail.com>
Date2013-06-27 08:46 -0700
Message-ID<6ebf9f35-07f2-4e70-b59e-1c7d63dfe786@googlegroups.com>
In reply to#49329
On Thursday, June 27, 2013 8:44:36 PM UTC+5:30, Fábio Santos wrote:
> On 27 Jun 2013 14:49, <gamesb...@gmail.com> wrote:
> > I've used web frameworks, but I don't know how they work. Is there anywhere 
> > that I can learn how this all works from scratch?

> Write CGI scripts. It is the most raw way to program for the web. That way you 
> can dig into what frameworks do for you.

Cant argue with the correctness of this advice.  Its still a bit low level.

Slightly more hi-level but not yet into framework-land is to take the basic components of web-design and study minimalist implementations separately.

Note: I know very little of this area -- used RoR for a couple of months many years ago. This is just to get the ball rolling and have more experienced folks amend my suggestions!

- url-mapping
- template engines
- Database-ORM
- MVC design pattern 

One more general advice based on my experience [And if it looks condescending, please forgive me!] Many people who come to a programming language like python from web-framework experience dont know enough programming.  They then cover up that lack by learning more and more of the framework but not enough of the underlying language.  This may get you along for a while but eventually is suboptimal

[toc] | [prev] | [next] | [standalone]


#49391

FromGiorgos Tzampanakis <giorgos.tzampanakis@gmail.com>
Date2013-06-28 21:00 +0000
Message-ID<slrnksrul9.leo.giorgos.tzampanakis@brilliance.eternal-september.org>
In reply to#49324
On 2013-06-27, gamesbrainiac@gmail.com wrote:

> I've used web frameworks, but I don't know how they work. Is there
> anywhere that I can learn how this all works from scratch?

Yes, read the source code of a mature framework.

-- 
Real (i.e. statistical) tennis and snooker player rankings and ratings:
http://www.statsfair.com/ 

[toc] | [prev] | [next] | [standalone]


#49393

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2013-06-28 17:19 -0400
Message-ID<mailman.3973.1372454406.3114.python-list@python.org>
In reply to#49391

[Multipart message — attachments visible in raw view] — view raw

On Fri, Jun 28, 2013 at 5:00 PM, Giorgos Tzampanakis <
giorgos.tzampanakis@gmail.com> wrote:

> On 2013-06-27, gamesbrainiac@gmail.com wrote:
>
> > I've used web frameworks, but I don't know how they work. Is there
> > anywhere that I can learn how this all works from scratch?
>

Although it is dated, there is an Apress book called Pro Django which digs
into how Django works underneath the hook. You need to understand Python at
more than a basic level to get much out of it.

>
> Yes, read the source code of a mature framework.
>
> --
> Real (i.e. statistical) tennis and snooker player rankings and ratings:
> http://www.statsfair.com/
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Joel Goldstick
http://joelgoldstick.com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web