What is GPCL?

GPCL is an object-oriented library for PHP, developed by me and used last ears.
Today I write an introduction about GPCL.
In few words, with GPCL you can write:
 include("documents.php");  
 class MyDoc extends TDocument {  
  function __construct($title) {  
   parent::__construct($title);  
   $this->body->AddHeading(1)->content = "Hello, World!";  
  }  
 }  
 $doc = new MyDoc("Welcome!");   
 $doc->PrintAll();  
On output you get well-formatted HTML document with "Hello, World" heading and "Welcome" Title.

Comments

Popular posts from this blog

Installing and using a free GeoIP database

SNK GSCP 1.5 Release candidate is out!

Android: Activity vs AppCompatActivity