Ticket #5 (closed task: fixed)

Opened 6 months ago

Last modified 1 month ago

Application.cfc Bootstrapper Enhancements and OnSessionStart / OnSessionEnd Integration Specification Google Document

Reported by: peterfarrell Assigned to: peterfarrell
Priority: none Milestone: Mach-II 1.6.0 alpha
Component: framework Version: 1.6.0
Keywords: Application.cfc bootstrapper session Cc:
Time spent: 1d Time remaining: 1d
Time planned: 1d

Description

Google Doc specification for Application.cfc Bootstrapper Enhancements and OnSessionStart? / OnSessionEnd? Integration

http://docs.google.com/Doc?id=dhjcwfn4_44crp8tx

Attachments

Change History

11/07/07 16:32:48 EST changed by peterfarrell

  • summary changed from Application.cfc Bootstrapper Enhancements and OnSessionStart / OnSessionEnd Integration Spec to Application.cfc Bootstrapper Enhancements and OnSessionStart / OnSessionEnd Integration Specification Google Document.

11/07/07 23:17:48 EST changed by anonymous

I love the doc, but I would make a suggestion/addition. I'd like to see a built-in framework restart, and possibly an application restart, via url, possibly something like reinit=1. Yes, I know I can them (I have), but it would be nice to cook it into the framework.

(in reply to: ↑ 2 ) 11/07/07 23:18:28 EST changed by brianmeloche@gmail.com

Oops. I posted this. Sorry for not including it.

Replying to anonymous:

I love the doc, but I would make a suggestion/addition. I'd like to see a built-in framework restart, and possibly an application restart, via url, possibly something like reinit=1. Yes, I know I can them (I have), but it would be nice to cook it into the framework.

11/08/07 00:09:03 EST changed by Sami Hoda

This one is a slam dunk for me. Great work!

(in reply to: ↑ 2 ) 11/08/07 02:33:23 EST changed by peterfarrell

  • description changed from Google Doc specification for Application.cfc Bootstrapper Enhancements and OnSessionStart / OnSessionEnd Integration http://docs.google.com/Doc?id=dhjcwfn4_44crp8tx to Google Doc specification for Application.cfc Bootstrapper Enhancements and OnSessionStart / OnSessionEnd Integration http://docs.google.com/Doc?id=dhjcwfn4_44crp8tx.

Replying to anonymous:

I love the doc, but I would make a suggestion/addition. I'd like to see a built-in framework restart, and possibly an application restart, via url, possibly something like reinit=1. Yes, I know I can them (I have), but it would be nice to cook it into the framework.

No worries this will be offered via a dashboard module that we're working on. It's listed on our development roadmap: http://www.mach-ii.com/index.cfm/go/code/

11/11/07 03:14:02 EST changed by peterfarrell

  • status changed from new to closed.
  • resolution set to fixed.
  • description changed from Google Doc specification for Application.cfc Bootstrapper Enhancements and OnSessionStart / OnSessionEnd Integration http://docs.google.com/Doc?id=dhjcwfn4_44crp8tx to Google Doc specification for Application.cfc Bootstrapper Enhancements and OnSessionStart / OnSessionEnd Integration http://docs.google.com/Doc?id=dhjcwfn4_44crp8tx.

This new enhancement has been completed. For bug / questions, please re-open ticket #6.

04/11/08 14:53:39 EST changed by Jorge Loyo

I was just wondering if the other 4 proposed additions to mach-ii.cfc Boostrapper ever made it in:

1. onApplicationStart 2. onRequestStart 3. onSessionStart 4. onSessionEnd

I would use #1 to create all my application remote proxies from ColdSpring?.

04/11/08 15:03:19 EST changed by peterfarrell

  • description changed from Google Doc specification for Application.cfc Bootstrapper Enhancements and OnSessionStart / OnSessionEnd Integration http://docs.google.com/Doc?id=dhjcwfn4_44crp8tx to Google Doc specification for Application.cfc Bootstrapper Enhancements and OnSessionStart / OnSessionEnd Integration http://docs.google.com/Doc?id=dhjcwfn4_44crp8tx.

We improved the bootstrapper to have the methods you listed and added two new plugin points in the plugin architecture -- onSessionStart/End. We did not need to all onApplicationStart or onRequestStart to the plugin architecture.

onApplicationStart can be emulated by using the configure() method in a Property.cfc. And onRequestStart is already covered by the preProcess point in plugins.

You can move your remote proxy creation to a Property.cfc instead of housing it in your App.cfc. Also, I'd be interested in what you do for your remote proxy creation as I would be willing to add support in the ColdspringProperty? to define remote proxy creation.

(in reply to: ↑ 1 ) 04/11/08 17:40:00 EST changed by kurtwiersma

+1 for remote proxy creation in the ColdSpringProperty?.cfc. Currently we have been handling this by getting the remote proxy in the listener's configure method.

04/11/08 17:45:07 EST changed by peterfarrell

See ticket #28 for progress on this feature.


Add/Change #5 (Application.cfc Bootstrapper Enhancements and OnSessionStart / OnSessionEnd Integration Specification Google Document)




Action