{"id":13544948,"url":"https://github.com/arkanovicz/modality","last_synced_at":"2025-12-25T04:30:49.722Z","repository":{"id":37431280,"uuid":"183214896","full_name":"arkanovicz/modality","owner":"arkanovicz","description":"Model Layer Implementation for a J2EE Pull MVC WebApp","archived":false,"fork":false,"pushed_at":"2025-03-18T21:03:27.000Z","size":1541,"stargazers_count":13,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-18T22:22:04.930Z","etag":null,"topics":["j2ee","mvc","orm","velocity"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arkanovicz.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}},"created_at":"2019-04-24T11:27:54.000Z","updated_at":"2025-03-18T21:03:32.000Z","dependencies_parsed_at":"2025-03-19T11:31:54.963Z","dependency_job_id":null,"html_url":"https://github.com/arkanovicz/modality","commit_stats":{"total_commits":361,"total_committers":2,"mean_commits":180.5,"dds":"0.0027700831024930483","last_synced_commit":"961d7a02d268c82de00976a518cdc12576add4fe"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkanovicz%2Fmodality","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkanovicz%2Fmodality/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkanovicz%2Fmodality/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkanovicz%2Fmodality/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arkanovicz","download_url":"https://codeload.github.com/arkanovicz/modality/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246841552,"owners_count":20842613,"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":["j2ee","mvc","orm","velocity"],"created_at":"2024-08-01T11:00:55.245Z","updated_at":"2025-12-25T04:30:49.709Z","avatar_url":"https://github.com/arkanovicz.png","language":"Java","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/arkanovicz/modality/master/src/site/modality.png\" title=\"Modality\"\u003e\n\u003c/p\u003e\n\n**Modality** is a lightweight but hightly configurable Java ORM, with a companion set of tools \n\n\n\u003cp align=\"right\"\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://arkanovicz.github.io/modality/docs/index.html\"\u003edocs home\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://arkanovicz.github.io/modality/docs/modality-core.html\"\u003emodality-core doc\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://arkanovicz.github.io/modality/docs/modality-webapp.html\"\u003emodality-webapp doc\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://arkanovicz.github.io/modality/docs/velocity-tools-model.html\"\u003evelocity-tools-model doc\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://arkanovicz.github.io/modality/docs/apidocs/\"\u003ejavadocs\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/p\u003e\n\n# Modality ORM library\n\nEncompases a data access layer, a hierarchical and reentrant model definition gathering SQL queries, database values, names custom filters and much more. See [modality-core's REAME](modality-core).\n\nUsage: include the needed module(s) in your `pom.xml`'s dependencies section as follow:\n\n      \u003cdependency\u003e\n          \u003cgroupId\u003ecom.republicate.modality\u003c/groupId\u003e\n          \u003cartifactId\u003emodality-core\u003c/artifactId\u003e\n          \u003cversion\u003e1.0\u003c/version\u003e\n      \u003c/dependency\u003e\n\n# Modality Web anti-framework\n\nWhile the ORM is usable on its own or within other Java/Kotlin web frameworks, the project comes with a companion set of tools which stick to the J2EE and JDBC standards to provide a lightweight, loosely coupled and highly cusomizable [MVC](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller) [pull](https://en.wikipedia.org/wiki/Web_framework#Push-based_vs._pull-based) architecture based on the Java J2EE servlets API.\n\nIts design is based on a [bottom-up](https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design) approach rather than top-down. This makes Modality an *anti-framework*: its various components do stick to the underlying norms, have a minimal interdependance and just do the specific task they are intended to, leveraging the learning curve and added complexity, and nevertheless those components assembly cover all the basic needs of a fully functional MVC webapp.\n\n+ the Model layer is addressed with a generic ORM Java API witouth any code generation and with minimal optional caching, providing a complete database structure reverse enginering feature.\n+ the View layer is Apache Velocity, but other Java View layer technologies can easily be used instead.\n+ the Control layer is decentralized in URI to path conventions (like serving *basedir*`/foo.vhtml` for `GET /foo.vhtml`), configuration files and helpers. It can easily be blended in existing frameworks.\n\nComponents:\n\n+ [modality-core](modality-core) - Core Modality library.\n+ [modality-api-client](modality-api-client) - API client utility for JSON/XML APIs.\n+ [modality-webapp](modality-webapp) - servlets and filters for Modality-core configuration and initialization in a J2EE webapp environment.\n+ [modality-webapp-auth](modality-webapp-auth) - authentication filters assortment.\n+ [velocity-tools-model](velocity-tools-model) - view layer model tool which encapsulates modality-core model objects for use with Apache Velocity Tools.\n\n","funding_links":[],"categories":["Projects","项目"],"sub_categories":["Database","数据库"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkanovicz%2Fmodality","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farkanovicz%2Fmodality","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkanovicz%2Fmodality/lists"}