Friday, 19 November 2010

Domain events and Growl!

Today we came across a really really sweet side effect of an event driven architecture. We were integrating a jquery growl plugin to give nice 'no ok button' notifications to the users when they click on transaction buttons (Save, Relase Order etc etc), when we thought "wouldn't it be great if the front end was not responsible for the notifications, but rather the infrastructure that is used to raise the events on the back end that make everything happen keep a list of what events have happened during the transaction".

This has a couple of nice side effects:
  • The front end does not have to have any real knowledge what this button actually does. But..
  • The user gets fantastic visibility of what pressing that button actually did! 3 Growls: Timesheet approved, Customer invoice line created, Email sent to employee... All on one button click.
  • No additional code to write! It is just part of the infrastructure.
This is made possible due to the CQS nature in which the browser communicates with the server in the hiJump infrastructure pattern we use. In a future post I will go deeper into this as the CQS approach is working out very nicely for use and greatly simplifies the relationship between the views and the back end.

Until next time.

16 comments:

  1. Its really nice to read the side effects that you outlined above mainly the one in which you said that the user gets fantastic visibility.It will indeed add to user experience.

    ReplyDelete
  2. I have just found the Press Releases and news about Green Coffee Bean Max, Zeta Clear, Provillus, Garcinia Cambogia Select, Raspberry Ketone Max, Breast Actives, Phen375, Triactol, Venapro, Wartrol and African Mango Plus on top Social media sites and Newspaper, so i thought to share it with you guys!

    ReplyDelete
  3. Dr. OZ has recently endorsed 4 products on his Show as best Fat Burner Supplement for quick and Safe Weight Loss! Garcinia Cambogia Select, Green Coffee Bean Max, Raspberry Ketone Plus and African Mango Plus are Those Top 4 Dr OZ Weight Loss Pills!

    ReplyDelete
  4. A woman takes a lot of pride in her breasts, because they help her to feel naturally beautiful and stylish as a grown woman. Triactol is a breast enhancement serum that acts on the tissues surrounding your breast and gives them a younger appearance. Large, firm, perfect and perky breasts that give a natural look are the dream of every woman. There are different methods used for the breast enlargement. Triactol bust enhancement serum has gained a larger number of fans on the market and the demand for its use is constantly growing. Triactol serum renders outstanding and guaranteed results and offers you a 60 days money back guarantee as well. No other breast enhancement cream or any such product offers this kind of guarantee to the users. Triactol works by increasing breast tissues. In order to make breasts naturally larger and perkier, the growth of the tissues are being controlled the natural way. Throughout any Triactol review, you will notice that there are more then plenty of benefits from using this serum, because it is natural and it provide the scouted results. Triactol serum utilizes quality grown bright pueraria mirifica, which functions the most efficient. Triactol is the kind of effective serum that can make your bust size grow and grow, seemingly all on their own. Sure, the process will be a little bit more drawn out than a nip and tuck, but you’ll be protecting your future health while also improving your appearance. This is the kind of solution that you can count on, and a very real reason to buy Triactol, For more review about TriactolBust Serum, Visit http://www.triactolplus.com

    ReplyDelete
  5. Garcinia Cambogia Select is a breakthrough medical discovery in natural health and wellness and in sustainable fat loss and weight loss. Garcinia Cambogia is a weight loss and eating disorder remedy. It is a safe and effective non-stimulant that is made from all-natural fruit extracts that are being used at a low or high dosage depending upon the desired result. Garcinia Cambogia Select leads in melting off the awful inches from your waist. It makes you attain the desired shape and a gorgeous flat belly that you have always dreamt of! The Garcinia Cambogia Extract could be the most recent fat loss solution which comes highly recommended by non other that Dr Oz in fact he calls the Garcinia Cambogia Extract the Holy Grail Of Weight-loss. For more review about Dr OZ Garcinia Cambogia Select, Visit www.garciniacambogiaselects.com or find complete Garcinia Cambogia Select Review at http://www.prweb.com/releases/garciniacambogiaselect/reviews/prweb10331994.htm

    ReplyDelete
  6. Hair loss and thinning hair have been sensitive issues for men throughout time. Recently, medical science has finally identified the main cause of hair loss. Provillus hair loss solution is #1 choice to prevent hair loss! Provillus Natural Hair Loss Treatments are clinically proven to re-grow hair. Provillus hair regrowth treatment works for both men and women. Provillus for Men Natural Hair Loss Treatments contain the only FDA-approved topical ingredient clinically proven to block the production of dihydrotestosterone (DHT) and regrow hair. Provillus for Women Natural Hair Loss Treatments were specifically formulated for the different hair loss problems that women experience. The Provillus supplement is not licensed by the MHRA or FDA Approved and therefore is not a medically proven treatment for hair loss and there is no indication of any clinical trials having been carried out for the product. When buying Provillus we fell it very important to Buy Provillus from there Official Website. This will ensure the freshest product possible plus there website is extremely secure! Here is there Official Website: www.provilllus.com

    ReplyDelete
  7. I just found Review on Adiphene, Triactol, Provillus and ZetaClear, Phen375, Garcinia Cambogia Select and Acai Plus with Detox Plus Today, so thought it would be great piece of information to share!

    ReplyDelete
  8. http://www.prweb.com/releases/bowtrol/coloncleanse/prweb11174496.htm, http://www.prweb.com/releases/venapro/solution/prweb11200549.htm, http://www.prweb.com/releases/wartrol/offers/prweb11202306.htm, http://www.prweb.com/releases/yeastrol/review/prweb11207120.htm, http://www.prweb.com/releases/provillus/men-women/prweb11217547.htm, http://www.prweb.com/releases/zeta/clear/prweb11226119.htm, http://www.prweb.com/releases/revitol/cream/prweb11232020.htm, http://www.prweb.com/releases/revitol/cream/prweb11232020.htm, http://www.prweb.com/releases/capsiplex/slimmingpills/prweb11255576.htm, http://www.emailwire.com/release/135636-Capsiplex-is-now-offering-2-EXTRA-Packs-and-Shipping-at-no-cost-with-the-purchase-of-5-Packs.html, http://www.sbwire.com/press-releases/african-mango-weight-loss-supplement-helps-individuals-get-into-shape-now-offers-extra-bottle-on-every-packages-365246.htm, http://www.sbwire.com/press-releases/yeastrol-a-homeopathic-remedy-now-available-to-ease-all-the-symptoms-of-yeast-infections-now-with-extra-bottle-offers-365167.htm, http://www.sbwire.com/press-releases/nrf2-activator-the-new-antioxidant-and-detoxification-support-formula-is-now-available-at-a-discounted-price-up-to-50-365144.htm, http://www.sbwire.com/press-releases/provestra-female-libido-enhancer-now-offers-its-valuable-customers-with-the-100-money-back-guarantee-on-purchase-364385.htm, http://www.sbwire.com/press-releases/pro-testosterone-the-best-testosterone-supplement-increase-the-hormones-with-all-natural-ingredients-now-with-free-bottles-363065.htm

    ReplyDelete