[pylons-devel] Please reconsider deprecating --daemon from pserve

2015-12-30 Thread Iain Duncan
Hi folks, I wanted to weigh in on the decision to deprecate --daemon, as I think that's a bad idea. I agree that in production we should use "real monitor services", but during the development process I use --daemon routinely, and I doubt my workflow is that uncommon. I am constantly putting dev ve

Re: [pylons-devel] Re: Ecommerce platform based on Pyramid/Pylons

2015-08-04 Thread Iain Duncan
I think you'll find fewer people releasing things like that on the Pyramid/SQLAlchemy stack because most people move to Pyramid+SQLA because they want to be able to do things *exactly their way*, so they are looking for tools to make their own custom deal. In my experience, E-Commerce is one of tho

Re: [pylons-devel] "Knob" for ACLAuthorizationPolicy?

2015-07-17 Thread Iain Duncan
This sounds like it would actually be helpful for me too for the project we're about to embark on, if I'm understanding the OP correctly. my two cents Canadian! iain On Thu, Jun 11, 2015 at 10:04 AM, Chris McDonough wrote: > Id like to hear other people speak up who have needed the same knob. I

[pylons-devel] Re: most mature/stable Pyramid ReST and messaging helpers?

2013-10-10 Thread Iain Duncan
oops, wrong list, sorry! stupid gmail error. iain On Thu, Oct 10, 2013 at 10:49 AM, Iain Duncan wrote: > Hi folks, I have a new contract position and have managed to advocate for > Pyramid+SQLAlchemy as a much better platform than Django for what we're > doing ( light performant

[pylons-devel] most mature/stable Pyramid ReST and messaging helpers?

2013-10-10 Thread Iain Duncan
Hi folks, I have a new contract position and have managed to advocate for Pyramid+SQLAlchemy as a much better platform than Django for what we're doing ( light performant ReST services that need to interact with a big hairy legacy db ). However, they're taking a chance on me and Pyramid, so I'd lik

Re: Sites using Pyramid & Pyramid Advocacy

2012-10-26 Thread Iain Duncan
> > What is the objective? To promote Pyramid or to promote third parties > using Pyramid? If the former then having a well-curated list of showcase > examples seems best. If the later then there may be an argument for > opening it up to make it easy for people to submit their own sites. It's >

Re: Sites using Pyramid & Pyramid Advocacy

2012-10-24 Thread Iain Duncan
e the description and logo for now? thanks Iain On Wed, Oct 24, 2012 at 7:07 AM, Thomas G. Willis wrote: > Cool. Just sent it to you. > > > On Monday, October 22, 2012 7:58:04 PM UTC-4, Iain Duncan wrote: >> >> Right, well I'll start collecting them then. Can you send it to

Re: Sites using Pyramid & Pyramid Advocacy

2012-10-22 Thread Iain Duncan
>> >> Noted. >> >> If you have anything collected please share. >> >> On Friday, 19 October 2012 17:33:15 UTC-4, Iain Duncan wrote: >>> >>> Hi everyone, I started a thread about this ages ago, and expressed >>> interest in making someth

Re: Sites using Pyramid & Pyramid Advocacy

2012-10-19 Thread Iain Duncan
SQLAlchemy has I think done a great job of it. I'd love to know which of these are also using Pyramid or Pylons under the hood: http://www.sqlalchemy.org/organizations.html Iain On Fri, Oct 19, 2012 at 2:36 PM, Iain Duncan wrote: > I found the thread I started back in Feb, but the l

Re: Sites using Pyramid & Pyramid Advocacy

2012-10-19 Thread Iain Duncan
I found the thread I started back in Feb, but the links are dead now for the old Pylons wiki ones. Anyone know what happened to those? Thanks Iain On Fri, Oct 19, 2012 at 2:33 PM, Iain Duncan wrote: > Hi everyone, I started a thread about this ages ago, and expressed > interest in

Sites using Pyramid & Pyramid Advocacy

2012-10-19 Thread Iain Duncan
Hi everyone, I started a thread about this ages ago, and expressed interest in making something happen, and then life happened and I had not time. Now I'm in a position where this has become a higher priority again. It seems to me that one thing really lacking in the Pyramid docs is some advocacy a

Re: Pyramid 1.3 and zope.component question

2012-08-27 Thread Iain Duncan
On Mon, Aug 27, 2012 at 9:50 PM, Chris McDonough wrote: > On 08/28/2012 12:23 AM, Iain Duncan wrote: > >> Hey all (or maybe just Chris? ;), I see in the change log that pyramid >> 1.3 no longer depends on zope.component. I haven't switched to 1.3, but >> in my p

Pyramid 1.3 and zope.component question

2012-08-27 Thread Iain Duncan
Hey all (or maybe just Chris? ;), I see in the change log that pyramid 1.3 no longer depends on zope.component. I haven't switched to 1.3, but in my pyramid apps I'm using the zca registry pretty extensively. I'm wondering a few things: - is the pyramid registry still the zope registry, or has th

Re: possible regression bug re includeOverrides in pyramid 1.2

2011-10-07 Thread Iain Duncan
ed content found for view registration in: File "/home/xornot/framework_pyramid/src/xornot.cms/xornot/cms/routes.zcml", line 43.2-51.4 On Fri, Oct 7, 2011 at 7:01 AM, Chris McDonough wrote: > On Sep 28, 6:05 pm, Iain Duncan wrote: > > Hey folks, I discovered that my

Re: Best deployment method...

2011-10-05 Thread Iain Duncan
Mengu, it would be awesome if you could expand on this and put in the pyramid cookbook, I'd love to hear more. Thanks for sharing, Iain On Wed, Oct 5, 2011 at 2:52 PM, Mengu wrote: > that is called learning from the experience, chris. yes, his server > specifications may vary, his db of choice

possible regression bug re includeOverrides in pyramid 1.2

2011-09-28 Thread Iain Duncan
Hey folks, I discovered that my zcml using includeOverrides chokes when I upgrade to Pyramid 1.2. I have tested that the issue goes away or reappears from doing nothing except switching my pyramid egg from 1.1 to 1.2 I have some packages with zcml in them, I include some others that redefine route

Re: how to open up our code, possible pyramid extension project

2011-06-10 Thread Iain Duncan
BTW, if anyone has any recos on how to test paster script templates, I'd love to hear them. iain On Fri, Jun 10, 2011 at 11:52 AM, Iain Duncan wrote: > Thanks for the interest guys. I'm trying to figure out what to reasonably > release first. I think the most sensible maybe a pa

Re: how to open up our code, possible pyramid extension project

2011-06-10 Thread Iain Duncan
Thanks for the interest guys. I'm trying to figure out what to reasonably release first. I think the most sensible maybe a paster template to a very simple sample app that shows how we lay out the code and views, handle configuration via zcml, and take advantage of ZCA interfaces for big projects,

how to open up our code, possible pyramid extension project

2011-06-06 Thread Iain Duncan
Hey folks, so we ( xornot studios ) have been using BFG for a couple of years now, and ported all our work to pyramid. We have what I would say is quite an extensive and useful in house framework on top of pyramid that enables us to build db apps and resource oriented CMS/CRM type things really qui

Re: New project . Pylons or Pyramid

2011-03-20 Thread Iain Duncan
poze.who. iain > On Mar 9, 8:56 pm, Iain Duncan wrote: > > Another vote to start with Pyramid. I've been using 'it' since repoze.bfg > > 1.1 and am constantly being pleasantly surprised. Now that there is a > bigger > > development community, even more

Re: New project . Pylons or Pyramid

2011-03-09 Thread Iain Duncan
Another vote to start with Pyramid. I've been using 'it' since repoze.bfg 1.1 and am constantly being pleasantly surprised. Now that there is a bigger development community, even more docs, and more beginner friendly additions, I can't think of any reason not to use it right away. iain On Fri, M

Re: pyramid, setting reponse status when using renderers?

2011-03-09 Thread Iain Duncan
Thanks guys. Chris, I think I would have found that if there had been a link to it from the docs page on customizing the 403 view with hooks. Would be great to have a mention of that there I think. thanks Iain On Tue, Mar 8, 2011 at 8:24 PM, Rob Miller wrote: > On 03/08/2011 07:36 PM, I

pyramid, setting reponse status when using renderers?

2011-03-08 Thread Iain Duncan
I personally like using zcml to supply my renderer to my views so I can change templates from the zcml file. The only issue I'm having is that I don't know how I can set the response status when doing that. If my view is returning a dict, and the renderer is turning that into the reponse, is there

Re: make repoze.who respond to 403 Forbidden

2011-02-22 Thread Iain Duncan
On Tue, Feb 22, 2011 at 8:36 PM, Chris McDonough wrote: > On Tue, 2011-02-22 at 20:29 -0800, Iain Duncan wrote: > > I'm porting a bfg framework extension to pyramid, and auth was handled > > by repoze.who with a custom authentication plugin. I see from the > > r

Re: Raw MySQL with SQLAlchemy using Pyramid framework

2011-02-22 Thread Iain Duncan
One more vote that it's absolutely worth learning SA even if you're an sql whiz. It's a superb library, and let's you operate at multiple levels of abstraction. And great sql injection insurance! iain On Sun, Feb 20, 2011 at 8:39 AM, Ben Bangert wrote: > On Feb 20, 2011, at 1:58 AM, AwaisMuzaff

make repoze.who respond to 403 Forbidden

2011-02-22 Thread Iain Duncan
I'm porting a bfg framework extension to pyramid, and auth was handled by repoze.who with a custom authentication plugin. I see from the release notes ( and my apps behaviour ) that I now need to make repoze.who react to 403's by presenting it's login challenge. However, I'm not at the point of tho

Re: Global variables

2011-02-22 Thread Iain Duncan
On Sat, Feb 19, 2011 at 12:09 AM, Chris Withers wrote: > A bit late in on this one, sorry: > > > > On 18/02/2011 23:15, Iain Duncan wrote: > >> > > Some of us *do* write apps that expect to be extended / >>reconfigured via >> > > the

wsgi env still getting bfg attributes

2011-02-18 Thread Iain Duncan
I'm guessing this is know, but just wondering why we still have the following in the wsgi env when a route is matched: 'bfg.routes.matchdict': {u'key': u'foo'}, 'bfg.routes.route': , Would it be good to have them aliased in there as pyramid? I'm using that to get the matched route object for my o

Re: docs unclear re using zope global registry

2011-02-18 Thread Iain Duncan
Further, in case it's useful, if you do this in your app start up code. gsm = getGlobalSiteManager() config = Configurator( registry=gsm ) then whenever you use request.registry you're using the zope global registry, in case you have some special need for it to be so. thanks iain -- You rece

Re: docs unclear re using zope global registry

2011-02-18 Thread Iain Duncan
On Fri, Feb 18, 2011 at 3:44 PM, Daniel Holth wrote: > If you want to use the global ZCA then you should call > Configurator.hook_zca. See > http://docs.pylonsproject.org/projects/pyramid/dev/api/config.html#pyramid.config.Configurator.hook_zca > > Global ZCA means calls to > > zope.component.get

Re: Global variables

2011-02-18 Thread Iain Duncan
On Sat, Feb 12, 2011 at 9:53 AM, Chris McDonough wrote: > On Sat, 2011-02-12 at 09:43 -0800, Mike Orr wrote: > > On Wed, Feb 9, 2011 at 2:46 PM, Tres Seaver > wrote: > > > One bit I noticed: In > > > > https://bytebucket.org/sluggo/pyramid-docs/wiki/html/migration.html#app-globals-and-cache > ,

Re: simulating pylons 1 static handling in pyramid

2011-02-18 Thread Iain Duncan
On Thu, Feb 17, 2011 at 7:53 PM, Chris McDonough wrote: > On Thu, 2011-02-17 at 19:36 -0800, Iain Duncan wrote: > > Thanks Jeff, I've made a custom predicate before, that should work. > > > > To the powers-that-be, is there the possibility of a more elegant way > &g

Re: docs unclear re using zope global registry

2011-02-18 Thread Iain Duncan
On Fri, Feb 18, 2011 at 6:12 AM, Chris Withers wrote: > On 18/02/2011 04:35, Iain Duncan wrote: > >> And I see the following: >> "If the registry argument is passed as a non-None value, it must be an >> instance of the pyramid.registry.Registry class representing

Re: Strange registry setup issue in config, can't find utilities registered

2011-02-17 Thread Iain Duncan
In case anyone finds this in a search, I found the answer, I needed to do the following before expecting a completely setup registry: config.commit() hope that helps somebody! iain -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to thi

docs unclear re using zope global registry

2011-02-17 Thread Iain Duncan
I was looking at the docs for the pyramid.Configurator object here: http://docs.pylonsproject.org/projects/pyramid/dev/api/config.html And I see the following: "If the registry argument is passed as a non-None value, it must be an instance of the pyramid.registry.Registry class representing the re

Strange registry setup issue in config, can't find utilities registered

2011-02-17 Thread Iain Duncan
Hey folks, not sure where this belongs, but it seems to be a fairly under-the-hood question, so I'll try here first. I have some utilities that get registered in various packages in zcml. The packages are included from the main apps configure.zml file with and in that packages configure.zcml fi

Re: simulating pylons 1 static handling in pyramid

2011-02-17 Thread Iain Duncan
Thanks Jeff, I've made a custom predicate before, that should work. To the powers-that-be, is there the possibility of a more elegant way of doing that? thanks Iain On Feb 12, 8:29 am, Jeff Dairiki wrote: > On Fri, Feb 11, 2011 at 06:20:23PM -0800, Iain Duncan wrote: > > >

pyramid zcml request, 'attr' on routes.

2011-02-12 Thread Iain Duncan
Hey Chris et al, wondering whether there is any reason the following would not be possible: would result in DistributionForm.post getting called, as it does if I use the attr method on a view declaration. thanks! Iain -- You received this message because you are subscribed to the Google Group

simulating pylons 1 static handling in pyramid

2011-02-12 Thread Iain Duncan
Apologies for posting to both discuss and dev, not sure if this qualifies as a dev issue as it may require adding to the zcml lookup machinery: I want to have my Pyramid app look first for static html files when given a path like /foo.html I can make this happen by using the following static dec

Re: pylons future plans?

2009-06-26 Thread Iain Duncan
On Fri, 2009-06-26 at 00:13 -0700, Iain Duncan wrote: > > > > Thanks Ben, that's very exciting. It would be cool if the discussion > > could be posted somewhere even as irc transcripts just to keep it more > > public. I imagine a focus point will come up soon enou

Re: pylons future plans?

2009-06-26 Thread Iain Duncan
> Thanks Ben, that's very exciting. It would be cool if the discussion > could be posted somewhere even as irc transcripts just to keep it more > public. I imagine a focus point will come up soon enough. well silly me, there it is on the front page of the pypefitters union. I had only been looki

Re: pylons future plans?

2009-06-26 Thread Iain Duncan
On Thu, 2009-06-25 at 23:01 -0700, Ben Bangert wrote: > On Jun 25, 2009, at 12:07 AM, Iain Duncan wrote: > > > Is there a mailing list or something where we can follow these > > discussions? > > Most of the discussions have taken place on IRC, and a bit took place &g

Re: pylons future plans?

2009-06-25 Thread Iain Duncan
> > Mmm, I was following that on pypefitters and am disappointed that > > efforts to continue seem to be being abandoned. I sure hope those > > involved decide it's worthwhile after all. > > Oh, the effort is still continuing. We're kicking around a new and > small little framework called Pype

Re: pylons future plans?

2009-06-23 Thread Iain Duncan
On Tue, 2009-06-23 at 11:11 -0700, Kyle VanderBeek wrote: > On Jun 22, 11:40 pm, Christoph Zwerschke wrote: > > Kyle VanderBeek schrieb: > > > > > Fixing the "Contributing" link might help others clone the "official" > > > repo and start sending in patches: > > > > I've already reported this seve

Re: pylons future plans?

2009-06-23 Thread Iain Duncan
On Tue, 2009-06-23 at 06:25 -0700, Mike Orr wrote: > > Perhaps we could have an IRC documentation party this Saturday and go > over how the documentation is structured and make some decisions on > how the subprojects should integrate with the Pylons site and a common > format for them so they're

Re: pylons future plans?

2009-06-23 Thread Iain Duncan
On Tue, 2009-06-23 at 08:40 +0200, Christoph Zwerschke wrote: > Kyle VanderBeek schrieb: > > Fixing the "Contributing" link might help others clone the "official" > > repo and start sending in patches: > > I've already reported this several times, but nobody cared. This was > indeed not very enc

Re: pylons future plans?

2009-06-22 Thread Iain Duncan
On Mon, 2009-06-22 at 11:31 -0700, Ben Bangert wrote: > > On Jun 21, 2009, at 12:40 PM, Iain Duncan wrote: > > >> I don't know what Ben has up his sleeve but I think the core is > >> essentially done with 0.9.7. The main incremental changes are on the > >&

Re: pylons future plans?

2009-06-21 Thread Iain Duncan
On Sat, 2009-06-20 at 18:55 -0700, Mike Orr wrote: > On Sat, Jun 20, 2009 at 4:36 PM, Iain Duncan wrote: > > > > Hey guys, wondering if I could request perhaps a bit more attention on > > the website to what the future plans & current work on pylons is. (I > > real

pylons future plans?

2009-06-20 Thread Iain Duncan
Hey guys, wondering if I could request perhaps a bit more attention on the website to what the future plans & current work on pylons is. (I realize of course that now is a bit of an unwind post 0.9.7/new website/book time. ) I'm in the process of picking my base framework for a long range tool su

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-10 Thread Iain Duncan
On Sun, 2009-05-10 at 11:28 -0700, Mike Orr wrote: > On Sun, May 10, 2009 at 4:27 AM, Paul Johnston wrote: > > Ben, I was thinking that adding this to AuthKit is the obvious choice. > > Neither AuthKit nor repoze.who are intrinsically part of Pylons, so > you want to direct your question to Jame

Re: Google Summer of Code 2009

2009-01-09 Thread Iain Duncan
On Thu, 2009-01-08 at 15:16 -0600, Ian Bicking wrote: > > Iain Duncan wrote: > >>> Writing a series of recipes (that can be tested automatically, probably > >>> with buildbot) might be a good addition? Figuring out how to write > >>> testa

Re: Google Summer of Code 2009

2009-01-08 Thread Iain Duncan
On Wed, 2009-01-07 at 16:22 -0400, Jorge Vargas wrote: > > On Wed, Jan 7, 2009 at 12:08 AM, Ian Bicking wrote: > > > > Mike Orr wrote: > >> On Tue, Jan 6, 2009 at 6:26 AM, vArDo wrote: > > Maybe a fun/useful project would be working on a system to make the > > documentation more useful or brows

having problems installing from mecurial

2008-06-13 Thread iain duncan
Hi folks, I'm trying to get TG2 going but am hitting some snags trying to build Pylons 0.9.7. I guess it's probably pre-release changes and such, which is totally understandable, but if anyone can help me get sorted that would be great! so far: $ hg clone http://pylonshq.com/hg/pylons-dev Pylons

Re: Forms

2008-01-28 Thread iain duncan
On Sat, 2008-26-01 at 10:32 +0100, Christoph Haas wrote: > Form brainstorming? Alright. > > On Fri, Jan 25, 2008 at 01:27:14PM -0800, Mike Orr wrote: > > I finally started making forms in my app this week. I found Mako more > > convenient than any of the form libraries. > > > I use a call-with-

Re: Cleaning some house of imports and one letters

2007-12-18 Thread iain duncan
On Tue, 2007-18-12 at 00:26 -0800, Ben Bangert wrote: > On Dec 18, 2007, at 12:12 AM, Ben Bangert wrote: > > In controllers, I think we can do away with the 'from ... import *'. > > While this works nicely for awhile, it almost always tends to leave > > a bad taste on people's mouth. The defau

Re: Cleaning some house of imports and one letters

2007-12-18 Thread iain duncan
On Tue, 2007-18-12 at 07:41 -0500, Mark Ramm wrote: > On Dec 18, 2007 3:12 AM, Ben Bangert <[EMAIL PROTECTED]> wrote: > > After talking with Ian Bicking a bit tonight, I'm finally fully sold > > on retiring the one-letter variable names from Pylons. The most likely > > replacement names: > > c ->