Hi, Chris. Since Deform doesn't mention CSRF, I assume it must be done
by another session-based plugin at the discretion of the developer?
Like, opt-in security? :)
Also, the docs say that some form controls rely on JS being available.
That's understandable, like in the case of date-time controls.
I would appreciate some confirmation/explanation on the Pyramid event
system -- is event/subscribe restricted to Pyramid running on one
physical server?
Thanks.
Jerry
On Dec 14, 7:13 am, John Anderson son...@gmail.com wrote:
On Tue, Dec 13, 2011 at 5:10 PM, Vlad K. v...@haronmedia.com wrote:
Pyramid's event system is simply the ZCA registry.
You can add subscribers to data types/interfaces, and you can notify those
subscribers via the registry.
class MyEvent(object):
pass
@subscribe(MyEvent)
def do_something(event):
# do stuff with the event
e = MyEvent()
On Wed, 2011-12-14 at 01:11 -0800, jerry wrote:
I would appreciate some confirmation/explanation on the Pyramid event
system -- is event/subscribe restricted to Pyramid running on one
physical server?
Yes.
- C
Thanks.
Jerry
On Dec 14, 7:13 am, John Anderson son...@gmail.com wrote:
Thanks for the tip and sorry, I didn't mean to offend anybody.
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to
Thanks Michael and Chris.
From the framework design point of view, such event system is
invaluable. But for application development, I fail to see its added
value compared to simple function call. And it makes parsing variables
harder.
E.g., I'd naively design Michael's example as --
class
The point of any event system is that the subscribers are decoupled from
the publishers. In your example it seems you're mangling the concept of an
event to mean publish and it's heavily coupled to the do_something
listener.
Anyway the point is that Pyramid has a pub/sub system within it that
If you know the list of subscribers for each event when coding the
event, your approach works. But if you want to allow plugins or other
packages to hook into the events, it breaks down.
I'm using events to allow for configurable notification emails. Some
configurations of the application will
Thanks again Phillip. The uWSGI docs are certainly not of the calibre of
Pyramid's docs :)
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group,
Hi all,
i was trying to abuse the 'add_directive' method of a Configurator to
disable built-in directives, but failed, because add_directive will
only add new ones. Now this may be totally unreasonable in the first
place, but what I wanted to accomplish is the following:
I'd like to have static
The event system in pyramid is simple and kicks ass.
I use it to do the following
1: notify interested users about interesting things via email or sms based
on their profile preferences.
2: notify the js clients running in the browser via pubnub(
http://www.pubnub.com/) of interesting
On Wed, 2011-12-14 at 04:15 -0800, Robert Forkel wrote:
Hi all,
i was trying to abuse the 'add_directive' method of a Configurator to
disable built-in directives, but failed, because add_directive will
only add new ones. Now this may be totally unreasonable in the first
place, but what I
No, I think Pyramid is handling everything correctly. Here's what I
do: I have one application which may be installed multiple times with
different configurations. These configurations are implemented as
packages which are included using config.include(). The application
provides defaults for
Pyramid 1.3a2 has been released. It is another alpha in the 1.3
series.
Here's what happened:
1.3a2 (2011-12-14)
==
Features
- New API: ``pyramid.view.view_defaults``. If you use a class as a
view, you can use the new ``view_defaults`` class
Doesn't Deform fill in the form with the values submitted when a
validation error occurs?
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send
On Wed, 2011-12-14 at 07:19 -0800, rihad wrote:
Doesn't Deform fill in the form with the values submitted when a
validation error occurs?
Can you describe what's unclear about
http://docs.pylonsproject.org/projects/deform/en/latest/basics.html#validating-a-form-submission
- C
--
You
On Dec 14, 11:34 pm, Chris McDonough chr...@plope.com wrote:
On Wed, 2011-12-14 at 07:19 -0800, rihad wrote:
Doesn't Deform fill in the form with the values submitted when a
validation error occurs?
Can you describe what's unclear
yeah looks promising... I'm an owner since pre 1.0 release, just never got
the time to be used to a full IDE :(
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To view this discussion on the web visit
Hello,
This is a courtesy e-mail to let you know that we have received your helpdesk
query with a subject of Digest for pylons-discuss@googlegroups.com - 18
Messages in 10 Topics.
You do not have to do anything further at this stage. Your ticket has been
assigned a number of [it_support-11]
Hello,
This is a courtesy e-mail to let you know that we have received your helpdesk
query with a subject of Digest for pylons-discuss@googlegroups.com - 5
Messages in 2 Topics.
You do not have to do anything further at this stage. Your ticket has been
assigned a number of [it_support-15]
Hello,
This is a courtesy e-mail to let you know that we have received your helpdesk
query with a subject of Digest for pylons-discuss@googlegroups.com - 5
Messages in 2 Topics.
You do not have to do anything further at this stage. Your ticket has been
assigned a number of [it_support-16]
Hello,
This is a courtesy e-mail to let you know that we have received your helpdesk
query with a subject of Digest for pylons-discuss@googlegroups.com - 3
Messages in 2 Topics.
You do not have to do anything further at this stage. Your ticket has been
assigned a number of [it_support-19]
Sorry bout that, I've put this poster into a moderated-post mode.
On Wed, 2011-12-14 at 22:16 +, I.T.Support wrote:
Helpdesk
Hello,
This is a courtesy e-mail to let you know that we have received your
helpdesk query with a subject of Digest for
pylons-discuss@googlegroups.com - 4
Thanks for the help on this guys. It took me a while to get back here
and read the responses, but I really appreciate it.
Cheers!
Coop
On Dec 9, 11:17 am, Mark Erbaugh m...@microenh.com wrote:
On Dec 8, 2011, at 4:03 PM, not a web developer wrote:
I am not a web developer. I am trying to
24 matches
Mail list logo