Core-PHP
Core-PHP copied to clipboard
Generic Jena-compatible PHP Linked Data management library. Apache license.
Refactor `getRequestURI()` method in https://github.com/Graphity/graphity-core/blob/master/src/main/php/Graphity/Request.php The logic in that method contains a bug. `$_SERVER['REQUEST_URI']` in PHP has path & query segments, but not `SERVER_NAME`.
Somewhy toDOM serializes language as rdf:lang attribute, while the repository saves it as xml:lang
Example code interface should be something like: ``` php $query = QueryBuilder::newInstance()->construct($model)->where($whatToSelect)->build(); $model = $repository->query($query); ``` ``` php $query = QueryBuilder::newInstance()->insert($model)->graph($someUri)->build(); $repository->insert($query); ``` Discussion is needed about how to implement...
Make group-triples.xsl not only group triples in RDF/XML by subject, but also sort by subject/property/object URI
Should be similar to http://framework.zend.com/manual/en/zend.test.phpunit.html
Find wrong type usages, where class name is used where interface is supposed to be, usually in method parameter type-hinting like here: public function __construct(Request $request, Router $router)
There seems to be a problem with quotes after newlines: [2916] 400 Parse error: [line: 7, col: 220] Broken token (newline): @da . http://local.heltnormalt.dk/rydforsiden/2012/01/04 http://purl.org/dc/elements/1.1/description """Er du i besiddelse af...
Implement better ErrorHandler
group-triples.xsl produces incorrect RDF/XML (xml:lang becomes rdf:lang?)
Make sure that multipart/form-data-alternate hack is invisible to the end-developer. One should use _@Consumes("multipart/form-data")_ and forget _alternate_.