formencode, unicode, and xhtml validation?

2007-09-09 Thread iain duncan
Apologies if this isn't really the right place to ask this, but I figure someone using formencode with pylons might have a good solution. I'm using TG on this, but I *think* this is not really specific to either. I am trying to get user submitted unicode html validated and cleaned up and limited

Re: FormEncode form validators

2007-10-19 Thread iain duncan
On Wed, 2007-17-10 at 13:20 -0500, Ian Bicking wrote: > FormEncode is overdue for a release, but before that a request: there > has been some mention that FormEncode should ship more useful form > validators. For instance, FieldsMatch is an example of something > currently shipped, but about t

Re: Pylons-discuss getting way, way too much spam lately

2007-11-24 Thread iain duncan
On Thu, 2007-22-11 at 23:53 -0800, zunzun wrote: > Is there any way to have Google Groups spam filter the postings to > this news group? > > James I'd recommend doing what we do on the TG list, all new users first messages are moderated and we have a wack of people with moderator status. It

Re: tg catwalk, django admin, simple crud like app?

2007-12-12 Thread iain duncan
On Tue, 2007-04-12 at 12:35 -0800, Mike Orr wrote: > On Dec 4, 2007 11:31 AM, John_Nowlan <[EMAIL PROTECTED]> wrote: > > Haven't there been a few efforts at creating a pylons/sqlalchemy crud > > interface app that does introspection on a table to generate a simple form? > > > > A quick look hasn't

Re: TG2/Pylons sprint

2007-12-21 Thread iain duncan
On Fri, 2007-21-12 at 02:33 -0800, zunzun wrote: > The TG2 trunk posting rate is not very large by my standards, and can > be very interesting. Here is an example where the use of Mako is > rejected in TG and will not be used; > > http://groups.google.com/group/turbogears-trunk/browse_thread/thr

Re: WebHelpers plans

2008-01-09 Thread iain duncan
On Tue, 2008-08-01 at 14:05 -0600, Devin Torres wrote: > On Monday 07 January 2008 14:35:12 Mike Orr wrote: > > * There are three text-to-HTML helpers: 'htmlgen', 'textile', > > 'markdown'. Do we need all of these or can we standardize on one? > Do > > they even need to be in WebHelpers at all?

Re: Form filling with Genshi

2008-02-10 Thread iain duncan
On Wed, 2008-06-02 at 12:38 -0800, Mike Orr wrote: > On Feb 6, 2008 11:24 AM, Philip Cooper <[EMAIL PROTECTED]> wrote: > > > > > > > > On Feb 4, 9:34 am, Geoff <[EMAIL PROTECTED]> wrote: > > > Hi! > > > > > > What can I use to fill in forms when using Genshi in Pylons? htmlfill > > > is mentioned

deploying webob without long running processes?

2008-05-16 Thread iain duncan
I'm not sure where to ask this so sorry if it's OT. I know pylons is (optionall?) moving to WebOb, and I'd like to get more experience using it. I frequently find myself writing mini-apps for clients that need to be hosted in a crappy environment but really don't need to execute fast. Are there an

Re: How did you begin your fun with Pylons?

2008-06-01 Thread iain duncan
On Sun, 2008-01-06 at 18:15 -0400, Noah Gift wrote: > > > On Fri, May 30, 2008 at 2:40 PM, Alberto Valverde <[EMAIL PROTECTED]> > wrote: > > Shannon -jj Behrens wrote: > > I'm not making any judgments about anyone. However, I did > see a great > > talk y

Re: Difference between controllers and views?

2008-06-15 Thread iain duncan
> I saw a Java MVC that's totally different. The view knows about the > model and actively puts things into it and takes things out of it. > The controller does not know much about the model (if I remember > right). The database is also distinct from the model; the view talks > to the database

Re: recommendations

2008-06-20 Thread iain duncan
On Fri, 2008-20-06 at 16:24 +0200, Paul Bloch wrote: > Hi guys, > Just tapping in for a brief moment as I'm doing some research on wikis > based in ruby. I've come across wagn.org which is a pretty hot wiki > software in the way it handles the database. I was just wondering if > anyone knows of

Re: Sanitizing User Input

2008-06-29 Thread iain duncan
On Sun, 2008-29-06 at 18:50 -0700, Jonathan Vanasco wrote: > Ha, yeah... > > But I need to support embedding flash widgets and all that other fun > stuff. In that case you might want to make a custom formencode validator that uses beautiful soup and/or element tree. Iain --~--~-~--~-

Re: Javascript library

2008-11-20 Thread Iain Duncan
On Mon, 2008-11-10 at 01:21 -0800, cropr wrote: > > It is difficult to choose the right one. > > I've tried extjs, jquery and yui for my webproject. Here are my > findings: > - I started testing with extjs. Extjs is extremely bloated and > because of that extjs is slow to load and to use and

buildout vs virtualenv for pylons and/or other wsgi apps?

2008-12-14 Thread Iain Duncan
Hi folks, I totally do not want to start a flame war here, but was wondering if people could give me their reasons for preferring buildout or virtualenv for automated builds of pylons apps or other wsgi apps. Thanks, Iain --~--~-~--~~~---~--~~ You received this m

Re: Django or Pylons - comparison details

2008-12-14 Thread Iain Duncan
> I don't use FormEncode. It is based on a very common design mistake > made by a lot of programmers, who think one can better generate html > from code. I think you are maybe mixing up Formencode and some projects that use formencode. Formencode's core is for validating and converting to and

Re: Django or Pylons - comparison details

2008-12-14 Thread Iain Duncan
> Cropr's point seems to be that programmers should not design forms > because graphic designers do a much better job. That is true only if > a complex visual design for the form page is paramount. In most cases > the complex design occurs on the home page and content pages, and the > form is m

Re: buildout vs virtualenv for pylons and/or other wsgi apps?

2008-12-14 Thread Iain Duncan
On Sun, 2008-12-14 at 21:41 -0800, Mike Orr wrote: > > On Sun, Dec 14, 2008 at 8:38 PM, Iain Duncan wrote: > > > > Hi folks, I totally do not want to start a flame war here, but was > > wondering if people could give me their reasons for preferring buildout > &g

Re: buildout vs virtualenv for pylons and/or other wsgi apps?

2008-12-14 Thread Iain Duncan
> Are you trying to build test suites or do a large number of > deployments? My deployment method is to make a virtualenv on the > target machine, "svn export" the application and copy it, then make > any adjustments needed. So I don't really do anything automated. Are > you trying to build te

doc tools suggestions?

2008-12-15 Thread Iain Duncan
Hi folks, I'm working on a wsgi app that I hope to eventually make public. I'm not sure what to do about documentation, I plan on using Sphinx for hand written docs, but don't know whether I should also use a javadoc style tool like epydoc or doxygen, and if so, which one. If folks could tell me w

Re: Pylons widgets...?

2008-12-18 Thread Iain Duncan
On Thu, 2008-12-18 at 17:12 -0500, Julio Napurí Carlos wrote: > > Uhmm > what about rum [1] and RumAlchemy ? > > Some cool things you might overlook http://rumdemo.toscawidgets.org/ > > [1]http://toscawidgets.org/documentation/rum/ Rum doesn't replace toscawidgets, it provides an admin app fr

Re: how many people actually use authkit, formbuild or tosca-widgets ?

2008-12-27 Thread Iain Duncan
> > > > Last but not least this is pylons, over here everything is optional. > > No one told you to use any of them. > > One thing that might be nice with Pylons, is if each optional > component had a rating system that included attributes such as: > > difficulty to learn: > full test coverage:

Re: how many people actually use authkit, formbuild or tosca-widgets ?

2008-12-27 Thread Iain Duncan
On Sat, 2008-12-27 at 16:51 -0800, Mike Orr wrote: > > On Sat, Dec 27, 2008 at 12:48 PM, Iain Duncan wrote: > > > >> > > >> > Last but not least this is pylons, over here everything is optional. > >> > No one told you to use any of them. > >

Re: What I've learned deploying pylons

2009-04-07 Thread Iain Duncan
> > Do you mean better mod_wsgi documentation as part of the Pylons > > documentation, or that mod_wsgi itself needs better/more > > documentation? > > > I guess I mean better or more complete example is probably a better choice of > words rather then documentation because as you already ment

Re: installation has NEVER worked on the first try in two years of using Pylons

2009-04-09 Thread Iain Duncan
On Wed, 2009-04-08 at 12:14 -0700, Philip Jenvey wrote: > > > On Apr 8, 2009, at 4:50 AM, Noah Gift wrote: > > > > > I get frustrated every time I setup a new virtualENV as I forgot that > > something always breaks. I just got this today: > > > > http://pylonshq.com/pasties/d8768f105749c5c1690

pylons architecture decision question

2009-04-12 Thread Iain Duncan
I've been working through the Pylons book and new docs ( fantastic improvement btw! ) as well as Ian's webob tutorials. I'm pretty clear now on how Pylons calls pylons controllers and wsgi apps, and understand the difference between calling an instantiated app and the way pylons re-instantiates a

Re: pylons architecture decision question

2009-04-13 Thread Iain Duncan
On Sun, 2009-04-12 at 22:22 -0700, Mike Orr wrote: > > On Sun, Apr 12, 2009 at 9:18 PM, Iain Duncan wrote: > > > > I've been working through the Pylons book and new docs ( fantastic > > improvement btw! ) as well as Ian's webob tutorials. I'm pretty c

Re: pylons architecture decision question

2009-04-13 Thread Iain Duncan
On Mon, 2009-04-13 at 01:38 -0700, Mike Orr wrote: > > On Mon, Apr 13, 2009 at 1:30 AM, Mike Orr wrote: > > > It's like the issue of why Python doesn't have separate float and long > > types. It uses long throughout because the overhead of a Python > > object dwarfs the miniscule difference be

Re: Rum

2009-04-20 Thread Iain Duncan
On Sun, 2009-04-19 at 22:13 -0400, Agustin Villena wrote: > > I noticed that Rum & DBSprockets were left nehind and now the prefered > CRUD solutions is Sprox (http://sprox.org/) > that is being used on Turbogears 2.0 > > Any experience on Sprox? to clarify, sprox is the inheriter of DBSprocket

Re: Plugin architecture

2009-04-27 Thread Iain Duncan
> At PyCon, some of us experimented with a full plugin system (Zope > Component Architecture) as used in repoze.BFG. It's too early to tell > whether it would be feasable for a Pylons-like framework (and most of > the developers are too busy to pursue it right now). But the > theoretical idea wo

Re: Plugin architecture

2009-04-28 Thread Iain Duncan
On Tue, 2009-04-28 at 15:09 -0700, Ben Bangert wrote: > On Apr 28, 2009, at 2:43 PM, Wichert Akkerman wrote: > > > If you decide to use zope.component a controller could be a named > > utility. You could then register it like so: > > > > class BaseController(object): > > """This is the stan

Re: Naming virtualenvs

2009-05-12 Thread Iain Duncan
On Tue, 2009-05-12 at 18:40 +0200, Antonio Beamud Montero wrote: > > How do you name virtual environments? > And where do you store this enviroments? > Exists any recipe to manage several virtual envs and not die trying it? :) > I came up with a slightly odd configuration that I really like, bu

Re: Naming virtualenvs

2009-05-12 Thread Iain Duncan
On Tue, 2009-05-12 at 15:51 -0700, Mike Orr wrote: > On Tue, May 12, 2009 at 3:45 PM, Iain Duncan wrote: > > > > On Tue, 2009-05-12 at 18:40 +0200, Antonio Beamud Montero wrote: > >> > >> How do you name virtual environments? > >> And where do you stor

Re: Web technologies and pylons in the real world

2009-07-16 Thread Iain Duncan
On Thu, 2009-07-16 at 10:09 -0700, Tom Longson (nym) wrote: > I think the relative number of django apps in the wild vs pylons apps > is a good indicator of how "easy" it is to get something launched. Not > that I don't <3 pylons, but django's developer base speaks for itself. > Either that, or py

Re: Web technologies and pylons in the real world

2009-07-17 Thread Iain Duncan
On Fri, 2009-07-17 at 12:19 -0700, Mike Orr wrote: > On Thu, Jul 16, 2009 at 10:09 AM, Tom Longson (nym) wrote: > > > > I think the relative number of django apps in the wild vs pylons apps > > is a good indicator of how "easy" it is to get something launched. Not > > that I don't <3 pylons, but d

Re: Web technologies and pylons in the real world

2009-07-18 Thread Iain Duncan
On Sat, 2009-07-18 at 11:58 -0700, Mike Orr wrote: > On Fri, Jul 17, 2009 at 5:24 PM, Iain Duncan wrote: > >> What we need now is people with marketing skills who are not > >> Pylons developers (thus not distracted by development). If you'd like > >> to do ma

Re: marketing, was Web technologies and pylons in the real world

2009-07-18 Thread Iain Duncan
> Oh, I don't know. All three frameworks are based on the original > Rails vision, so they are all similar in that regard, and all these > adjectives apply to all of them. > > I guess the first question is, regarding "Pylons is a lightweight web > framework emphasizing flexibility and rapid deve

Re: Web technologies and pylons in the real world

2009-07-18 Thread Iain Duncan
On Sat, 2009-07-18 at 12:45 -0700, Mike Orr wrote: > On Sat, Jul 18, 2009 at 12:25 PM, Iain Duncan wrote: > > I am very interested in the idea of having > > something that supports both Pylons style and zope-traversal style as > > I'm know finding cases where zope-style

Re: Web technologies and pylons in the real world

2009-07-18 Thread Iain Duncan
On Sat, 2009-07-18 at 19:27 -0700, Mike Orr wrote: > On Sat, Jul 18, 2009 at 1:12 PM, Iain Duncan wrote: > > > > On Sat, 2009-07-18 at 12:45 -0700, Mike Orr wrote: > >> On Sat, Jul 18, 2009 at 12:25 PM, Iain Duncan wrote: > >> > I am very interested in the

Re: Web technologies and pylons in the real world

2009-07-19 Thread Iain Duncan
> > Couple of things we need to be clear before any marketing effort is. > > 1. Who is our Target group? > a.) Decision maker- Who is going to take dicision on which web > framework to be used for each project > b.) Influencer- can be a developer/Client, etc..They can influence the > decision m

Re: Web technologies and pylons in the real world

2009-07-19 Thread Iain Duncan
On Sun, 2009-07-19 at 09:46 -0700, Ben Bangert wrote: > On Jul 18, 2009, at 1:12 PM, Iain Duncan wrote: > > > Um, I am certainly not the guy to explain it, but I highly recommend > > Chris M's awesome docs on the bfg site. Basically the router walks an > > heirarc

Pylons marketing, ( new thread from web tech )

2009-07-19 Thread Iain Duncan
Taking Ben's suggestion, I just went ahead created a new thread. Mike Orr said: """ I have started a Talking Points wiki page to gather the essential points. Please add anything that's missing. http://wiki.pylonshq.com/display/pylonscommunity/Talking+Points """ Thanks Mike, what do you and the

Re: Multiple applications with mod_wsgi

2009-07-22 Thread Iain Duncan
On Wed, 2009-07-22 at 08:59 +0200, Frank Broniewski wrote: > Hello Graham, > > thank you very much for your detailed response. I find it very helpful. > > > FWIW, you will find that Pylons folks would tend to recommend you run > > each with a separate Paste server instance behind mod_proxy of yo

Re: Multiple applications with mod_wsgi

2009-07-22 Thread Iain Duncan
On Wed, 2009-07-22 at 14:16 +0200, Frank Broniewski wrote: > Nice to hear that either choice is somewhat equal. I wouldn't take my input as meaning they are *equal*, I am by no means a server expert. I've been following Graham's work on mod_wsgi and from what I can see he's really made it a grea

Re: Web technologies and pylons in the real world

2009-07-22 Thread Iain Duncan
On Wed, 2009-07-22 at 11:59 -0700, DavidG wrote: > I am a bit concerned. The talk is that after 1.0, pylons will be > "done". Why is this, necessarily? > > My feeling is that any project that "stops", or just goes into > maintenance mode, loses a good reason for people to currently adapt > it. Th

Re: Web technologies and pylons in the real world

2009-07-22 Thread Iain Duncan
On Wed, 2009-07-22 at 14:50 -0700, Ben Bangert wrote: > On Jul 22, 2009, at 2:38 PM, Mike Orr wrote: > > > If we find some great compatible feature, it can go into Pylons 1.1. > > If we find some great incompatible feature, it can go into Pylons > > 2.0. > > But what would these features be? We

Re: Web technologies and pylons in the real world

2009-07-24 Thread Iain Duncan
On Fri, 2009-07-24 at 16:08 -0400, Ross Vandegrift wrote: > On Wed, Jul 22, 2009 at 06:23:50PM -0700, Ben Bangert wrote: > > Hmm, yes, that is true. What do you think would be the best way? Blog > > posts? I'm just unsure of what to say, should I just put a new post up > > now and then saying,

Re: Pylons marketing, ( new thread from web tech )

2009-08-23 Thread Iain Duncan
and effort to do something that is not wanted and appreciated and stand a good chance of being used. I have already railed against that in previous threads. I would love to see that change though, so I'm sure the discussion is still productive. Iain > > > On Jul 19, 5:11 pm, Iain D

Re: Pylons marketing, ( new thread from web tech )

2009-08-24 Thread Iain Duncan
> Regarding the lack of Pylons' marketing by the developers, it's not a > lack of interest. It's just that Pylons 1.0 is not finished yet so we > don't want to bring a lot of newbies on yet to suffer its growing > pains. (Of course, the timing of the Pylons Book has brought some in, > and they'

Re: Pylons marketing, ( new thread from web tech )

2009-08-24 Thread Iain Duncan
On Mon, 2009-08-24 at 14:53 -0700, Mike Orr wrote: > On Mon, Aug 24, 2009 at 10:38 AM, Thomas G. Willis > wrote: > > > > I agree too. If Django supported sqlalchemy as well as it does it's > > own ORM I would likely be using it. But it seems like the price of all > > the cool stuff Django offers

Re: Pylons marketing, ( new thread from web tech )

2009-08-24 Thread Iain Duncan
that those in charge care for their efforts. thanks for piping up this time. Iain > > Jerry > > On Aug 25, 7:45 am, Ben Bangert wrote: > > On Aug 24, 2009, at 4:13 PM, Iain Duncan wrote: > > > > > That's cool, but Ben still has to show some interest if you g

Re: Pylons marketing, ( new thread from web tech )

2009-08-24 Thread Iain Duncan
On Mon, 2009-08-24 at 21:56 -0700, Jonathan Vanasco wrote: > On Aug 24, 2:38 am, Iain Duncan wrote: > > > Sorry, I totally disagree. The above may be true for Django, or for the > > average person purchasing a Mac, but it is expressly *not true* for > > Pylons. The Py

Re: Pylons marketing, ( new thread from web tech )

2009-08-24 Thread Iain Duncan
On Mon, 2009-08-24 at 18:55 -0700, Mike Orr wrote: > On Mon, Aug 24, 2009 at 4:11 PM, Iain Duncan wrote: > > > >> Perhaps Pylons' greatest asset is influence rather than popularity. > >> It's gaining respect and market share among those who know a lot abou

OT, db book recos needed

2009-08-26 Thread Iain Duncan
Hey folks, I'm going to be doing some fairly serious database refactoring and redesign for a client for whom we are making Pylons glue apps to replace a cobbled together set of legacy db apps that don't talk to each other. I figure it's time to take my database design knowledge to the next level,

Re: OT, db book recos needed

2009-08-26 Thread Iain Duncan
On Wed, 2009-08-26 at 17:12 -0300, Mariano Mara wrote: > > > 2009/8/26 Iain Duncan > > Hey folks, I'm going to be doing some fairly serious database > refactoring and redesign for a client for whom we are making > Pylons glue >

Re: Anyone besides me using stored procedures?

2009-08-27 Thread Iain Duncan
On Thu, 2009-08-27 at 12:04 -0700, Jonathan Vanasco wrote: > i rarely use stored procedures because everything I would put in one > is easier/faster to handle in the webapp > > however i make **HEAVY** use of complicated views so that: > - i don't deal much with multi-layered orm objects ( like l

Re: OT, db book recos needed

2009-08-27 Thread Iain Duncan
On Thu, 2009-08-27 at 11:52 -0700, Jonathan Vanasco wrote: > there was a "high performance mysql" book a while back , that might > offer some non-specific db tips that are just good db design. though i > can't remember if it was good or not. > > before i move on i'll note two things in a disclaim

calling wsgi app as controller question

2009-08-31 Thread Iain Duncan
Hey folks, I'm trying to call a repoze.bfg app as a wsgi app from pylons. bfg app provides a wsgi callable, so I made a controller in pylons called 'admin'. in routing.py I have: map.connect('/admin', controller='admin') and in admin.py I have: from dram.run import app AdminController = app(

Re: calling wsgi app as controller question

2009-09-01 Thread Iain Duncan
On Mon, 2009-08-31 at 22:53 -0700, Mike Orr wrote: > On Mon, Aug 31, 2009 at 10:14 PM, Iain Duncan wrote: > > > > Hey folks, I'm trying to call a repoze.bfg app as a wsgi app from > > pylons. bfg app provides a wsgi callable, so I made a controller in > > p

Re: calling wsgi app as controller question

2009-09-01 Thread Iain Duncan
On Tue, 2009-09-01 at 10:57 -0700, Mike Orr wrote: > On Tue, Sep 1, 2009 at 10:12 AM, Iain Duncan wrote: > > > > On Mon, 2009-08-31 at 22:53 -0700, Mike Orr wrote: > >> On Mon, Aug 31, 2009 at 10:14 PM, Iain Duncan wrote: > >> > > >> > Hey folks, I

Re: calling wsgi app as controller question

2009-09-01 Thread Iain Duncan
On Tue, 2009-09-01 at 10:57 -0700, Mike Orr wrote: > On Tue, Sep 1, 2009 at 10:12 AM, Iain Duncan wrote: > > > > On Mon, 2009-08-31 at 22:53 -0700, Mike Orr wrote: > >> On Mon, Aug 31, 2009 at 10:14 PM, Iain Duncan wrote: > >> > > >> > Hey folks, I

Re: calling wsgi app as controller question

2009-09-01 Thread Iain Duncan
On Tue, 2009-09-01 at 10:53 -0700, Jason S. wrote: > > > map.connect("/admin/{path_info:.*}", controller="admin") > > > > Hi Mike and others, I just tried that and the wsgi callable still gets > > an altereded evn. Path info is '/admin' and script name is still ''. Any > > ideas what might have go

Re: calling wsgi app as controller question

2009-09-01 Thread Iain Duncan
On Tue, 2009-09-01 at 11:52 -0700, Mike Orr wrote: > On Tue, Sep 1, 2009 at 11:50 AM, Mike Orr wrote: > > On Tue, Sep 1, 2009 at 11:27 AM, Iain Duncan wrote: > >> > >> Hey, it does work, but you had a typo. > >> > >> map.connect("/admin{

Re: calling wsgi app as controller question

2009-09-01 Thread Iain Duncan
On Tue, 2009-09-01 at 12:04 -0700, Mike Orr wrote: > On Tue, Sep 1, 2009 at 11:54 AM, Iain Duncan wrote: > > > > On Tue, 2009-09-01 at 10:53 -0700, Jason S. wrote: > >> > > map.connect("/admin/{path_info:.*}", controller="admin") > >>

Re: Pylons marketing, ( new thread from web tech )

2009-09-01 Thread Iain Duncan
On Tue, 2009-09-01 at 14:26 -0700, Thierry wrote: > Do we have an online version of the Definitive Guide to Pylons on the > Pylons web site? Someone just told me he prefers the documentation in > TG2 over what Pylons have online and because of that, he'll be picking > TG2 for his next project. T

another wsgi calling question

2009-09-01 Thread Iain Duncan
Wondering what the sensible way of calling an external wsgi app from pylons is if we *want* the app to be instantiated at server startup. I noticed that when I do AdminController = DramApp( blah blah) in my dummy controller file, DramApp doesn't get initialized until the first call to the contr

Re: another wsgi calling question

2009-09-02 Thread Iain Duncan
On Wed, 2009-09-02 at 01:28 -0700, Mike Orr wrote: > On Tue, Sep 1, 2009 at 11:03 PM, Iain Duncan wrote: > > > > Wondering what the sensible way of calling an external wsgi app from > > pylons is if we *want* the app to be instantiated at server startup. I >

Re: another wsgi calling question

2009-09-02 Thread Iain Duncan
On Wed, 2009-09-02 at 11:59 -0700, Mike Orr wrote: > On Wed, Sep 2, 2009 at 11:06 AM, Iain Duncan wrote: > > > > On Wed, 2009-09-02 at 01:28 -0700, Mike Orr wrote: > >> On Tue, Sep 1, 2009 at 11:03 PM, Iain Duncan wrote: > >> > > >> > Wondering w

Re: user management (login, registration, etc.)

2009-09-10 Thread Iain Duncan
Thanks! This should be on the site prominently somewhere. =) iain On Thu, 2009-09-10 at 22:23 +0100, Graham Higgins wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On 10 Sep 2009, at 18:59, travis+ml-pyl...@subspacefield.org wrote: > > > I could use some more complete examples.

pylons with chameleon?

2009-09-16 Thread Iain Duncan
Hi folks, I have not built enough pylons to be know how to switch templating languages beyond mako and genshi, but I'm interested in using Chameleon. Has anyone got any examples up of what one needs to do to use Chameleon? thanks Iain --~--~-~--~~~---~--~~ You re

Pylons integrated desktop apps?

2007-03-10 Thread iain duncan
Hi folks, I am just wetting my feet with pylons. I am curious whether anyone on here has experience integrating desktop apps with pylons projects, and if so, would they care to share opinions on feasability, when it is worth, how it went, how they did so? Despite what many would have me believe,

Re: Pylons integrated desktop apps?

2007-03-11 Thread iain duncan
> I haven't done it but it's a live issue in our office. I have one > site that's a web application (Quixote) and will also be a standalone > web application for laptops without Internet access (e.g., for > emergency responders on a truck or ship). We debated doing a wxPython > interface for th

Re: Pylons integrated desktop apps?

2007-03-11 Thread iain duncan
> So far we've done some initial tests with Py2exe (Windows) and Py2app > (Mac) and put it on the back burner. I've tried to stay away from > that part because I'm more of a Linux guy. > > If I did it again I'd still go the web route because the differences > between a web framework and a GUI a

Re: Pylons integrated desktop apps?

2007-03-11 Thread iain duncan
> > A while back I built a TurboGears app that utilized XRC (see > http://wiki.wxpython.org/index.cgi/UsingXmlResources) templates that > wxPython can render as GUI elements. The "main" application (compiled > as an .exe) was little more than a bootstrap loader that downloaded a > zipfile of Py

Re: Pylons integrated desktop apps?

2007-03-13 Thread iain duncan
> Based on PyCon talks, Pythoncard takes a lot of the pain out of > wxPython. Dabo seems to be aimed squarely at replacing Filemaker. I > know the Dabo guys spent a lot of time fighting wxPython. Hmm, having worked a long time as a user of filemaker, that doesn't seem a selling point to me. I

Re: Are my Python/Pylons concerns justified?

2007-08-14 Thread iain duncan
On Sat, 2007-11-08 at 13:51 -0700, walterbyrd wrote: > > > On Aug 9, 4:35 am, Marcin Kasperski <[EMAIL PROTECTED]> > wrote: > > A lot of answers already, so just two points: > > > > a) There are plenty of cheap VPS hosting options (you get > > I guess it depends on what you call cheap. I can ge

Re: pylons with chameleon?

2009-09-19 Thread Iain Duncan
Wichert, thank you so much for your explicit example! I'll try that out this week. =) Iain On Sat, 2009-09-19 at 09:40 +0200, Wichert Akkerman wrote: > On 2009-9-16 21:06, Iain Duncan wrote: > > > > Hi folks, I have not built enough pylons to be know how to switch >

repoze.what pylons quickstart question

2009-09-23 Thread Iain Duncan
Hi folks, apologies for the cross post, I posted this on the repoze list but didn't get any solutions, so I'll try here. I'm using the repoze.what pylons quickstart code, and I'm having problems with the fact that when @protect_action fails, it tries to call the login action *for the current cont

Re: pylons with chameleon?

2009-09-23 Thread Iain Duncan
In Sat, 2009-09-19 at 09:40 +0200, Wichert Akkerman wrote: > On 2009-9-16 21:06, Iain Duncan wrote: > > > > Hi folks, I have not built enough pylons to be know how to switch > > templating languages beyond mako and genshi, but I'm interested in using > > Chameleon

Re: pylons with chameleon?

2009-09-24 Thread Iain Duncan
On Thu, 2009-09-24 at 10:16 -0700, Mike Orr wrote: > On Thu, Sep 24, 2009 at 9:03 AM, KMCB wrote: > > > > Mike, > > > > I think they may be talk about this > > > > http://chameleon.repoze.org/ > > So it's a template engine unifier, the way Buffet was and render_* > are. It also claims to be fas

Re: pylons with chameleon?

2009-09-25 Thread Iain Duncan
> Hm, the chameleon.zpt template has not seen as much love as the > chameleon.genshi version so it might have broken somewhere. Can you test > if chameleon.genshi works for you? If so I'll look at fixing up the > chameleon.zpt version. Thanks, Chameleon genshi is working with your correction.

Re: pylons with chameleon? unescaping HTML

2009-09-25 Thread Iain Duncan
> Hm, the chameleon.zpt template has not seen as much love as the > chameleon.genshi version so it might have broken somewhere. Can you test > if chameleon.genshi works for you? If so I'll look at fixing up the > chameleon.zpt version. I've got the genshi templates being rendered, but I don't

Re: pylons with chameleon?

2009-09-29 Thread Iain Duncan
> To be more precise: chameleon.genshi implements the Genshi XML template > syntax as described in > http://genshi.edgewall.org/wiki/Documentation/0.5.x/xml-templates.html . > is not a part of that syntax. > > That tutorial does not work due to a limitation chameleon.genshi > currently has:

parsing ini files?

2009-10-26 Thread Iain Duncan
Hi folks, wondering if anyone can tell what Pylons (Paste?) uses for parsing the ini files. I'm breaking some of my app into it's own package and want to have it parse a local ini file if that component gets used on it's own separately from the pylons app, but I'd like to use whatever is the stand

Re: parsing ini files?

2009-10-26 Thread Iain Duncan
On Mon, 2009-10-26 at 14:17 -0700, Mike Orr wrote: > On Mon, Oct 26, 2009 at 1:48 PM, Iain Duncan wrote: > > > > Hi folks, wondering if anyone can tell what Pylons (Paste?) uses for > > parsing the ini files. I'm breaking some of my app into it's own package > &

Re: parsing ini files?

2009-10-26 Thread Iain Duncan
On Mon, 2009-10-26 at 14:59 -0700, pyl...@mailzilla.com wrote: > Iain, you're probably better off using python's ConfigParser module. > > http://docs.python.org/library/configparser.html#module-ConfigParser > > Phil Thanks Phil Iain --~--~-~--~~~---~--~~ Yo

setup/teardown in pylons tests?

2010-02-26 Thread iain duncan
Hi folks, I'm wondering why when using nose to runs pylons paste.fixture based test classes, setup/teardown don't seem to run ( maybe I'm missing something?) thanks Iain -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, s

Re: setup/teardown in pylons tests?

2010-02-27 Thread iain duncan
On Feb 27, 4:53 am, Marius Gedminas wrote: > On Fri, Feb 26, 2010 at 12:26:59PM -0800, iain duncan wrote: > > Hi folks, I'm wondering why when using nose to runs pylons > > paste.fixture based test classes, setup/teardown don't seem to run > > ( maybe I'm miss

Re: setup/teardown in pylons tests?

2010-02-27 Thread iain duncan
On Feb 27, 3:48 pm, Marius Gedminas wrote: > On Sat, Feb 27, 2010 at 01:47:41PM -0800, iain duncan wrote: > > What I have done is add a method called setup to the same > > TestControllers that get made when you make a controller. In a normal > > nose test class, this gets r

Re: setup/teardown in pylons tests?

2010-02-28 Thread iain duncan
aha, thanks! On Feb 28, 4:09 am, Marius Gedminas wrote: > On Sat, Feb 27, 2010 at 04:47:41PM -0800, iain duncan wrote: > > > On Feb 27, 3:48 pm, Marius Gedminas wrote: > > > On Sat, Feb 27, 2010 at 01:47:41PM -0800, iain duncan wrote: > > > > What I have done is

Re: Any sample applications for Pyramid?

2010-11-11 Thread Iain Duncan
I would recommend you work through the BFG docs before trying to migrate any real apps. The BFG docs are frankly, the best technical docs I have encountered. They will expose you to a bunch of new ways of thinking about web apps, and I think wrapping your head around traversal and the zca before mi

Re: Any sample applications for Pyramid?

2010-11-11 Thread Iain Duncan
On Thu, Nov 11, 2010 at 12:42 PM, Chris McDonough wrote: > On Thu, 2010-11-11 at 10:59 -0800, Iain Duncan wrote: > > I would recommend you work through the BFG docs before trying to > > migrate any real apps. The BFG docs are frankly, the best technical > > docs I have e

Re: Pylons newbie - where to now?

2010-11-15 Thread Iain Duncan
My answer would be different from Ben's: If you consider yourself an advanced developer, or expect to be doing advance development on this project, I would dive in by using repoze.bfg. If you aren't doing anything terribly complex or don't expect to need extensability, then yeah, Pylons is more be

Re: The power of PEPs

2010-11-26 Thread Iain Duncan
I agree that further documentation on design decisions would be helpful, though I empathize that processes need to be lightweight. My two cents from the sidelines: The design decisions for Pyramid are very very good for long term extensability and project growth. However, they are, much like the

Re: Pylons podcast #1

2010-12-06 Thread Iain Duncan
If I may forward some 'sales guy' opinions... Names are really really important for marketing, first impressions, brand identity, etc. I am personally very happy to see repoze.bfg moving to a more 'acceptable' name from a sales perspective. ( I think bfg is funny, but I have never been happy about

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Iain Duncan
I would register a dissenting opinion and say use Dojo if it's going to be a big, long lived app. I love jQuery for small projects, and projects where the ajax is essentially garnish. It's awesome for adding ajax goodness to a regular app and adding quick and dirty stuff without having to change yo

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Iain Duncan
more complicated, ditto for Dojo. So I'm super happy about the Pyramid merger. iain On Thu, Dec 16, 2010 at 12:49 PM, Iain Duncan wrote: > I would register a dissenting opinion and say use Dojo if it's going to be > a big, long lived app. I love jQuery for small projects, and proj

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Iain Duncan
Also, I'm using Chameleon.zpt for templating. It's much faster than genshi, but for me, xml templating is way easier for ajax development. iain On Thu, Dec 16, 2010 at 12:51 PM, Iain Duncan wrote: > Interesting, my big project started as a Pylons and jQuery app, existed for &

pyramid doc bugs/requests/suggestions

2011-02-06 Thread Iain Duncan
I'm a reasonably competent BFG user who was a pylons user before that, and am now going through the pyramid docs. Can someone tell me where I should send details of mistakes, typos, or things that could be clearer? thanks! Iain -- You received this message because you are subscribed to the Googl

reify decorator

2011-02-06 Thread Iain Duncan
I just discovered the reify decorator and request_factory in the new docs, not sure if it's new or I just missed it in recent BFG docs. It looks like a really nice way to replace some ugliness I had done by hand in a previous version of my work, wanted to check: Is this the 'recommended' way to in

simulating pylons 1 static handling in pyramid?

2011-02-11 Thread Iain Duncan
Hi folks, 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 declaration, but that seems to hide other views as well: When I use the above, I seem to get any request at the root directory being in

  1   2   3   >