{"id":18694292,"url":"https://github.com/9elements/datamill-extra","last_synced_at":"2025-06-29T11:36:02.134Z","repository":{"id":138513594,"uuid":"111104359","full_name":"9elements/datamill-extra","owner":"9elements","description":null,"archived":false,"fork":false,"pushed_at":"2017-11-22T16:49:46.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-22T09:55:08.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/9elements.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-11-17T13:05:55.000Z","updated_at":"2017-11-17T13:06:27.000Z","dependencies_parsed_at":"2023-03-16T19:15:32.253Z","dependency_job_id":null,"html_url":"https://github.com/9elements/datamill-extra","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/9elements/datamill-extra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fdatamill-extra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fdatamill-extra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fdatamill-extra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fdatamill-extra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/9elements","download_url":"https://codeload.github.com/9elements/datamill-extra/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fdatamill-extra/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262588197,"owners_count":23333174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T11:09:28.607Z","updated_at":"2025-06-29T11:36:02.126Z","avatar_url":"https://github.com/9elements.png","language":"Ruby","readme":"# Datamill::Extra\n\nThis gem contains things related to the datamill gem which have not proven to be\nuseful or stable enough to go into the main gem.\n\n## Cell cultures and cell runs\n\nRecall these datamill concepts first:\n\nA \"behaviour\" is an implementation of how cells of a certain kind need to be\noperated. For Datamill, a Behaviour is just an object that implements the\n`Datamill::Cell::Behaviour` interface.\n\nBehaviours implement functions managing the cell's `State`, which\nencapsulates all the state of and information about the cell, and contains no behaviour\nof itself. The behaviour functions themselves are stateless.\n\nThis is a rather functional approach and not always nice to operate with.\nTo give this a more object-oriented flavour,\nyou can implement a *cell culture* using `Datamill::Extra::CellCulture`.\n\nA cell culture provides the behaviour object, the interface toward the reactor, for\nyou. Inside the cell culture you describe what a *cell run* looks like,\na class instantiated by the behaviour to handle a single invocation\nfor the cell. On this cell run you can implement general handling\naround all method calls (like logging, exception handling,\npresenting a cell's id in a more suitable way...) as well as respond\nto cell messages.\n\n## Model events\n\nModel events allow for hooking into the lifecycle events of classic ORMs\nto emit Events. These events are managed by corresponding `Datamill::Event` subclasses.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9elements%2Fdatamill-extra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F9elements%2Fdatamill-extra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9elements%2Fdatamill-extra/lists"}