Hey folks I am just investigating using Aspects for logging my main Javascript "interfaces". I don''t believe Prototype has any built in capabilities for this but I just thought I''d check and see how people had tackled this before. I am still getting to grips with core JS so apologies if this is easy or obvious.. I am Googling as we speak also.. Cheers Matt _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Lol, and I apologize in kind for asking this obvious question, what do you mean "Aspects" (and I''m not Googling as we speak, heh). On 7/20/06, Matt Spendlove <mspendlove506-YDxpq3io04c@public.gmane.org> wrote:> > Hey folks > > I am just investigating using Aspects for logging my main Javascript > "interfaces". I don''t believe Prototype has any built in capabilities for > this but I just thought I''d check and see how people had tackled this > before. > > I am still getting to grips with core JS so apologies if this is easy or > obvious.. > > I am Googling as we speak also.. > > Cheers > > Matt > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
lol - fair question ! Aspect Orientated Programming FYI - a couple of JS impls : I need proper system logging and I rather not have to pollute the classes.. Matt Ryan Gahl wrote: Lol, and I apologize in kind for asking this obvious question, what do you mean "Aspects" (and I''m not Googling as we speak, heh). On 7/20/06, Matt Spendlove <mspendlove506-YDxpq3io04c@public.gmane.org> wrote: Hey folks I am just investigating using Aspects for logging my main Javascript "interfaces". I don''t believe Prototype has any built in capabilities for this but I just thought I''d check and see how people had tackled this before. I am still getting to grips with core JS so apologies if this is easy or obvious.. I am Googling as we speak also.. Cheers Matt _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
I think dojo has aop features (which are apparently very well done), via its event system (that''s what it is called). you can register pre & post funcitons for arbitrary functions. This may be a good place to look, it may be easier to port it from dojo than recreate from scratch. FYI, I dont think there is anything like this in, near or around prototype. This would be a really cool feature if you do implement it. On 7/20/06, Matt Spendlove <mspendlove506-YDxpq3io04c@public.gmane.org> wrote:> > lol - fair question ! > > Aspect Orientated Programming > > FYI - a couple of JS impls : > > <http://www.dotvoid.com/view.php?id=43> > > <http://www.jroller.com/page/deep?entry=aop_fun_with_javascript> > > I need proper system logging and I rather not have to pollute the classes.. > > Matt > > Ryan Gahl wrote: > > > Lol, and I apologize in kind for asking this obvious question, what do you > mean "Aspects" (and I''m not Googling as we speak, heh). > > > > On 7/20/06, Matt Spendlove <mspendlove506-YDxpq3io04c@public.gmane.org> wrote: > > > > > > Hey folks > > > > I am just investigating using Aspects for logging my main Javascript > "interfaces". I don''t believe Prototype has any built in capabilities for > this but I just thought I''d check and see how people had tackled this > before. > > > > I am still getting to grips with core JS so apologies if this is easy or > obvious.. > > > > I am Googling as we speak also.. > > > > Cheers > > > > Matt > > > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > > > > _______________________________________________ > > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >