Skip to main content

Introspection helpers for Zope and Plone.

Project description

plone.introspector
******************

What is plone.introspector?
===========================

'plone.introspector' is the Zope2/Plone UI for zope.introspector.
It provides a way to search and browse the component registry.


'plone.introspector' started by Martin Lundwall (Student) and Lennart Regebro (Mentor)
as part of the Google Summer of Code 2008.

The base libraries 'zope.introspector' and 'zope.introspectorui' was developed
togeher wth another GSOC 2008 student Uli Fouquet, with mentor Martijn Faassen.


Using plone.introspector
===========================
Currently you can browse and search the component registry via the ZMI.

Go to http://localhost:8080/manage and there is a tab called
'Component Registry' where you can search the registry for entries of Adapter,
Handler, Utility or Subscription Adapter.

You can also browse all of the registry (since the registry often have many entries
the browe page might be slow on loading) by clicking on the 'browse the registry here.' link.
Who would have thought that?

Using the browse page you can see all registrations in their respective namespace.
You can find a registration under all involved interfaces.

example:
The adapter below is listed under all of the following interfaces

* zope.viewlet.interfaces.IViewlet
* zope.publisher.interfaces.browser.IBrowserView
* zope.interface.Interface
* zope.publisher.interfaces.browser.IDefaultBrowserLayer

and

* plone.app.layout.viewlets.interfaces.IPortalTop

#
Adapter: header
Factory

* SimpleViewletClass from /Users/martin/.buildout/eggs/plone.app.layout-1.1.5-py2.4.egg/plone/app/layout/viewlets/portal_header.pt

Provided Interface

* zope.viewlet.interfaces.IViewlet

Required Interfaces

* zope.interface.Interface
* zope.publisher.interfaces.browser.IDefaultBrowserLayer
* zope.publisher.interfaces.browser.IBrowserView
* plone.app.layout.viewlets.interfaces.IPortalTop


This makes it easy to find and make sure that all interface registrations are correct,
and maybe find the reason why something doesn't show up as supposed to.

Installing zope.introspector
============================

User Installation:
-----------------

To use plone.introspector do the following:

Add plone.introspector to the "eggs" part of the buildout config file.
You also need to add a "zcml" slug in the instance part.

[buildout]
eggs =
plone.introspector

A bit further down in the confinguration file.

[instance]
zcml =
plone.introspector


Now when you run ./bin/buildout plone.introspector will get downloaded and installed.


Development installation:
------------------------
If you want to extend, modify or check out the code you should do the following:

Checkout the source and add it to you src folder in the buildout.

svn co https://svn.plone.org/svn/collective/plone.introspector/trunk plone.introspector

In the buildout configuration file you add a "development" statement to the buildout part as well as the above mentioned entries.

[buildout]
eggs =
plone.introspector

develop =
src/plone.introspector

A bit further down in the confinguration file.

[instance]
zcml =
plone.introspector

CHANGES
*******

0.1 (2008-10-24)
================

Feature changes
---------------

* Initial Release [mlundwall]

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plone.introspector-0.1.tar.gz (15.6 kB view details)

Uploaded Source

File details

Details for the file plone.introspector-0.1.tar.gz.

File metadata

File hashes

Hashes for plone.introspector-0.1.tar.gz
Algorithm Hash digest
SHA256 fb6d752caf5c7f7fdf82e2c7a7a0b241a364a285c3c3b95bd3c05493f1411ec3
MD5 3a7b1c13849d0f63f469149302079bbd
BLAKE2b-256 0540678397cf8400494e1a004dcbc599bb325f4c057523ce4777f025e081743e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page