Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/usox/harm
Active record/Table data gateway hybrid for hack strict mode
https://github.com/usox/harm
database hack hacklang hhvm orm postgresql
Last synced: 19 days ago
JSON representation
Active record/Table data gateway hybrid for hack strict mode
- Host: GitHub
- URL: https://github.com/usox/harm
- Owner: usox
- License: mit
- Created: 2016-01-09T11:33:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-11T10:33:17.000Z (over 5 years ago)
- Last Synced: 2024-05-02T04:21:51.104Z (7 months ago)
- Topics: database, hack, hacklang, hhvm, orm, postgresql
- Language: Shell
- Homepage:
- Size: 89.8 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/usox/harm.svg?branch=master)](https://travis-ci.org/usox/harm)
HaRM - Hack Relation Mapper
===========================Goal
----The main purpose of HaRM is to perform simple CRUD-Operations in hack strict
mode - that's it.Usage
------ Create a .harm file containing the database structure (see `tests/sample.harm` for a
boilerplate).
- Generate interface `./bin/harmgen interface > MyTableInterface.hh`
- Generate table `./bin/harmgen table > MyTable.hh`
- Use your existing PDO instance for the database connectionSee the generated interface for further information.