Thank you Angel for your quick and useful hint :) JavaScript is so flexible, that old problems has new solutions.
This is what I wanted to know really: does JS make us need 'serious' AOP? On Thu, Jan 3, 2013 at 4:11 PM, Angel Java Lopez <[email protected]>wrote: > First idea: overwrite the .end method of response, in the object or in the > prototype. Quick and dirty ;-) > > JavaScript is so flexible, that old problems has new solutions. > > > On Thu, Jan 3, 2013 at 11:07 AM, Amjad <[email protected]> wrote: > >> Thank you Martin. Well, I'm not really sure about specific use case since >> I'm new to AOP. I can think about middleware mechanism in Express and >> Connect, could it be considered some sort of AOP? >> >> I'm currently trying to build a social network consisting of several SPA. >> Problems araising from managing things such as authentication and logging, >> where you need to write the code for logging for example across several >> modules and files. >> >> For example, how can I log some information about a response *after *the >> response is actually delivered? >> >> >> -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
