Dom: Full element functionality
Published on by Greg Bowler
This release marks the point where all features are implemented and tested for the current list of classes. Functionality lists were provided by MDN documentation for each DOM class.
Published on by Greg Bowler
This release marks the point where all features are implemented and tested for the current list of classes. Functionality lists were provided by MDN documentation for each DOM class.
Published on by Greg Bowler
The PhpGt/Dom repository changed its namespaces to become consistent with the whole of WebEngine. This was a backwards breaking change, which has been fixed in this release.
Published on by Greg Bowler
Published on by Greg Bowler
The abstract TokenStore class defines how Csrf tokens can be handled. This release includes the ArrayTokenStore mechanism for saving an easily serialisable data structure to your own persistent storage mechanism, such as the session.
Published on by Greg Bowler
Certain queries are better to use ? placeholders rather than :named placeholders, typically queries where the placeholder can be inferred by the query name.
For example, the getById query should only take the one parameter, which doesn’t need to be named “id” when calling.
Clean, improved syntax:
$customer = $db["customer"]->getById(123);
Rather than:
$customer = $db["customer"]->getById(["id" => 123]);
Published on by Greg Bowler
Bugfix when finding the root project path.
Published on by Greg Bowler
During migration, each migration script is hashed and stored in the database to prevent accidental edits to already-migrated scripts. The migration tool will halt without altering the database if any edit is detected.
Published on by Greg Bowler
When using multiple Logic objects, like when there are _Commons involved, the Before/Go/After order will be respected over all Logics.
Published on by Greg Bowler
Many bugs have been fixed working with subsequent query calls.
Published on by Greg Bowler
Basic database migration functionality implemented.
Published on by Greg Bowler
Rows are now Iterable. Exceptions are thrown by default. Parameters have their placeholder characters set by default. ResultSet::hasResult added.
Published on by Greg Bowler
Caches fetched results so that subsequent calls provide expected results.
Published on by Greg Bowler
Published on by Greg Bowler
Now the ResultSet and contained Row objects can be accessed as arrays. The data can be iterated or jsonSerialized without manual casting.
Published on by Greg Bowler
Query results will not be stored in memory, rather they are represented by a ResultSet which will fetch each Row as you iterate the ResultSet.
Published on by Greg Bowler
DatabaseClient now constructs with only a list of settings objects. Settings/drivers are passed throughout queries.
Published on by Greg Bowler
Published on by Greg Bowler
The DatabaseClient, QueryCollection and Query classes all use the correct factory methods to get to the necessary Query itself.
Published on by Greg Bowler
Query files, SQL or PHP, are loaded using the QueryFactory. QueryCollections are loaded using the QueryCollectionFactory.
Published on by Greg Bowler
Everything is loaded through the Gt\Fetch namespace, as per the PhpGt styleguide.
Published on by Greg Bowler
Now the response’s text() and json() promises are implemented.
There is a lot of refactoring and unit testing to be done now that the proof of concept is complete.
Published on by Greg Bowler
Promises are passed the response object containing the headers, body and response info.
Published on by Greg Bowler
The requests are being made asynchronously now. Response object is to be developed next. For now, the curl object is returned as the response.
Published on by Greg Bowler
All methods are tested before work starts on the Request class.
Published on by Greg Bowler
Promises are working and tested, marking the true start of this library’s progress. There is no cURL functionality built in yet.