Last post May 11, 2010 02:00 AM by balapraveen
May 10, 2010 10:46 PM|c0d3r|LINK
This is the most appropriate forum I could find so I hope this post is in the right place.
I have to develop a web service to do some calculations. It will call other services and connect to a SQL database. I know how to do this with WCF and will find a suitable way to talk to the DB.
My question is around the internal mathematics. Essentially, I am receiving some numbers then based on this and data from the web services and database, I will generate an output (more numbers), probably persisting some information. What is the recommended
way to structure the core mathematical work?
I understand the need for proper design patterns but cannot think what is the most appropriate setup for something like this. It is really just a big bunch of sums.
I hope my question is not too vague.
Thanks in advance.
May 11, 2010 01:50 AM|s_selvan|LINK
Create one entity class and one business class. You write the all your business logics inside the business class including calling WS.
You populate the input data and send them to business class. once all calculations are over, populate the output data to entities and send back to UI.
Please let me know if you need more info.
May 11, 2010 01:55 AM|balapraveen|LINK
Please check the below link, it will help you with the existing Design Pattern for the Math system.
May 11, 2010 02:00 AM|balapraveen|LINK
Also check this link too..