Program of ASP.NET application program and design (1)
Tuesday, March 03, 2009 by rain
Summary:How understanding plans and design program of ASP.NET application.The article is with process of application of Web of a knowledge base exemple,A few the commonnest elements in discussing to apply a program actually to establish practice.
brief introduction
this is article of a series,How do we use progressively and detailed introduction Microsoft ASP.NET and Microsoft Visual Studio.NET to come in this series article the process of Web application of design, implementation and deploy model,A few the commonnest elements in establishing practice in order to discuss actual application process.We arrange system of window of a few Web not just,Also not confine is decided at undertaking to back end database a few data are bound only.Data is bound decide and position of body of Web window is very significant,But it is very important also to have a lot of other issues.
for example,Why to no matter use,plant target platform or language,All projects that pass good code include a few basic program measure,For example documentation of plan of target statement, user,The physical border that is used at label solution even and the architecture documentation with attrib border logic.In addition,In solution lifecycle inchoate be being included inside with respect to will safe program is a kind of first-rate habit.Of these content and good database model, elaborate design among package and concise user interface are designed one case,Can ensure you are final the applied process of aborning deploy is safe, reliable,And be the user is friendly.
right now,A few readers may think the article belongs to the essay with those very high fundamental key,Target fixed position is in certain exceed plan of large company level,And this kind of plan applies to general coolie plant, lover or individual to develop an organization far from.Not be actually such!The is based on Web small-sized solution that although just found you oneself,the individual uses,Will conduce to the relaxed implementation that ensures technological process is final and deploy from the program that has perfecting at the beginning.And,Not be advanced programmer or ability of staff of Web development can use these technologies.No matter your technical level how,Also no matter you belong to reader of which kinds of target,I believe you can discover this a series of articles are very helpful to you,It provided substantial information for you,And (allow me to say so please) very interesting.
We will generate a Web of knowledge base of give typical examples that calls DotNetKB uses a program,This process general is perforative and whole series article.In the article that serves as the first article,The design phase that we will introduce typical item,Include architecture of process of main program, application and implementation plan design.After learning the article,You will prepared all documentation,Meet ground of too impatient to wait hopes to begin to found a solution.
Work of provision is very simple,We jump over this part content,Begin the first step directly " applied process plans " .
program is main process of ASP.NET application
The first situation that uses Visual Studio.NET to establish the program of ASP.NET application that is based on Web is to make primary applied process plan (AP) .Establishing a program is indispensable large to what build by many development staff solution not only,And although to the smallest application order,A perfect AP also is very important.Found AP to conduce to you beginning encode " before " can consider a few common issues carefully.Such,What you are applying program lifecycle is inchoate know challenge and solution completely,is not after be immersed in corner completely ability discovers a problem.Be in " Software Project Survival Guide " in one book,Author Steve McConnell points out:The cost that corrects wrong place flower in software project later period and the cost photograph that discover in inchoate phase and correct these wrong place to spend are compared,The 50 - 200 that former likelihood is latter times.
The project that perfects plans to contain what content?Can contain a lot of content,But the basiccest is to should include a target to state with a series of user plan.Still have a lot of otherer useful data,Include process of plan of standard of demand documentation, encode, pay, test to wait.To the solution of simple give typical examples that we should build,The applied process statement with will main simple introduction and plan of a few users.Still will solve a few other problems at the same time.
uses program statement
The project that article of this series should build (call DotNetKB) it is a site of simple knowledge base Web,In this site,The user can raise all sorts of questions,Can receive authorization " expert " answer.Such,When the person that visit later is searching the solution of problem of common ASP.NET,Can undertake search and filtering to gotten result data.
a this is the DotNetKB project to us main goal states.DotNetKB is an applied process that is based on Web,A series of problems that it can list the person that visit puts forward,The return that shows accredit expert is made to these problems.The person that visit can add new issue to the system,Can mix according to the theme of the problem, problem / or the key word in the answer will search and filter these problems.The person that visit still can press a theme or have sort to problem list by the date that is added in the system.
The part that expert of accredit can log onto to already set safe mechanism in using a program,Problem of check and approve,Add, edit and delete the one or more answer to a problem.Applied program manager still can build an expert to log onto attributive and entry configuration file,And add, edit and delete problem theme.
in addition,Still provided information of a few basic statistic,The amount of the problem in including a system and answer,And the return measure of every expert and the page amount that already were visited up to now.
no less than you see from inside the statement above in that way,This solution is very simple.When reading a target to state,A lot of other functions that you may begin to consider to be able to be added to this to use a program,In order to make applied process more powerful.A when this explained project goal states main basis,Avoid namely " the function spreads " .We are clear,If change the concept that is based on finally originally as a result,Simple think of a way will be brought about very giant and ill-natured result.Have an old maxim:" if do not know to want to go to why square,You may stop in a certain place " ,What it announces originally is summertime road trip,Its truth can be used at software project likewise.
The target of a few projects of may need to contain more information in statement.And to our use,The target statement above accords with a requirement.The knowledge that we had a clarity to wanting finished applied program now,Need a few detailed information to describe an user next how as alternant as the system and the user needs to carry out what task to achieve a goal.We need a series of user program.