Giter VIP home page Giter VIP logo

Comments (7)

c-harris avatar c-harris commented on September 15, 2024

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.

derekdiamond avatar derekdiamond commented on September 15, 2024

from podata.

c-harris avatar c-harris commented on September 15, 2024

@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.

derekdiamond avatar derekdiamond commented on September 15, 2024

from podata.

c-harris avatar c-harris commented on September 15, 2024

@derekdiamond do you have a better way to communicate then github issues? (Discord,Skype,Etc)

from podata.

derekdiamond avatar derekdiamond commented on September 15, 2024

Yes, you can get me on Skype DerekcDiamond.

from podata.

CyberiaResurrection avatar CyberiaResurrection commented on September 15, 2024

Closing due to lack of activity

from podata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.