Commerce Server Blog

Build world class ecommerce applications using Microsoft Commerce Server
  •  
  • Home
  • Advertise
  • Copyright Policy
  • Disclaimer
  • About

Why should we use commerce server pipelines

ravikanth | November 10, 2008

What are commerce server pipelines? What are their advantages? Do we really require using them? Can I develop applications without using them? These are some of the questions we have while working with commerce server pipelines.

 

Pipeline framework defines links one or more stages of a business process, running them in sequence to complete a specific task. Some people may think that pipeline is just a .NET component which performs some tasks and they feel without pipelines help they can implement the same business logic in the application code. I agree with them. If possible, you can also use your approach by directly updating the values without using pipelines, but you should think of few other problems with this approach. By doing this, you are making application not to extend or scale further.

 

Today we are living in an environment where business is changing every hour. If we separate the frequent changing processing into pipeline components then our application can be flexible to adopt new changes (no need to touch code). For example, today we are calculating tax with some calculations; tomorrow government has imposed another tax (say e-tax – additional tax on the Internet purchases). As a developer, you have to create a pipeline to calculate additional cost and add the component to pipeline. Here e-commerce application doesn’t know how the processing will happen and what are the components involved in it.

 

Consider scalability, as you know pipeline components supports transactions. For example, you would like to have your own transaction logic implemented (as you are not using pipelines). Your application code can handle x number of transactions per hour. What if business got increased (during thanks giving or Christmas time)? Can your transaction block can handle x+x+x+x transactions? Through pipelines, it’s possible. You can scale the application by scaling it up or out.

 

For all people who hate/don’t want to use pipelines – my suggestion is to use pipelines and remove unnecessary stages.

Categories
commerce server 2007
Tags
Pipelines
Comments rss
Comments rss
Trackback
Trackback

« “Value does not fall within the expected range” while running PortalConfig.exe in Mojave Allow user to use single public promotion code in commerce server »

Leave a Reply

Click here to cancel reply.

Powered by WP Hashcash

Sign up for Newsletter


Categories

Quiz

  • Catalog Quiz for Beginners
  • Profile Quiz for Beginners
  • Quiz 1 for Advance Users
  • Quiz for Beginners

Recent Posts

  • RCXml2Resx.exe tool stops working
  • Commerce Server Profile Importer Tool
  • Marketing Web service Exception: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM
  • Download Commerce Server 2009 Help Document
  • Commerce Server 2009 work with SharePoint 2010?
  • Failed to set value for profile property ‘email_address’.
  • ArgumentException: An item with the same key has already been added.
  • Please note that one or more items were removed from your order because the product is no longer sold.
  • How to Avoid Duplicate Orders Numbers in Commerce Server
  • Error: Microsoft.Commerce.Contracts.Faults.ItemDoesNotExistFault

Archives

  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008

Tags

add discounts add images to profile Advantages of commerce server approve discounts authentication auto login process automatic user creation basket Brand Management business tools campaign management Catalog catalog import Category CategoryConfiguration commerce server commerce server 2007 commerce server manager Commerce Server SP2 discounts ecommerce Estimation Installation inventory Kanth Koppala marketing system migration error Mojave operation components operation sequence Order subsystem Product profile profile subsystem property metadata purchase order quick checkout Ravi Ravi Kanth site cache refresh starter site tools transactions error Variant
(c) 2009 Commerce Server Blog. All rights Reserved. Articles cannot be reproduced without permission from the author.Write to me at kanth@ravikanth.net if you have any comments, questions, suggestions about this site or would like to send us a tip
About Us | Terms of Use | Disclaimer | Advertise .