pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

caching proxy for domain data

SB
Siemen Baader
Thu, Nov 2, 2023 8:50 AM

Hi,

I'm looking for something to hold a cached version of a parsed domain
model, typically from large HTML or CSV files on disk, parsed with
XMLHTTPParser or NeoCSV. Occasionally also JSON and HTML from a web
service. The files are frequently updated, so it should check for this at
least on disk and reload before returning the cached model to the
application.

It's not really difficult to implement and I have several "satisficing"
solutions implemented, but I think it ought to be a common problem so maybe
there is something matured and well abstracted out there. It could
even/also be a design pattern common to industry applications. Have you
seen anything?

cheers
Siemen

Hi, I'm looking for something to hold a cached version of a parsed domain model, typically from large HTML or CSV files on disk, parsed with XMLHTTPParser or NeoCSV. Occasionally also JSON and HTML from a web service. The files are frequently updated, so it should check for this at least on disk and reload before returning the cached model to the application. It's not really difficult to implement and I have several "satisficing" solutions implemented, but I think it ought to be a common problem so maybe there is something matured and well abstracted out there. It could even/also be a design pattern common to industry applications. Have you seen anything? cheers Siemen