Pi Highlights

Pi feature

Pi Engine is a role oriented application development engine for web and mobile, designed as the next generation and a successor to Xoops. Pi is developed upon PHP and MySQL with selected third-party frameworks including but not limited to Zend Framework library, jQuery, Bootstrap and Backbone.

Pi Project follows the philosophy of open standard, open design, open development and open structure. Pi is born as a complete open source project and intended to build a sustainable ecosystem that benefits all contributors and users.

The Engine is released under a BSD 3-Clause License.

Selected features and practices:
  1. Modularization for functionality and applications
  2. Components for basic libraries and services for fundamental system functions
  3. Theming for presentation and appearance
  4. Design-friendly templating
  5. DevOps oriented architecture
  6. Centralized security enhancement
Quick start:

Login

log(37) | debug(0) | profiler(9) | db(6) | system(13) | all
log
07:25:26.2955
[info]
Service "Log" is loaded
07:25:26.3215
[info]
Service "Security" is loaded
07:25:26.3231
[info]
Resource "security" is booted
07:25:26.3237
[info]
Service "Database" is loaded
07:25:26.3317
[info]
Resource "database" is booted
07:25:26.3324
[info]
Service "Registry" is loaded
07:25:26.3343
[info]
Service "Cache" is loaded
07:25:26.3494
[info]
Resource "config" is booted
07:25:26.3563
[info]
Service "Module" is loaded
07:25:26.3584
[info]
Resource "router" is booted
07:25:26.3602
[info]
Service "I18n" is loaded
07:25:26.3647
[info]
Resource "i18n" is booted
07:25:26.3653
[info]
Resource "module" is booted
07:25:26.3659
[info]
Resource "modules" is booted
07:25:26.3668
[info]
Service "Session" is loaded
07:25:26.4053
[info]
Resource "session" is booted
07:25:26.406
[info]
Service "Authentication" is loaded
07:25:26.4088
[info]
Service "User" is loaded
07:25:26.4108
[info]
Service "Api" is loaded
07:25:26.4154
[info]
Resource "authentication" is booted
07:25:26.4159
[info]
Resource "permission" is booted
07:25:26.4169
[info]
Resource "render_cache" is booted
07:25:26.4456
[info]
Service "Asset" is loaded
07:25:26.446
[info]
Service "Theme" is loaded
07:25:26.4478
[info]
Translation "module/system:default.en" is loaded.
07:25:26.4538
[info]
Service "Permission" is loaded
07:25:26.4551
[info]
Service "RenderCache" is loaded
07:25:26.4595
[info]
Translation "theme/default:default.en" is loaded.
07:25:26.4797
[notice] #2 in module/widget/template/block/carousel/bootstrap.phtml
Undefined index: options
07:25:26.4809
[info]
Translation "module/system:block.en" is loaded.
07:25:26.4822
[info]
Translation "module/system:block.en" is loaded.
07:25:26.4823
[info]
Translation "module/system:block.en" is loaded.
07:25:26.4904
[info]
Service "Form" is loaded
07:25:26.4919
[info]
Service "Url" is loaded
07:25:26.5025
[info]
Translation "module/system:block.en" is loaded.
07:25:26.5034
[info]
Service "View" is loaded
07:25:26.5179
[info]
Route: front:system-index-index.
debug
profiler
07:25:26.2953
PI - time: 0.2853; realmem: 4194304; emalloc: 3822728
07:25:26.4554
ACTIION - time: 0.0012; realmem: 0; emalloc: 4392
07:25:26.4755
BLOCKS - time: 0.0245; realmem: 2097152; emalloc: 454704
07:25:26.4784
BLOCK: Pi Highlights - time: 0.0008; realmem: 0; emalloc: 1216
07:25:26.4807
BLOCK: Pi feature - time: 0.0013; realmem: 0; emalloc: 1440
07:25:26.4822
BLOCK: User - time: 0.0001; realmem: 0; emalloc: 296
07:25:26.4823
BLOCK: Login - time: 0.0100; realmem: 0; emalloc: 309688
07:25:26.5025
BLOCK: User bar - time: 0.0019; realmem: 0; emalloc: 9480
07:25:26.5086
menu - time: 0.0018; realmem: 0; emalloc: 7448
db
07:25:26.3919
[0.0127]
query: SELECT `core_session`.* FROM `core_session` WHERE `id` = :where1
params: [where1] 4487ercd16o90d81n2mdvdblq5;
07:25:26.4771
[0.0005]
query: SELECT `core_block`.`id` AS `id`, `core_block`.`root` AS `root`, `core_block`.`name` AS `name`, `core_block`.`title` AS `title`, `core_block`.`description` AS `description`, `core_block`.`module` AS `module`, `core_block`.`template` AS `template`, `core_block`.`render` AS `render`, `core_block`.`config` AS `config`, `core_block`.`type` AS `type`, `core_block`.`content` AS `content`, `core_block`.`cache_ttl` AS `cache_ttl`, `core_block`.`cache_level` AS `cache_level`, `core_block`.`title_hidden` AS `title_hidden`, `core_block`.`body_fullsize` AS `body_fullsize`, `core_block`.`active` AS `active`, `core_block`.`cloned` AS `cloned`, `core_block`.`class` AS `class`, `core_block`.`subline` AS `subline` FROM `core_block` WHERE `id` IN (:where1, :where2, :where3, :where4)
params: [where1] 6;[where2] 5;[where3] 2;[where4] 4;
07:25:26.502
[0.0004]
query: SELECT `core_block`.`id` AS `id`, `core_block`.`root` AS `root`, `core_block`.`name` AS `name`, `core_block`.`title` AS `title`, `core_block`.`description` AS `description`, `core_block`.`module` AS `module`, `core_block`.`template` AS `template`, `core_block`.`render` AS `render`, `core_block`.`config` AS `config`, `core_block`.`type` AS `type`, `core_block`.`content` AS `content`, `core_block`.`cache_ttl` AS `cache_ttl`, `core_block`.`cache_level` AS `cache_level`, `core_block`.`title_hidden` AS `title_hidden`, `core_block`.`body_fullsize` AS `body_fullsize`, `core_block`.`active` AS `active`, `core_block`.`cloned` AS `cloned`, `core_block`.`class` AS `class`, `core_block`.`subline` AS `subline` FROM `core_block` WHERE `name` = :where1
params: [where1] system-user-bar;
07:25:26.5106
[0.0003]
query: SELECT `core_block`.`id` AS `id`, `core_block`.`root` AS `root`, `core_block`.`name` AS `name`, `core_block`.`title` AS `title`, `core_block`.`description` AS `description`, `core_block`.`module` AS `module`, `core_block`.`template` AS `template`, `core_block`.`render` AS `render`, `core_block`.`config` AS `config`, `core_block`.`type` AS `type`, `core_block`.`content` AS `content`, `core_block`.`cache_ttl` AS `cache_ttl`, `core_block`.`cache_level` AS `cache_level`, `core_block`.`title_hidden` AS `title_hidden`, `core_block`.`body_fullsize` AS `body_fullsize`, `core_block`.`active` AS `active`, `core_block`.`cloned` AS `cloned`, `core_block`.`class` AS `class`, `core_block`.`subline` AS `subline` FROM `core_block` WHERE `name` = :where1
params: [where1] search-search;
07:25:26.5182
[0.0002]
query: SELECT `core_session`.* FROM `core_session` WHERE `id` = :where1
params: [where1] 4487ercd16o90d81n2mdvdblq5;
07:25:26.5191
[0.0614]
query: INSERT INTO `core_session` (`modified`, `data`, `id`, `lifetime`) VALUES (:modified, :data, :id, :lifetime)
params: [modified] 1534746326;[data] __ZF|a:3:{s:20:"_REQUEST_ACCESS_TIME";d:1534746326.405196;s:6:"_VALID";a:1:{s:36:"Zend\Session\Validator\HttpUserAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";}s:33:"Zend_Validator_Csrf_salt_security";a:1:{s:6:"EXPIRE";i:1534746626;}}PI_USER|a:2:{s:5:"field";a:3:{s:2:"id";i:0;s:8:"identity";s:0:"";s:4:"name";s:5:"Guest";}s:4:"time";i:1534746626;}Zend_Validator_Csrf_salt_security|C:23:"Zend\Stdlib\ArrayObject":391:{a:4:{s:7:"storage";a:2:{s:9:"tokenList";a:1:{s:32:"1a29090620fbd578fe5938fafcac177d";s:32:"8ac1304259b4003a2b2f5d4d8d20b43d";}s:4:"hash";s:65:"8ac1304259b4003a2b2f5d4d8d20b43d-1a29090620fbd578fe5938fafcac177d";}s:4:"flag";i:2;s:13:"iteratorClass";s:13:"ArrayIterator";s:19:"protectedProperties";a:4:{i:0;s:7:"storage";i:1;s:4:"flag";i:2;s:13:"iteratorClass";i:3;s:19:"protectedProperties";}}}FlashMessenger|C:23:"Zend\Stdlib\ArrayObject":205:{a:4:{s:7:"storage";a:0:{}s:4:"flag";i:2;s:13:"iteratorClass";s:13:"ArrayIterator";s:19:"protectedProperties";a:4:{i:0;s:7:"storage";i:1;s:4:"flag";i:2;s:13:"iteratorClass";i:3;s:19:"protectedProperties";}}};[id] 4487ercd16o90d81n2mdvdblq5;[lifetime] 1440;
system
Execution time
0.2977 s
Included files
523 files
Memory usage
4397016; peak: 4595728 bytes
OS
Linux
Web Server
Apache/2
PHP Version
7.0.31
Pi Environment
2.6.0-alpha development
Zend Version
2.4.11
Persist Engine
memcached
Cache Storage
Pi\Cache\Storage\Adapter\Filesystem
Module
system
Theme
default
Extensions
APC: ; Intl; cURL