Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Plugin System for Pyramid? Howto?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chris McDonough  
View profile  
 More options Mar 18 2012, 11:12 pm
From: Chris McDonough <chr...@plope.com>
Date: Sun, 18 Mar 2012 23:12:28 -0400
Local: Sun, Mar 18 2012 11:12 pm
Subject: Re: Plugin System for Pyramid? Howto?

On Sun, 2012-03-18 at 21:58 -0500, Lukasz Szybalski wrote:
> On Sun, Mar 18, 2012 at 11:07 AM, Chris McDonough <chr...@plope.com> wrote:
> > On Sun, 2012-03-18 at 10:58 -0500, Lukasz Szybalski wrote:
> >> Hello,
> >> I was wondering how can I build a plugin for pyramid, that would be as
> >> easy to install and setup as

> >> easy_install myplugin

> >> in development.ini add

> >> [components]
> >> myplugin.* = enabled

> >> or if my plugin was called "admin"
> >> [components]
> >> admin.* = enabled

> >> http://martyalchin.com/2008/jan/10/simple-plugin-framework/

> >> How to declare a mount point for plugins in pyramid?
> >> How to register a plugin at a particular mount point in pyramid?
> >> How is pyramid system retrieving the plugins that have been registered?

> >> Thanks,
> >> Lucas

> > You're probably going to want to investigate Pyramid's existing plugin
> > system before creating another one:

> > http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/env...

> > http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/adv...

> Great!

> Is there a "sample" plugin that I could use as a reference. For
> example a plugin:

> /whoamI
> or
> /addressbook  (/add/edit/delete aka /addressbook/add)

> or takes something from a database, and displays it in a different way?

Not really, sorry.  Included things can add views.

> I checked out the pyramid_tm I see how alchemy scaffold is adding it,
> but I couldn’t see how its being called, or how data and views flows
> between.

pyramid.includes = pyramid_tm is in the .ini file.

- C


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.