Price Mechanisms for Marketplaces
Marketplaces
A marketplace consists of supply - provided by sellers and demand - created by buyers.
A marketplace matches buyers with sellers.
We consider real or virtual goods (items). We do not consider here service marketplaces such as Uber.
A fu...
Posted on December 4th, 2020
Infinite Scroll with Livewire
Building a web site for an auction, we wanted an infinite scroll of lots as many lots where expected.
The web application is a Laravel project with Livewire for the views.
The Livewire Component
The list of lots is a Livewire component:
<?php
nam...
Posted on November 27th, 2020
Storing and Presenting Dates and Times in a Web Application
In an online auction project, the users were spread in a variety of time zones. Each had to see the accurate time for the end of the auction, while some users would create auctions from the web page. This required us to juggle timezones at the front-en...
Posted on September 11th, 2020
An Auction System Needs a Central Clock
An Auction Runs by A Clock
An auction system either live or timed runs by the clock. In a live auction, one often runs calls on a bid according to a clock. In a timed auction, you start and end an auction by the clock, and you show the users a countdow...
Posted on September 5th, 2020
Timer Server in ReactPHP
In many applications such as auctions, you need a dynamic collection of timers, such that you can add timers, and cancel timers.
We found ReactPHP superior for this. This sweet and simple server sets a new timer specified by a timeout and a task to be ...
Posted on September 5th, 2020
The Pure Laravel Playbook
It used to be the case that when you program a Laravel project, you program in PHP within the Laravel framework, and then have Vue.js or some other front-end framework at the front-end.
The rise of the TALL stack - Tailwind CSS, Alpine.js, LiveWire, L...
Posted on September 5th, 2020
Real-Time Auctions with Node.js
A real-time auctions web site may seem complicated. Submitting a bid is just a button click, but how are you going to display it to other users in real-time. One can think of all sorts of complicated jQuery timers and calls, but there is a much simpler...
Posted on January 4th, 2020
A Production Real-Time Auctions System
The Antique House
Together with my colleague, Grzegorz Bukat from Warsaw, Poland, I was asked to build a real-time auction system for the Antique House of Michal Niemczyk.
The Real-Time Auction
The auction is carried by an auctioneer in a physical bric...
Posted on January 4th, 2020
Real-Time Auctions with Laravel
Real Time Auctions
In a real time auction an item is auctioned to the audience with a start price. The audience posts bids topping the price each time, till no more bids are received. At which the the item is considered to be sold to the last bidder (w...
Posted on January 4th, 2020
Sharing Data Between Laravel PHP and a Socket.io Server
In a recent project with my colleague Grzegorz Bukat, the server side was dual:
A Laravel PHP web application running on Nginx
A Socket.io server
These two servers were directed at a single jQuery front end. The Laravel server generated the views...
Posted on January 4th, 2020