Web Component Development with Zope 3 (eBook)

eBook Download: PDF
2008 | 3rd ed. 2008
XVIII, 564 Seiten
Springer Berlin (Verlag)
978-3-540-76448-9 (ISBN)

Lese- und Medienproben

Web Component Development with Zope 3 - Philipp Weitershausen
Systemvoraussetzungen
53,49 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

Zope is a powerful Python web application platform for rapidly and collaboratively developing complex web applications. With version 3, Zope has been rebuilt on top of a Component Architecture that combines the best ideas from modern web platforms. This new edition details all the changes and new features in Zope 3. It also makes it easier to get started with Zope, incorporating input and suggestions from Zope 3 experts and newcomers alike. In addition, the book addresses the needs of Zope 2 developers who want to use Zope 3 features as they are backported into the Zope 2 platform.



The author's computer programming started out as a hobby and became a profession very quickly. He has been a web developer for many years, having opened his own business during high school already. He started his first Zope project almost half a decade ago and has successfully used Zope in innumerable applications since. A few years ago, when the rewrite of Zope was initiated, he became a developer of Zope 3. He has been continually contributing to Zope and related projects itself since. Currently he is studying Physics at the Dresden University of Technology, while continuing the Internet business.

The author's computer programming started out as a hobby and became a profession very quickly. He has been a web developer for many years, having opened his own business during high school already. He started his first Zope project almost half a decade ago and has successfully used Zope in innumerable applications since. A few years ago, when the rewrite of Zope was initiated, he became a developer of Zope 3. He has been continually contributing to Zope and related projects itself since. Currently he is studying Physics at the Dresden University of Technology, while continuing the Internet business.

Foreword 7
Contents 11
Part I Beginner 16
1 Introduction 17
1.1 About this book 17
1.2 What is Zope? 18
1.3 Zope’s features 21
1.4 The history of Zope 23
1.5 The Python Programming Language 25
1.6 Changes since Zope X3 3.0 26
2 Zope and the Component Architecture 29
2.1 How Zope works—an overview 29
2.2 Introducing components 30
2.3 Interfaces 33
2.4 Content components 34
2.5 Adapters 35
2.6 Utilities 37
2.7 Configuring components 38
2.8 Security 39
3 Installing Zope 42
3.1 Requirements 42
3.2 Download, compilation and installation 44
3.3 Setting up a Zope instance 46
3.4 The example application 55
4 Interfaces 59
4.1 Interface semantics 59
4.2 Defining interfaces 60
4.3 Declaring that an object provides an interface 64
4.4 Verifying implementations 68
4.5 Schemas 69
5 Content Components 78
5.1 Schema-based content 78
5.2 Configuration via ZCML 83
5.3 Content types 87
5.4 Factories 89
6 Persistency 94
6.1 The problem of object storage 94
6.2 Making persistent objects 97
6.2 Making persistent objects 97
6.3 Working with persistent objects 99
6.4 BTrees 103
7 Simple Views and Browser Pages 106
7.1 Introduction to views 106
7.2 Page Templates 110
7.3 A simple view Page Template 117
7.4 Enhanced browser pages 121
8 Browser Forms 126
8.1 Schema-based forms 126
8.2 Adding objects and add forms 133
8.3 Custom widgets 135
Part II Intermediate 147
9 Internationalization 148
9.1 Overview 149
9.2 Messages and translation domains 150
9.3 Internationalizing an application 154
9.4 Message catalogs 165
9.5 Localization 170
10 Customizing a Site’s Layout 176
10.1 Layers and skins 176
10.2 Page Template macros 182
10.3 Custom skins 187
10.4 Content providers and viewlets 193
11 Adapters 201
11.1 Size 201
11.2 File representation 205
11.3 Customizing an existing adapter 212
12 Automated Testing 215
12.1 Introduction 215
12.2 Unit tests 217
12.3 Doctests 220
12.4 Running tests 223
12.5 Integration tests 229
13 Advanced Views 241
13.1 Browser pages with non-HTML content 241
13.2 Browser menus 250
13.3 Other HTTP protocols 253
14 Metadata 263
14.1 Annotations 263
14.2 The Dublin Core 267
15 Containers 286
15.1 Object hierarchies and traversal 286
15.2 Containment and location 289
15.3 Containment constraints 294
15.4 Names of contained objects 299
15.5 File representation 304
16 Events 309
16.1 Introduction 309
16.2 Object events 312
16.3 Sending emails for event notification 320
Part III Expert 334
17 Sources and Vocabularies 335
17.1 Sources 335
17.2 Vocabularies 337
17.3 Using vocabularies 342
18 Sites 348
18.1 Introduction 348
18.2 Local utilities 352
18.3 Implementing sites 356
19 Indexing and Searching 362
19.1 Indexing and object references 362
19.2 The catalog and its indices 365
19.3 Querying the catalog for searching 370
19.4 Database generations 375
20 Browser Sessions 379
20.1 Identifying clients 379
20.2 Storing session data 382
20.3 Using sessions 385
21 Security 390
21.1 Overview 390
21.2 Permissions 397
21.3 Roles 401
22 Authentication and User Management 406
22.1 The Pluggable Authentication Utility 406
22.2 Login and logout with credential plug-ins 408
22.3 Managing principals with authenticator plug-ins 412
22.4 Principal metadata 425
23 Debugging Zope 432
23.1 Self-documenting code with APIDoc 432
23.2 Online debugging tools 436
23.3 Using the Python debugger 439
24 Packaging and Deployment 442
24.1 Packaging an application 442
24.2 Preparing a production instance 447
24.3 Virtual hosting 449
24.4 Improving scalability 455
Part IV Appendices 459
A API Reference 460
B ZCML Reference 499
References 545
Index 553

Erscheint lt. Verlag 23.1.2008
Vorwort P. J. Eby
Zusatzinfo XVIII, 564 p. 48 illus.
Verlagsort Berlin
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Betriebssysteme / Server
Mathematik / Informatik Informatik Software Entwicklung
Mathematik / Informatik Informatik Web / Internet
Schlagworte Architecture • Browser • components • Customizing • Debugging • Deployment • Development • interfaces • Layout • Python • security • Software • software development • Web • Web application • web applications • ZOPE
ISBN-10 3-540-76448-8 / 3540764488
ISBN-13 978-3-540-76448-9 / 9783540764489
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 17,5 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das Praxisbuch für Administratoren und DevOps-Teams

von Axel Miesen

eBook Download (2022)
Rheinwerk Computing (Verlag)
27,93