About GPCL for PHP

GPCL (General Purpose Class Library for PHP) is an object-oriented library for PHP, which includes classes for working with HTML documents. It supports working with HTML documents like a DOM browser: when you create a document, it is presented as an object, and all its parts, including forms, text blocks and tables can also be represented by objects.

Integration with databases is supported, for example, you can create and fill form elements automatically, specifying only the name of the table and listing the necessary fields in it.

There are a number of service classes that make it easy to work with images (scaling, overlapping, etc., up to generation of captcha), with the creation and sending of letters via SMTP, including HTML format and attachment support, as well as secure TLS.

In general, in comparison with its predecessor - PHP-library GSCP, it is possible to highlight features listed below:

  • The class hierarchy is revised, all classes are now inherited from TObject
  • All methods and properties are divided into public and protected, and the latter are available everywhere as read-only
  • Changed the approach to the work of code page auto-support - the autoconv (experimental) setting was added
  • Added class TFormData and support for automatic processing of data from POST and GET-requests
  • Improved internationalization features, there was built-in support for the German language (in addition to Russian and English)
  • Added a number of service functions in procs.php
  • New basic site templates - TStdDocument and TStdDBDocument
  • Improved work with tables, lists, HTML objects
  • Support for HTML 5 syntax added
  • The TMailH class is improved to support TLS and to work in debug mode
  • Improved integration with the forums, support PunBB added
  • Many corrections, optimizations and code improvements
  • Few examples were added
You can download version 2.1 from here. This is last version from a far-far 2013, branded by SNK Software.

Comments

Popular posts from this blog

Installing and using a free GeoIP database

Monopolization for Android

Create custom Spinner on ActionBar