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 testable recipes is tricky, but a doable tricky. This sounds like

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 paul@gmail.com 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

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

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 Duncaniaindun...@telus.net 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 realize of course that now

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 periphery: improve @validate, replace

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

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 dair...@dairiki.org wrote: On Fri, Feb 11, 2011 at 06:20:23PM -0800, Iain Duncan wrote: I

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 include package=xornot.model / and in

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 this

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 chr...@plope.com 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 of doing that? Cool

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

Re: Global variables

2011-02-22 Thread Iain Duncan
On Sat, Feb 19, 2011 at 12:09 AM, Chris Withers ch...@simplistix.co.ukwrote: 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 ZCA registry, but Pyramid itself doesn't

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

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 b...@groovie.org wrote: On Feb 20, 2011, at 1:58

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 chr...@plope.com 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 release notes ( and my

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: pyramid, setting reponse status when using renderers?

2011-03-09 Thread Iain Duncan
:36 PM, Iain Duncan wrote: 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

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,

Re: New project . Pylons or Pyramid

2011-03-20 Thread Iain Duncan
On Mar 9, 8:56 pm, Iain Duncan iainduncanli...@gmail.com 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 docs, and more beginner friendly additions

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

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,

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 iainduncanli...@gmail.comwrote: Thanks for the interest guys. I'm trying to figure out what to reasonably release first. I think the most sensible

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

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 whalb...@gmail.com wrote: that is called learning from the experience, chris. yes, his server specifications may vary,

Re: possible regression bug re includeOverrides in pyramid 1.2

2011-10-07 Thread Iain Duncan
for=xornot.dram.interfaces.IResourceContainer name= view=xornot.dram.views.ListAction permission=view wrapper=content_wrapper route_name=content renderer=xornot.cms:templates/resource_list.pt / On Fri, Oct 7, 2011 at 7:01 AM, Chris McDonough chr...@plope.com wrote: On Sep 28, 6:05 pm, Iain Duncan iainduncanli

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 chr...@plope.com 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 pyramid apps I'm using

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

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 iainduncanli...@gmail.comwrote: Hi everyone, I started a thread about this ages ago, and expressed

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 iainduncanli...@gmail.comwrote: I found the thread I started back

Re: Sites using Pyramid Pyramid Advocacy

2012-10-22 Thread Iain Duncan
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 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

Re: Sites using Pyramid Pyramid Advocacy

2012-10-24 Thread Iain Duncan
the description and logo for now? thanks Iain On Wed, Oct 24, 2012 at 7:07 AM, Thomas G. Willis tom.wil...@gmail.comwrote: 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 idun...@xornot.com

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

[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

[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 iainduncanli...@gmail.comwrote: 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

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

[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