Comments (7)
I think perhaps you misunderstand the package, this is a translation layer that provides an odata end point. index.php is something that would need to be implemented by you you can find an example to work with a local sql database here
If you give us some more information about your use case, are you using a PHP framework, what data source you are attempting to expose we will be happy to help you.
from podata.
from podata.
@derekdiamond, well the big thing here is where you want the OData layer to interface, through word press or directly to the database. I would say an interfacing through wordpress would probably be the way to go. because then it would be reusable let me give you a basic brake down of how things work and we will see if we can work out how to interface it with wordpress together.
first there is the BaseService that class is abstract, it is done that way because the service requires an IQueryProvider and a IMetadataProvider
For simplicity sake we have implomented some basic "simple" classes to avoid the need SimpleDataService takes a IQueryProvider.php and a SimpleMetadataProvider you will find that SimpleMetadataProvider provides the basic application of IMetadataProvider
The reason we have done it this way is a result of the multiple back ends for the data (the query provider allows custom back ends) and need for a metadata provider is that php is an untyped language where as odata requires object typing. in our POData-Laravel project we get the type information directly from the database.
I am happy to work with you todo an official plugin to expose wordpress data directly over odata but you would probably need to direct the project as out dev team don't often use wordpress. Let me know what you think and ill get a repo create?
from podata.
from podata.
@derekdiamond do you have a better way to communicate then github issues? (Discord,Skype,Etc)
from podata.
Yes, you can get me on Skype DerekcDiamond.
from podata.
Closing due to lack of activity
from podata.
Related Issues (20)
- Error writing JSON output HOT 3
- Missing namespace in metadata info for a result entry HOT 8
- $expand clause does not work on result sets HOT 13
- Need to rework the Metadata Provider HOT 2
- Missing output when $expand results are empty HOT 10
- undefined method MetadataManager::getResourceSetNameFromResourceType HOT 6
- No writer can handle the request with "Accept: application/json;odata.metadata=minimal" HOT 1
- How to mapping Entity inside a schema HOT 3
- Handling PHP_EOL in IndentedTextWriter::getResult() method HOT 30
- kirill533 changes HOT 1
- Improved memory management for large query sets.
- Dependency Hell HOT 8
- Configurable date format HOT 3
- ODataConstants::JSON_LIGHT_NEXT_STRING HOT 1
- Documentation
- Write support HOT 3
- Json requests with empty accept header values don't work
- Error: Value '24' is not part of the enum POData\Providers\Metadata\ResourcePropertyKind HOT 1
- Support for php 8.0 and 8.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from podata.