摘 要
目前,高校校園里都有跳蚤市場,同學(xué)之間可以把閑置不用的物品拿來交易,可以說校園跳蚤市場在高校中可算是一項(xiàng)傳統(tǒng)的活動(dòng)。但是傳統(tǒng)的跳蚤市場存在的主要問題有:交易時(shí)間固定和交易場所固定,這就對(duì)同學(xué)之間的交易有了一定的限制。如果利用網(wǎng)絡(luò)構(gòu)建一個(gè)網(wǎng)絡(luò)跳蚤市場,在網(wǎng)絡(luò)上進(jìn)行交易,那么此問題就得到了很好的解決。
本文設(shè)計(jì)的是一個(gè)基于B/S架構(gòu)下的網(wǎng)絡(luò)式跳蚤市場。本系統(tǒng)采用當(dāng)今流行的C#開發(fā)而成,作為一種面向?qū)ο蟮木幊陶Z言,它在系統(tǒng)的設(shè)計(jì)中起到了很重要的作用。另外作為開發(fā)環(huán)境的Asp.net是一種建立在通用語言上的程序框架,能夠只用一臺(tái)Web服務(wù)器來建立強(qiáng)大的Web應(yīng)用程序。后臺(tái)數(shù)據(jù)庫使用的是SQL Server 2008,在此數(shù)據(jù)庫中進(jìn)行相關(guān)的操作安全、可靠,為系統(tǒng)安全有效運(yùn)行提供了保障。本系統(tǒng)為學(xué)生提供一個(gè)二手商品買賣的場所,主要有四大角色用戶:管理員用戶、賣家用戶、買家用戶和匿名用戶。管理員和賣家用戶、賣家用戶和買家用戶分別都通過Web Service進(jìn)行通信。此外,買家用戶可以用校園一卡通進(jìn)行付款,這些為學(xué)生的交易提供了方便。
關(guān)鍵詞:B/S架構(gòu); 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.