Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
#937: Collapse redundant hooks
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
CherryPy  
View profile  
 More options Jun 27, 3:22 pm
From: CherryPy <t...@cherrypy.org>
Date: Sat, 27 Jun 2009 19:22:16 -0000
Local: Sat, Jun 27 2009 3:22 pm
Subject: [CherryPy] #937: Collapse redundant hooks

#937: Collapse redundant hooks
---------------------------+----------------------------------------------- -
 Reporter:  fumanchu       |       Owner:  fumanchu
     Type:  defect         |      Status:  new    
 Priority:  normal         |   Milestone:  3.2    
Component:  CherryPy code  |    Keywords:          
---------------------------+----------------------------------------------- -
 === Order of filters in CherryPy 2 ===

  * on_start_resource
 processHeaders()
  * before_request_body
 processBody()
  * before_main
 main(), which included controller lookup
  * before_finalize
 finalize()
  * on_end_resource

 === Order of hooks in CherryPy 3: ===

 process_headers()[[br]]
 get_resource(), which looks up the controller
  * on_start_resource
  * before_request_body
 process_body()
  * before_handler
 handler()
  * before_finalize
 finalize()
  * on_end_resource

 IMO, it would be good to get rid of the 'before_request_body' hookpoint
 altogether, and move the builtin tools to use 'on_start_resource' instead.

 We could ease migration by having the next version of CP move hooks from
 before_request_body to on_start_resource (with a !DeprecationWarning), and
 adding 100 to their priority so they all run in the same order but after
 all the ones explicitly set at on_start_resource.

--
Ticket URL: <http://www.cherrypy.org/ticket/937>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CherryPy  
View profile  
 More options Aug 5, 12:12 am
From: CherryPy <t...@cherrypy.org>
Date: Wed, 05 Aug 2009 04:12:58 -0000
Local: Wed, Aug 5 2009 12:12 am
Subject: Re: [CherryPy] #937: Collapse redundant hooks

#937: Collapse redundant hooks
---------------------------+----------------------------------------------- -
 Reporter:  fumanchu       |        Owner:  fumanchu
     Type:  defect         |       Status:  new    
 Priority:  normal         |    Milestone:  3.3    
Component:  CherryPy code  |   Resolution:          
 Keywords:                 |  
---------------------------+----------------------------------------------- -
Changes (by fumanchu):

  * milestone:  3.2 => 3.3

--
Ticket URL: <http://www.cherrypy.org/ticket/937>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google