Re: Plugin System for Pyramid? Howto?

2012-03-21 Thread tonthon
Since you want to build a crud system, you can start looking at pyramid_formalchemy's way of building a ''plugin'' : http://pypi.python.org/pypi/pyramid_formalchemy Le 21/03/2012 05:04, Lukasz Szybalski a écrit : On Mon, Mar 19, 2012 at 1:13 PM, Chris McDonoughchr...@plope.com wrote: On Mon,

Re: Plugin System for Pyramid? Howto?

2012-03-21 Thread Mike Orr
On Tue, Mar 20, 2012 at 9:04 PM, Lukasz Szybalski szybal...@gmail.com wrote: On Mon, Mar 19, 2012 at 1:13 PM, Chris McDonough chr...@plope.com wrote: On Mon, 2012-03-19 at 11:04 -0700, Mike Orr wrote: So it sounds like Lukasz is asking for a way to make a view with customizable output. I can

Re: Plugin System for Pyramid? Howto?

2012-03-20 Thread Lukasz Szybalski
On Mon, Mar 19, 2012 at 1:13 PM, Chris McDonough chr...@plope.com wrote: On Mon, 2012-03-19 at 11:04 -0700, Mike Orr wrote: So it sounds like Lukasz is asking for a way to make a view with customizable output. I can see a possibility for this if the view is written to use something that can

Re: Plugin System for Pyramid? Howto?

2012-03-20 Thread Chris McDonough
On Tue, 2012-03-20 at 23:04 -0500, Lukasz Szybalski wrote: On Mon, Mar 19, 2012 at 1:13 PM, Chris McDonough chr...@plope.com wrote: On Mon, 2012-03-19 at 11:04 -0700, Mike Orr wrote: So it sounds like Lukasz is asking for a way to make a view with customizable output. I can see a

Re: Plugin System for Pyramid? Howto?

2012-03-20 Thread Chris McDonough
On Wed, 2012-03-21 at 00:16 -0400, Chris McDonough wrote: That said, systems built on top of Pyramid like Ptah (http://ptahproject.org) and Kotti Sorry, apparently that URL should be http://readthedocs.org/docs/ptahproject/en/latest/ -- You received this message because you are subscribed

Re: Plugin System for Pyramid? Howto?

2012-03-19 Thread Mike Orr
On Sun, Mar 18, 2012 at 8:12 PM, Chris McDonough chr...@plope.com wrote: 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

Re: Plugin System for Pyramid? Howto?

2012-03-19 Thread Chris McDonough
On Mon, 2012-03-19 at 11:04 -0700, Mike Orr wrote: So it sounds like Lukasz is asking for a way to make a view with customizable output. I can see a possibility for this if the view is written to use something that can be overridden. I'm not sure where to go from there, or what kind of plugin

Re: Plugin System for Pyramid? Howto?

2012-03-19 Thread Mike Orr
On Mon, Mar 19, 2012 at 11:13 AM, Chris McDonough chr...@plope.com wrote: On Mon, 2012-03-19 at 11:04 -0700, Mike Orr wrote: So it sounds like Lukasz is asking for a way to make a view with customizable output. I can see a possibility for this if the view is written to use something that can

Re: Plugin System for Pyramid? Howto?

2012-03-19 Thread Chris McDonough
On Mon, 2012-03-19 at 11:42 -0700, Mike Orr wrote: On Mon, Mar 19, 2012 at 11:13 AM, Chris McDonough chr...@plope.com wrote: On Mon, 2012-03-19 at 11:04 -0700, Mike Orr wrote: So it sounds like Lukasz is asking for a way to make a view with customizable output. I can see a possibility for

Re: Plugin System for Pyramid? Howto?

2012-03-19 Thread Mike Orr
On Mon, Mar 19, 2012 at 11:49 AM, Chris McDonough chr...@plope.com wrote: The asset override stuff also allows you to switch templates for a given view, if that's all you need.  It's documented at http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/assets.html#overriding-assets

Re: Plugin System for Pyramid? Howto?

2012-03-19 Thread Chris McDonough
On Mon, 2012-03-19 at 12:13 -0700, Mike Orr wrote: On Mon, Mar 19, 2012 at 11:49 AM, Chris McDonough chr...@plope.com wrote: The asset override stuff also allows you to switch templates for a given view, if that's all you need. It's documented at

Plugin System for Pyramid? Howto?

2012-03-18 Thread Lukasz Szybalski
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

Re: Plugin System for Pyramid? Howto?

2012-03-18 Thread Jonathan Vanasco
Someone more familiar will chime in with an expanded and better response , but I would look into these elements that I've encountered in the past few months: Pyramid has Event Subscribers: http://pyramid.readthedocs.org/en/latest/api/events.html There are also hooks

Re: Plugin System for Pyramid? Howto?

2012-03-18 Thread Chris McDonough
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

Re: Plugin System for Pyramid? Howto?

2012-03-18 Thread Jonathan Vanasco
On Mar 18, 12:07 pm, Chris McDonough chr...@plope.com wrote: You're probably going to want to investigate Pyramid's existing plugin system before creating another one: how did i miss that in the docs , but see everything else!?!? so excited for the forthcoming updated docs. -- You received

Re: Plugin System for Pyramid? Howto?

2012-03-18 Thread Lukasz Szybalski
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

Re: Plugin System for Pyramid? Howto?

2012-03-18 Thread Chris McDonough
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