Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Listings Container (depreciated)

Mark Hester edited this page Jun 8, 2019 · 1 revision

Naming Conventions.

The application container to access this data and logic is accessed using app('listings')

Ordered Collections and Ranks.

The application container is responsible for collecting all listings available throughout the site and will be responsible for the assignment of ranks, the ordering of listings based on our point system which is made up of vote_counts & clicks_counts, the container stores a cached snapshot of the listings data based on the time conditions of an outside executable job that the operating system makes to keep the cache updated, If no cache exists on the first boot, the application will create a cache on the page load which can consume some seconds.

Test Suite

The application test suite for testing the logical application usage, is named 'ListingContainerTest'.