Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python Pyramid Learning Resource [closed]

Tags:

python

pyramid

I have trid learning the framework with the help of the book, The Pyramid Web Application Development Framework. I have somewhat managed to understand up-to URL Dispatch. But I still find it difficult to grab some concepts.

Can you lead me to some easy-for-newbie tutorials? Do I need previous experience of other web frameworks?

like image 545
vettipayyan Avatar asked Jul 28 '11 12:07

vettipayyan


People also ask

Why is it important to learn Python Pyramid?

It is imperative because the full power of Python is available to us as we perform configuration tasks. To summarize, Pyramid is an open source python web framework with a large and active community. This large community contributes towards making the python web framework popular and relevant.

What is Py pyramid framework in Python?

Pyramid Framework. Pyramid is a general, open source, web application development framework built in python. It allows python developer to create web applications with ease. Pyramid is backed by the enterprise knowledge Management System KARL (a George Soros project).

What is the pyramid?

The Pyramid team has been doing ambitious Python web frameworks since 1995. We have built small systems and huge systems. From this, we delight in helping others who appreciate quality and dream big. Support letting quality artisans add real value by quickly but durably making specific experiences

What is the use of image pyramid in image processing?

Utilizing an image pyramid allows us to find objects in images at different scales of an image. And when combined with a sliding window we can find objects in images in various locations. At the bottom of the pyramid we have the original image at its original size (in terms of width and height).


1 Answers

I've been doing web dev for > 15 years, and > 10 with Python, and I found some of the concepts in Pyramid hard to understand, too.

I'd suggest just pushing through; copy-n-paste if you have to, and keep on working. I'm noticing that concepts are 'gelling' for me after the fact, and what I used to find confusing I now take for granted. Perhaps the ideas merely need to soak in?

The organization of the code, and its founding philosophies are somewhat more abstract and perhaps therefore more difficult than I am used to from other frameworks, but I am really enjoying the flexibility. In particular, there seems to always be like 5 ways to do something, all of equal merit, when in Python we are used to having some ways more "blessed" than others.

It just a lot to wrap your head around. So, I suppose my short-term suggestion is not to try. Just build some things, ask questions when you get stuck, and be comfortable with the discomfort of not knowing how every little bit of Pyramid works...

I would also recommend that you resist the urge to take its flexibility as an opportunity to force it to behave more like some other system(s) that you may be familiar with... don't build a translation layer on top. Then you'll be fighting the code rather than getting your work done, and you'll end up deeper into the guts than you might want to be at this point.

I hope this helps.

like image 81
Matt Feifarek Avatar answered Sep 28 '22 01:09

Matt Feifarek