XML
Data example
<item>
<title>This is an example.</title>
</item>
Sub-tasks
-
Complete debugging of yaxp\Parser
. (08/18) -
Get rid of manual including PHP classes files in favor of autoloader (08/31) -
Publish the find_recursive script as a GitLab snippet and to Google+ (09/01) -
[why? the project called Cornerstone forever] (09/02)'cornerstone'
literals should be moved to thedefine
named constant -
Move the[impossible becauseSystem
class from thecornerstone
file to thelib/system.php
and include it before callingnew System
$sys
resolves paths on debug source tree and in the real environment when the software is installed] (09/03) -
Create a Composer package (xmtk/xmtk-reader) and register it on Packagist (09/11) -
Install Composer into the project. Use XMTk in the code as a package with a help of Composer. Read data in XML format ( cornerstone\Item::fread()
). (09/13) -
Replacing the hand-made loader of cornerstone commands with autoload.php
. Search for usages ofglobal $sys
($sys
) and$GLOBALS['sys']
(and ..."sys"
). (09/15) -
According to the PSR-1 standard, Method names MUST be declared in camelCase
. (09/18) -
Prevent XML injections during writing to files usingDone by thehtmlspecialchars_decode()
.xml_parse_into_struct()
function. (09/18) -
If time is left, I should create a site using Google Sites with references to 1) Cornerstone project's read-me file at GitLab, 2) Packagist profile: xmtk and its sub-project: xmtk-reader (09/20) -
Makefile should require installation ofI will usephp56-xmlwriter
. To do this, change the next line in theMakefile
:USE_PHP= xml
this way:USE_PHP= xml xmlwriter
.Writer
fromxmtk/xmtk
. (09/28) -
Write data in XML format. (10/06) -
The cornerstone\Item
class does not meet the SRP principle: it contains code to write and read files, formatted output. Split all these features out of thelib/item.php
file using the Strategy pattern. (10/27) -
Clean up, publish and share google-site (10/28). -
CI. Created yaxp\Writer. Implement auto-unit-tests using GitLab Runner (11/23) -
Un-escape XML tags of /item/title
s in time of reading items from files.htmlspecialchars()
(11/29) -
There is a dependency is in the Makefile already. Check if this requirement is excessive (remove PHP and its XML extension, then try to use written yaxp\Parser
; if it work, then remove the dependency from theMakefile
). -
The commands/wrong.php
should say that commands classes are stored under the/usr/local/share/cornerstone/commands
directory. (11/28) -
Handle the situation when the wrong.php
command script is not found. (12/01) -
Couldn't find the command: qwe. Check if the '/usr/local/bin/../share/cornerstone/commands/qwe.php' exists.
What's a crap this path with..
s. Fix it! (12/05) -
change the version from dev
(0.1) toalpha
(0.2) including changes inrelease.mk
,Makefile
and wiki (12/23). -
Merge the branch. (12/07) -
Publish, test and debug a new version. (12/09) -
Write to Google+ about the 0.1 (the 1st proto) code freeze and starting development of the 0.2 (bugfixing to CLI), attaching the milestone. (12/10) -
XMTk (eXtensible Markup ToolKit): write automatic unit tests to run with GitLab runners for XML parser and writer. (12/13) -
Convert $sys->case_transformer
to singletone. (12/15)
Edited by Vasily