您的位置:首页网页设计ASP实例 → 制作我们自己的Ebay拍卖系统2

制作我们自己的Ebay拍卖系统2

时间:2004/11/7 2:52:00来源:本站整理作者:蓝点我要评论(0)

Chris Payne



September 11, 2000



Before we go jumping into code and databases, let's take a moment and examine the needs and strategies, as

well as the different types of auctions.



First of all, there are many different types of auctions (which we'll discuss in the next section), so

you'll have to decide what your needs are, and adjust accordingly. I'll outline the needs for our auction

here, and we'll reference these as we progress. First, let's get some definitions out of the way:





Buyer/Bidder - The person who places a bid, and wants to buy an item.

Item/Lot - One listing in the auction (can be several actual items, but will be represented by one

listing).

Proxy bidding - A buyer places a maximum bid to never be exceeded. The actual bid then is simply the last

highest winning bid plus the minimum increment. The actual bid will be increased automatically when outbid

until the max is reached.

Seller - The person who listed the item to be sold.

Winning bid - The price a buyer pays to win an item.

And now our assumptions:



"Second Price auction:" Bidders may place proxy bids. The winners will then end up paying the lowest

winning bid for the item(s).

We will only allow single lots to be sold. This means we will not allow groups of lots to be sold together

(you won't be able to sell items A and B together). However, you can sell a bunch of items as one lot

(i.e. 100 pencils in lot A).

Once an auction is over, it is over. In some auctions, if a bid is placed within a certain amount of time

(i.e. 5 seconds) before the end of an auction, the auction is extended for some time. We will not do that

here.

Number of items. In the case that two people bid the same thing, the person who bid for more items will

win, regardless of who bid first. If both buyers bid for the same number of items, the earliest bid will

win.

Proxy bidding rounds. One round will be defined as when the auction engine cycles through all users and

adjusts bids accordingly, based on the current high bid and the buyer's maximum bid. A round will commence

once a buyer places a bid on a lot, and will proceed in the order the bids were placed. If at the end of

the round, a resolution is not achieved, we will start over from the beginning.

There are also two other types of auctions that we will not use here, but may be good for reference.





Winning Bid Auction - The winning buyer gets the requested lots for the price they bid. If there are

multiple winners, everyone gets the price they bid.

Clear Price Auction - The winning buyers get the requested lots for the lowest winning bid.

Now that we've outlined our needs, let's take a look at the database structure behind the auction.








相关阅读 Windows错误代码大全 Windows错误代码查询激活windows有什么用Mac QQ和Windows QQ聊天记录怎么合并 Mac QQ和Windows QQ聊天记录Windows 10自动更新怎么关闭 如何关闭Windows 10自动更新windows 10 rs4快速预览版17017下载错误问题Win10秋季创意者更新16291更新了什么 win10 16291更新内容windows10秋季创意者更新时间 windows10秋季创意者更新内容kb3150513补丁更新了什么 Windows 10补丁kb3150513是什么

文章评论
发表评论

热门文章 没有查询到任何记录。

最新文章 迅雷新手完全入门手册 asp下面javascript上传图片限制格式大小方法告诉大家网页弹出窗口应用总结ASP常见错误类型大全asp常见错误分析和解决办法

人气排行 总是弹出visual studio 实时调试器 三种解决SQLSERVER存储过程及调用详解Asp获取真实IP地址ASP中连接Mssql的几种方法一个简单好用的UBB编辑器(含代码)如何用Split将字符串转换为数组并获取数组下ASP防止表单重复提交的办法告诉你免费的简单聊天室源代码