Open mjordan opened 6 years ago
Looks like custom subclasses can be placed in a separate directory, and that directory registered in composer.json
:
{
"autoload": {
"classmap": ["includes/", "myclasses/"]
}
}
Got https://packagist.org/packages/islandora-rest-client/islandora-rest-client working.
Work in issue-22 branch will migrate from using class files in includes
directory to using the packagist version.
Related issues: #25, #26 .
https://github.com/mjordan/irc is coming along nicely. Work in the issue-22 branch has pivoted to using this library.
irc component added to composer.json in 4a17520.
Note that IRC requires that the base URI end in a slash, e.g., http://localhost/islandora/rest/v1/
. Make sure the documentation reflects that and that the default value for the -e
option does as well.
The client code is already fairly well abstracted, and other applications might find it useful. The
Ingester
abstract class for sure, but its children also. as long as they can be easily subclassed to allow implementers to have control over how each content model's input is structured.