Font Size: a A A

Based On Xml And Multi-layer Structure Of The Theory Of Nutrition Counseling System Design And Implementation

Posted on:2006-10-30Degree:MasterType:Thesis
Country:ChinaCandidate:J ZhaoFull Text:PDF
GTID:2208360155466372Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
A nutrition consulting service provided by using computer network is convenient to use and is useful to guide people' s dietary habits。 It can provide good recipes according to people' s personal situation, such as age, and give suggestions on people' s recipes。 This paper is about the design model and the way of realizing a nutrition consulting system。 First, introduce the function of the system。 Second, put forward the design model and the class view based on Visual C++, and summarize the features of the system。 Next, introduce several important parts by giving the thinking of design and the process of realizing ito These parts are communication part, data storage part, data operation part and data analyzing part。 XML is used in all the parts。 And the Multi-tier theory is also applied in the system。 Finally, summarize the work and give some prospects to the development of XML。Introducing XML to the system has five advantages:1. rom the consideration of writing programs, using XML to make agreements can not only reduce the difficulties of reading agreements , especially complicated agreements , because XML is readable, but also resolve some problems about components connecting。2. From the consideration of users, using XML make the system easy to use。 Because storing data by using XML documents instead of using database can reduce the work of supporting database。3. From the consideration of a distributed system' s performance, using XML can improve the performance。 The data from the server is stored in XML documents, so when the data is needed again, the work of visiting the server is reduced, and the time of response is saved。4. From the development of the Multi-tier theory, using XML can resolvesome problems in connecting different tiers and improve the applying and developing。5. From the applying of the XML technologies, XML technologies have showngreat advantages and the applying and developing have been improved。The reason why XML can resolve some problems in connecting differentcomponents or connecting different tiers is, XML has the propertyof data independent, the content and format are separated, the contentof the data is labled, and the finding of the data is easy to realize。Visual C++ is a powerful and visual programming environment, and itprovides some software infrastructures to help realize this system。 To bespecific, the DOC/VIEW template has good functions and is easy to studyand use, MFC provides functions of communicating and data processing,C++ programming environment helps realize the design of multi tiers, andsupporting COM makes the use of DOM and parsing of XML convenient。...
Keywords/Search Tags:XML, Multi-tier theory, DOM, SAX
PDF Full Text Request
Related items