Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Business logic
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Details and example== Business logic: * Prescribes how [[business objects]] interact with one another * Enforces the routes and the methods by which business objects are accessed and updated Business rules: * Model [[Real life|real-life]] business objects (such as accounts, loans, itineraries, and inventories) Business logic comprises:<ref>{{cite news|url=http://www.ebizq.net/topics/bpm/features/5757.html?&pp=1|title=The Challenge of BPM Adoption|date=2005-03-27|author=Steven Minsky|newspaper=Techtarget |publisher=eBizQ}}</ref> * [[Workflow]]s that are the ordered tasks of passing documents or data from one participant (a person or a software system) to another. Business logic should be distinguished from business rules.<ref>{{cite web|url=http://c2.com/cgi/wiki?BusinessLogicDefinition|title=Definition of business logic|date=2013-12-24}}</ref> Business logic is the portion of an enterprise system which determines how data is transformed or calculated, and how it is routed to people or software (workflow). Business rules are formal expressions of business policy. Anything that is a process or procedure is business logic, and anything that is neither a process nor a procedure is a business rule. Welcoming a new visitor is a process (workflow) consisting of steps to be taken, whereas saying every new visitor must be welcomed is a business rule. Further, business logic is procedural whereas business rules are declarative.<ref>{{cite web|url=http://www.omg.org/news/meetings/tc/mn/special-events/br/Ulrich.pdf|author=William Ulrich|title=OMG Business Rules Symposium|url-status=dead|archive-url=https://web.archive.org/web/20131224094752/http://www.omg.org/news/meetings/tc/mn/special-events/br/Ulrich.pdf|archive-date=2013-12-24}}</ref> For example, an [[e-commerce]] website might allow visitors to add items to a shopping cart, specify a shipping address, and supply payment information. The business logic of the website might include a workflow such as: * The sequence of events that happens during checkout, for example a multi-page form which first asks for the shipping address, then for the billing address, next page will contain the payment method, and last page will show congratulations. There will also be business rules of the website: * Adding an item more than once from the item description page increments the quantity for that item. * Specific formats that the visitor's address, email address, and credit card information must follow. * A specific communication protocol for talking to the credit card network The web site software also contains other code which is not considered part of business logic nor business rules: * Peripheral content not related to the core business data, such as the [[HTML]] that defines the colors, appearance, background image, and navigational structure of the site * Generic error-handling code (e.g., which displays the HTTP Error Code 500 page) * Initialization code that runs when the web server starts up the site, which sets up the system * Monitoring infrastructure to make sure all the parts of the site are working properly (e.g., the billing system is available) * Generic code for making network connections, transmitting objects to the [[database]], parsing user input via HTTP POST events, etc.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Business logic
(section)
Add topic