Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seanox/xml-micro-exchange-php
XML and XPath based volatile NoSQL stateless micro datasource for data exchange for web applications and IoT (implementation for PHP)
https://github.com/seanox/xml-micro-exchange-php
cloud data-storage microservice nosql web-api xml xpath xslt
Last synced: about 1 month ago
JSON representation
XML and XPath based volatile NoSQL stateless micro datasource for data exchange for web applications and IoT (implementation for PHP)
- Host: GitHub
- URL: https://github.com/seanox/xml-micro-exchange-php
- Owner: seanox
- License: apache-2.0
- Created: 2020-04-05T15:57:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T04:55:04.000Z (2 months ago)
- Last Synced: 2024-10-16T22:57:31.549Z (2 months ago)
- Topics: cloud, data-storage, microservice, nosql, web-api, xml, xpath, xslt
- Language: PHP
- Homepage:
- Size: 1.08 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- License: LICENSE
Awesome Lists containing this project
README
# Description
The origin of the project is the desire for an easily accessible place for data
exchange on the Internet. Inspired by JSON-Storages the idea of a feature-rich
equivalent based on XML, XPath and XSLT was born. The focus should be on a
public, volatile and short-term data exchange for (static) web-applications and
IoT.__Just exchange data without an own server landscape.__
__Just exchange data without knowing and managing all clients.__XML-Micro-Exchange is a volatile NoSQL stateless micro datasource for the
Internet. It is designed for easy communication and data exchange of
web-applications and for IoT or for other Internet-based modules and
components. The XML based datasource is volatile and lives through continuous
use and expires through inactivity. They are designed for active and near
real-time data exchange but not as a real-time capable long-term storage.
Compared to a JSON storage, this datasource supports more dynamics, partial
data access, data transformation, and volatile short-term storage.__Why all this?__
- Static web-applications on different clients want to communicate with each
other, e.g. for games, chats and collaboration.
- Smart sensors want to share their data and smart devices want to access this
data and also exchange data with each other.
- Clients can establish dynamically volatile networks.__In this communication are all participants.__
__No one is a server or master, all are equal and no one has to know the other.__
__All meet without obligation.__# Features
- __RESTful__
The REST API supports the HTTP methods CONNECT, OPTIONS, GET, POST, PUT,
PATCH, DELETE. The CONNECT method is not a standard and the function can be
used alternatively via TOUCH or PUT without XPath.
- __XPath__
XPath axes and functions are used for access, navigation and addressing of
targets in the data source and it is an integral part of the URI with dynamic
and functional effects.
- __Multiple axes and targets__
An XPath axis can address several elements and attributes simultaneously,
which can be changed with one call.
- __XPath Functions__
PUT and PATCH support XML structures and static values (text), as well as
XPath functions that allow dynamic values.
- __Data Query__
Data can be queried in the form of XML structure or substructure if the XPath
notation represents an axis, otherwise the XPath is interpreted as an XPath
function and responded with the result as text. Thus XPath provides a dynamic
syntax for queries.
- __Data Transformation__
The POST method supports data transformation via XSLT. Similar to GET, data
can be queried and then transformed with an XSLT template transmitted via
POST.
- __JSON Support__
All requests can be responded by the service in JSON format.
- __Security__
This aspect was deliberately considered and implemented here only in a very
rudimentary form. The storage name with a length of 1 - 64 characters and the
individual root element can be regarded as secret. For further security the
approach of Basic Authentication, Digest Access Authentication and/or
Server/Client certificates is followed, which is configured outside of the
XMEX (XML-Micro-Exchange) at the web server.# Licence Agreement
LIZENZBEDINGUNGEN - Seanox Software Solutions ist ein Open-Source-Projekt, im
Folgenden Seanox Software Solutions oder kurz Seanox genannt.
Diese Software unterliegt der Version 2 der Apache License.Copyright (C) 2024 Seanox Software Solutions
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.# System Requirement
- PHP 8.x or higher (+xsl)# Downloads
[Seanox XML-Micro-Exchange 1.5.1](https://github.com/seanox/xml-micro-exchange-php/releases/download/1.5.1/seanox-xmex-1.5.1.zip)
```
curl -LO https://github.com/seanox/xml-micro-exchange-php/releases/latest/download/seanox-xmex-latest.zip
```# Docker Image
https://hub.docker.com/r/seanox/xmex
```
docker run -d -p 80:80/tcp --rm --name xmex seanox/xmex:php
```# Free XML-Micro-Exchange
__Before using, you must read, understand and agree to__
__[Terms of Service](https://xmex.seanox.com/terms.html) and__
__[Privacy Policy](https://xmex.seanox.com/privacy.html).____Web site and documentation__
[https://xmex.seanox.com/](https://xmex.seanox.com/)__Service Endpoint URL__
[https://xmex.seanox.com/xmex!](https://xmex.seanox.com/xmex!)
65536 Storages x 64 kB
__Please do not get confused, the API is online.
Requests without storage identifier (see [manual](manual/README.md#manual))
are responded with status 400.__
See also [OpenAPI YAML](https://raw.githubusercontent.com/seanox/xml-micro-exchange-php/master/sources/openAPI.yaml)
or open [OpenAPI YAML in a GUI](https://xmex.seanox.com/openAPI.html).It is a small server (1 vCore, 1 GB RAM, 10 GB SSD) in a big data center -- but
apparently enough.
__Sponsors are always welcome.__
It costs about 5 Euro per month for 1,000,000 storages x 64 kB with double CPU
cores and double memory.__Example Multiplayer Snake (Online)__
https://xmex.seanox.com/snake.html# Manual
* [Table Of Contents](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/README.md#manual)
* [Motivation](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/motivation.md)
* [Installation](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/installation.md)
* [Configuration](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/configuration.md)
* [Web Server](#web-server)
* [Parameters](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/configuration.md#parameters)
* [Docker Image](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/configuration.md#docker-image)
* [Terms](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/terms.md)
* [Getting Started](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/getting-started.md)
* [API](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/api.md)
* [Error Handling](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/error-handling.md)
* [Development](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/development.md)
* [Test](https://github.com/seanox/xml-micro-exchange-php/blob/master/manual/test.md)# Changes
## 1.5.1 20241030
BF: Service: Correction of the configuration for on-premises
BF: Build: Correction of the version number distribution
CR: Build: Added build and publish the Docker images
CR: Content: Added snake.html as example abd little gimmick[Read more](https://raw.githubusercontent.com/seanox/xml-micro-exchange-php/master/CHANGES)
# Contact
[Issues](https://github.com/seanox/xml-micro-exchange-php/issues)
[Requests](https://github.com/seanox/xml-micro-exchange-php/pulls)
[Mail](https://seanox.com/contact)