Chapter 12. Implementing Business Logic

I l @ ve RuBoard

IN THIS CHAPTER

  • Today Only! Buy One, Get One Free!

  • Implementing Promotions

  • Stubbing Out Taxes and Shipping

  • Finalizing the Order

  • Final Confirmation

  • The Last Mile

Another piece of functionality out of the FRD that hasn't been tackled yet is the promotions implementation. Promotions are an example of business logic; something that follows a specific, company-centric set of rules that might not be logical but that reflect the way things are done.

Another great example of business logic is shipping rules. A larger retailer might have a slew of complicated rules about when a customer should receive free shipping, which items qualify for overnight delivery, which items may be shipped only via ground transport, and so on.

You'll spend a lot of time coding business logic into an application. It's by far the most important thing to get right because it is what the clients know best and what will be noticed most quickly if it's not done the way they want.

I l @ ve RuBoard


MySQL and JSP Web Applications. Data-Driven Programming Using Tomcat and MySQL
MySQL and JSP Web Applications: Data-Driven Programming Using Tomcat and MySQL
ISBN: 0672323095
EAN: 2147483647
Year: 2002
Pages: 203
Authors: James Turner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net