Comments (2)
@eMaringolo I like the idea of leaving room to plug different strategies to do that. And yes, at this point it will create proxies to references but only query for its document lazily with the DNU when they receive some message.
If we add a MaplessReferenceResolver
I'm thinking in two questions:
- The model identity and
- the proxied model identity
Whatever it is going to do, it has to maintain that consistent in one cache.
One approach I'm thinking right now, is to use the dynamic variable MaplessCurrentRepository
to hold the lifespan of that cached object in a way that can be thread-safe without requiring further complexity. If we use that, the name of that dynamic variable might change to something that isn't a transaction but starts to feel like one.
If you have suggestions, feedback or further input to consider I'd like to hear.
from mapless.
Done here #48
Thanks again @eMaringolo
from mapless.
Related Issues (20)
- Prune MaplessSQLitePool from unneeded methods
- Add CI via GitHub workflows HOT 1
- Update master to latest production versions for Pharo 7 HOT 1
- Current latest can't be loaded in Pharo 10 HOT 1
- Update github pages
- Readme missing step HOT 1
- Pin all dependencies versions HOT 1
- Rename Dummy* to Sample* HOT 1
- Add relevant badges HOT 1
- Explore possibility of using Traits to drop the requirement to subclass HOT 4
- Redis PUB/SUB HOT 2
- Improve unit test coverage for Mapless-Mongo-Core
- Make SQLite log all queries if LOG_LEVEL env var is #DEBUG
- CouchDB use case
- Is Gatling worth adding?
- Postgres -> PostgreSQL and Mongo -> MongoDB
- fromBSONByteArray: aByteArray in: aMaplessRepository HOT 1
- Minor doc edits HOT 1
- MaplessSQLitePool remove: needs to update its API for disconnecting clients HOT 1
- Move MaplessBehavior to its own package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapless.