Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language and framework #3

Closed
tcoupin opened this issue Jan 22, 2020 · 8 comments
Closed

Language and framework #3

tcoupin opened this issue Jan 22, 2020 · 8 comments

Comments

@tcoupin
Copy link
Member

tcoupin commented Jan 22, 2020

I was thinking to PHP and http://www.slimframework.com/

@RightInTwo
Copy link
Contributor

RightInTwo commented Jan 22, 2020

I would be fine with php. But I think one interesting aspect is the use of existing libs, for example:

[continued below]

Although it might make more work to include any packages. So it's really just the idea to think about it at all.

@tcoupin
Copy link
Member Author

tcoupin commented Jan 22, 2020

python:

php:

js, css:

@RightInTwo
Copy link
Contributor

RightInTwo commented Jan 22, 2020

https://www.openarchives.org/pmh/tools/

Tool Implementer Description
PHP OAI Data Provider University of Oldenburg This implementation completely complies to OAI-PMH 2.0, including the support of on-the-fly output compression which may significantly reduce the amount of data being transfered.
PHP OAI-PMH 2.0 Harvester library Casey McLaughlin This library provides an interface to harvest OAI-PMH metadata from any OAI 2.0 compliant endpoint. Features: PSR-0 thru PSR-2 Compliant; Composer-compatible; Unit-tested; Prefers Guzzle for HTTP transport layer, but can fall back to cURL; Easy-to-use iterator that hides all the HTTP junk necessary to get paginated records.

@pdurbin
Copy link
Member

pdurbin commented Jan 22, 2020

@tcoupin if you ever want an empty repo called dataverse-client-php to push code to (similar to the ones for javascript, r, python, and java), please just let me know! 😄

@RightInTwo
Copy link
Contributor

#6 is related

@RightInTwo
Copy link
Contributor

Could we use this OAI-PMH server? It is also based on Symfony, just like the great basic application @tcoupin pushed to master.

https://github.com/naoned/OaiPmhServerBundle

Features
Compliant with official Oai-Pmh tech spec : http://www.openarchives.org/OAI/openarchivesprotocol.html
Sucessfully pass http://re.cs.uct.ac.za/ test
Automated resumption in large list, with arrays or ArrayObject
On the fly XML generation, if you provide Records in a real-time data-accesing ArrayObject
Parametrable resumption items-per-page (default at 50)

Limitations
Does not supports resumption (by token) on set lists
More data formats (currently supports Dublin Core only)

@tcoupin
Copy link
Member Author

tcoupin commented Mar 25, 2020

This bundle is made for Symfony v2 or v3, doi2pmh use the latest v5, to try...

@plecor
Copy link
Contributor

plecor commented May 24, 2024

I'm closing this: the current version is using PHP and Symfony.

This could change in a later version I guess if the need arises.

@plecor plecor closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants