HNG ToolSet

By the Power of PHPNG
Funcdown PHP Extension
DOCjs Overview
Shadowdoc PHP Extension
RWD PHP Extension

Rapid project development with HardcoderNG

  • When all is in tune with the rest within .. is what HNG refers to.
  • HardcoderNG is PHPNG based toolset/stack of carefuly crafted code for developing various kind of applications and to ease one's life a bit+ - if possible.
  • At this time of writing, HardcoderNG is in early (baby) stage of development, and God only knows when first production ready version will come out. Nonetheless, some of the functionalities are already quite ready for playing, testing, production, and as time passes on, there will be more and more of that kind.

Application scripts utilization

Like each and every other similar PHP software aroung the web, this one is broken to smaller pieces. There are three types of groups in which those smaller pieces reside and are called extensions, modules or libraries. For both backend and frontend utilization.

PHP Extensions utilization

  • Funcdown - Templating system, language/text separator/extractor, markup generator. A multipurpose metaprogramming extension.
  • Shadowdoc - Descriptor type extension for generating documentation and a few things more out of PHP source code.
  • Locator - Very powerful file/dir search/locate/display mechanism. Can be used for various purposes. Suitable for browser-based file-manager backend.
  • RWD - READ WRITE DESTROY. That is, some sort of CRUD (create, read, update, delete) operations. The essence of the HNG Databases and HNG Persistance library.

Javascript utilization

  • document.js - `DOC` (or literal documentDotJs) is Javascript object/module (small and effective tool), with no pollyfills or backward compatibility. It is very powerful DOM manipulator, with basic user interface control support. In other words, DOC.js is set of Vanilla JS instructions focused on everyhing crucial trough Object.prototype which is carrying Your unique ideal name.
  • ace.js - The high performance code editor for the web. Ace is an embeddable code editor written in JavaScript. It matches the features and performance of native editors such as Sublime, Vim and TextMate. It can be easily embedded in any web page and JavaScript application. Ace is maintained as the primary editor for Cloud9 IDE and is the successor of the Mozilla Skywriter (Bespin) project.
  • highlight.js - Syntax highlighting for the Web

Before You dive into Funcdown, You'll find quick examples below for three possible funcdown input types, and how to parse/transform funcdown syntax to html markup.


INSTANCING

  • Somewhere in Your script ..
     <?php
    
    require_once '/path/to/funcdown/extension.php';
    $funcdown = new \H\Ext\Funcdown\ObjectInstance(5); 

BASIC USAGE

  • Funcdown code (input value for $funcdown->parse() method) can come in a form of value of PHP $variable - or directly:
  • - as an string
  • - as an compliant array
  • - as an valid filepath

STRING AS INPUT

  • You write this ..
     $funcdown->parse('D [ p{This is my paragraph text} ]', false);
    echo $funcdown->release(); 

ARRAY AS INPUT

  • You write it like this ..
     $funcdown->parse([
      'D' => [
        'p' => 'This is my paragraph text'
      ]
    ], false);
    echo $funcdown->release(); 

FILEPATH AS INPUT

  • Note the extension
     ## my_funcdown_file.fncd
    
    D [
      p{This is my paragraph text}
    ] 
     echo $funcdown->parse('/path/to/my_funcdown_file.fncd')->release(); 

OUTPUT

  • You get the sample below, no matter which input type You choose.
     <div>
    <p>This is my paragraph text</p>
    </div>  

Document Dot JavaScript

DOC.js is a small and effective DOM manipulator/framework. Right now, @ this time of writing, DOC.js is still in it's final development stage, thus doesn't have it's documentation yet. It is fully production ready (this segment You are reading is made possible because of DOC.js), but, only developer it self knows how to use it properly. Soon, it will be available for the whole world to try it out. Stay tuned.

Shadowdoc - source code descriptor

shadowdoc is a PHP extension that gives a developer insight and description of OOPHP code. It is in it's early stage of development and will be available for download and personal usage very soon.


Read Write Destroy

RWD is a small and effective PHP extension (mechanism) that falls into some sort of a CRUD operations category. It creates, read, write/edit and eventually destroys any kind of scalar and non-scalar data into a .php file in a form of hard-sealed and compressed string within a C-style single line comment. It's documentation is not written yet, therefore it is still not yet available for wide usage. Stay tuned.