Выход SNK GPCL для PHP 2.0 beta
Сегодня, в 1000000002-й день года (известен так же как день программиста), вышла наследница GSCP - библиотека классов GPCL for PHP. Пока, правда, в статусе бета-версии.
Тем не менее, GPCL представляет собой гораздо более целостное решение, нежели предшественница. Это - полноценная PHP-библиотека, а не разрозненный набор PHP-скриптов. С помощью GPCL вы можете манипулировать соедржимым HTML-документа подобно тому, как это делается при помощи JavaScript в DOM.
Существенно упрощается работа с базами данных, с сессиями и т.п. Имеются вспомогательные компоненты для подключения форумов, создания каптчи, обработки изображений и т.д. Все это основано на классах - GPCL является полностью бъектно-ориентированным решением для PHP.
Основные нововведения и изменения в GPCL 2.0 beta по сравнению с GSCP 1.6.1:
- Added autoconv preference. If true then strings converted on input/output (EXPEREMENTAL)
- Added form values auto checking by using an array of input_name=>datatype in MakeAutoData
- Added TFormData class, forms now support autofill by get/post values
- TVBTopicsH renamed to TForumsH, int_vb.php renamed to forumint.php, added PunBB support
- Removed $link parameter at all. On this occasion, all DB-related methods was changed
- All GPCL classes are descendants of TObject abstract class, defined in cconst.php
- All properties and methods in GPCL are separeted to public and private or protected
- Protected properties are read-only outside it's class or descendant class
- Language-depending string resources was moved to separate files
- HTML tables related classes moved to tables.php file
- A lots of small improvements and code cleanup, HTML5 support
2011-09-13