📜 ⬆️ ⬇️

Manual: Pyramid for People - Table of Contents

This translation, in the tradition, has a free content. Unnecessary, according to the author, parts are removed, others are added. A huge request to those who have noticed strong distortions in the text that change the meaning of the story - write in a personal, correct. UPD: translation started a long time ago, but now the focus of the activity is shifted to another area - maybe someone and this translated, small part will serve as a good start in learning new technology.

Pyramid has emerged as a fast, modern, web-framework for Pylons and Zope communities. When you need only a web-based application, rather than a full-fledged CMS, Pyramid gives you the opportunity to save most of the Plone-like technologies, or to quickly get a project together.

This manual contains a little about everything: a practical introduction to most of the possibilities of technology. For fun, at a fast pace it can be mastered, and certainly it is not for the pros.

On the way to the main part


The training manual is collected, according to the main sections. It begins with the creation of UI \ UX (commentary. UI - English user interface; UX - User eXperience) for dummies. Each main area consists of a sequence of steps in which there is a very small number of definitions. The working code is gradually accumulating.
')
As described in the script, a simple application is a project management system for a large number of companies that lead many projects. We have chosen traversal and ZODB as the initial architecture for this tutorial.

Table of contents

General Description (Scenario)
How to install
Steps
Code examples
Create a simple UX for Pyramid
Goals
Our workflow (The Workflow)
Content
Step 01: Hello World in Pyramid
Step 02: Unit and Functional Testing
Step 03: Hello World at Chameleon
Step 04: View Framework
Step 05: Creating the main template.
Step 06: View Classes
Step 07: Layouts
Step 08: CSS and JS with Static Assets (Assets)
Step 09: AJAX with JSON views
Step 10: Reusable Template Macro
Resources, Hierarchies, and Traversal
Goals
Content
Step 01: Start Page: Site Root (Site Root)
Step 02: Basic Traversal Hierarchy
Step 03: Type-Specified Views
Step 04: Creating Basic Content
Step 05: Projector with Resources
Forms and Patterns with Deform and Colander
Goals
Content
Step 01: Hello World with Deform
Step 02: Form Processing

Next in the list


The following sections still need revision after receiving feedback from the conference:
Pyramid Security
Content
Step 01: Hello World for ACLs
Step 02: Login and Logout
Storing content in ZODB
Goals
Presets
Steps
Additional tasks
Analysis
Discussion
Use repoze.catalog
Goals
Presets
Steps
Additional tasks
Analysis
resources.py
views.py
Discussion

Source: https://habr.com/ru/post/135916/


All Articles