Develop > Functional architecture > WebSphere Commerce common architecture > WebSphere Commerce functional overview > Design patterns


Command design pattern

WebSphere Commerce Server accepts requests from browser-based thin-client applications; from applications such as the Sales Center; and remote applications. For example, a request may come from a remote procurement system, or from another commerce server.

All requests, in their variety of formats, are translated into a common format by the controller layer. Once the requests are in this common format, they can be understood by WebSphere Commerce commands.

Commands implement the business rules of the site. There are two types of commands:

Controller commands

These implement business tasks such as user registration and allocation of inventory. Use these to implement high-level process logic for the business task.

Task commands

These implement discrete pieces of a business task such as address verification or ensuring passwords comply to the defined password policies. For example, during executing of the Registration controller command a callout may be made to a task command to validate the address entered.


Related concepts

Model-View-Controller design pattern

Display design pattern

Command, view, and URL registries

Command framework

Design patterns


Related tasks

Configure a Web application


+

Search Tips   |   Advanced Search