摘 要
目前,高校校園里都有跳蚤市場,同學之間可以把閑置不用的物品拿來交易,可以說校園跳蚤市場在高校中可算是一項傳統的活動。但是傳統的跳蚤市場存在的主要問題有:交易時間固定和交易場所固定,這就對同學之間的交易有了一定的限制。如果利用網絡構建一個網絡跳蚤市場,在網絡上進行交易,那么此問題就得到了很好的解決。
本文設計的是一個基于B/S架構下的網絡式跳蚤市場。本系統采用當今流行的C#開發而成,作為一種面向對象的編程語言,它在系統的設計中起到了很重要的作用。另外作為開發環境的Asp.net是一種建立在通用語言上的程序框架,能夠只用一臺Web服務器來建立強大的Web應用程序。后臺數據庫使用的是SQL Server 2008,在此數據庫中進行相關的操作安全、可靠,為系統安全有效運行提供了保障。本系統為學生提供一個二手商品買賣的場所,主要有四大角色用戶:管理員用戶、賣家用戶、買家用戶和匿名用戶。管理員和賣家用戶、賣家用戶和買家用戶分別都通過Web Service進行通信。此外,買家用戶可以用校園一卡通進行付款,這些為學生的交易提供了方便。
關鍵詞:B/S架構; C#; Asp.net; SQL Server 2008
“8090” Flea Market Based on Network
ABSTRACT
At present, there are flea markets in the university campus, students can trade the goods which are not needed on the flea market.We can say that the flea market in the university campus can be regarded as a traditional activity.However,traditional flea market have the main problems as below:Time and place are fixed.These shortcomings have limited the trade between classmates.If constructing a network flea market,concludeing the business in the network,we can solve these problems.
The paper designs the network type flea market which is based on B/S. The development language that this system adopts is C#,as an object-oriented programming language, it plays a very important role in the design. In addition Asp.net , as a kind of development environment ,is a kind of procedure frame based on all-purpose language, can set up strong Web application program only with a Web server. Back-end database using SQL Server 2008, this database-related operation is safe, reliable, safe and effective operation of the system has provided a guarantee. This system offers a place where students can carry on the trade of the second hand goods. There are four major roles of this web site user: administrator user, seller user, buyer user and anonymous users. Administrator and seller, seller and buyer carry on communication respectively through Web Service. In addition, buyer can pay the bill with the all-purpose card of the campus.So the system has offered the convenience to students' trade.