PGSuite - toolkit for creating simple WEB applications on "client-server" architecture (HTML/JavaScript и PostgreSQL) without backend
General idea: computing resources are redundant for simple projects, it is possible to abandon the backend part of application
Basic principle: Only PostgreSQL, only hardcore !
- No middleware, HTML/JavaScript interacts with database directly through ORM, stored procedures and SQL queries
- Logic is implemented using PostgreSQL DBMS
- User access is determined by restrictions in the database based on access policy
- Full logging of all changes with the ability to view them
- Reports are created in a database and transmitted in binary form (bytea) to a web browser
- WEB pages are templated using SQL
PGORM | - | PGORM allows to connect to PostgreSQL from web pages, execute SQL queries, use ORM and receive files |
PGHtml | - | PGHtml is command line utility that creates HTML, JS, JSON and other types of files using data retrieved from PostgreSQL database |
PGXLS | - | PGXLS is SQL schema with procedures for create file in Excel format (.xlsx), has 2 modes: export by SQL query and report builder |
PGHist | - | PGHIST keeps history of table changes and allows to get log(audit) of changes by row, list of changes by fields and table as of date-time in the past (versioning) |
Source code is posted in GitHub repositories: PGORM, PGHtml, PGXLS, PGHist
PGSuite is released under the MIT License (open and free software license).
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.