I really like AOP in .net but I didnt have the need of AOP in javascript to be honest.
About mixins, please have a look to this slide the part about Functional Mixins https://speakerdeck.com/anguscroll/how-we-learned-to-stop-worrying-and-love-javascript This is very ubicuos and pure javascript. 2013/1/3 Amjad <[email protected]> > For instance I've just read about mixins and they are related to the sort > of problems AOP might deal with. I'm looking for more of such techniques. > I'm also now reading about monkey patching Martin mentioned :-) > > Thank Steve for sharing the module you are working on. I'm learning about > the concepts and the techniques you introduced. > > > On Thu, Jan 3, 2013 at 4:17 PM, Amjad <[email protected]> wrote: > >> 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 > -- 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
