That's the overhead you incur when using PIE as a library.
To illustrate that PIE is now loaded, here are all the declared classes so far:
- Pie_Bootstrap
- Pie_Parameters
- Pie_Config
- Pie_Exception
- Pie_Exception_PhpError
- Db_Query
- Pie_Request
- Pie_Session
You can, of course, just reference any class and PIE will autoload it for you. So you can write your code as usual.
And here is the entire aggregated config:
$ => Array (3)
(
| ['pie'] => Array (13)
| (
| | ['defaultTimezone'] = String(16) America/New_York
| | ['handlersBeforeEvent'] => Array (6)
| | (
| | | ['pie/init'] => Array (2)
| | | (
| | | | [0] = String(19) pie/before/pie/init
| | | | [1] = String(21) users/before/pie/init
| | | )
| | | ['pie/tool/render'] => Array (1)
| | | (
| | | | [0] = String(22) pie/before/tool/render
| | | )
| | | ['pie/objects'] => Array (1)
| | | (
| | | | [0] = String(24) users/before/pie/objects
| | | )
| | | ['pie/redirect'] => Array (1)
| | | (
| | | | [0] = String(25) users/before/pie/redirect
| | | )
| | | ['pie/response/notices'] => Array (1)
| | | (
| | | | [0] = String(33) users/before/pie/response/notices
| | | )
| | | ['db/query/execute'] = String(10) temp_query
| | )
| | ['handlersAfterEvent'] => Array (5)
| | (
| | | ['pie/tool/render'] => Array (1)
| | | (
| | | | [0] = String(21) pie/after/tool/render
| | | )
| | | ['pie/reroute'] => Array (1)
| | | (
| | | | [0] = String(23) users/after/pie/reroute
| | | )
| | | ['pie/addScriptLines'] => Array (1)
| | | (
| | | | [0] = String(30) users/after/pie/addScriptLines
| | | )
| | | ['users/setEmailAddress'] => Array (1)
| | | (
| | | | [0] = String(33) users/after/users/setEmailAddress
| | | )
| | | ['users/setMobileNumber'] => Array (1)
| | | (
| | | | [0] = String(33) users/after/users/setMobileNumber
| | | )
| | )
| | ['routes'] => Array (4)
| | (
| | | [''] => Array (2)
| | | (
| | | | ['module'] = String(8) phpOnPie
| | | | ['action'] = String(5) about
| | | )
| | | ['plugins/users/$action'] => Array (1)
| | | (
| | | | ['module'] = String(5) users
| | | )
| | | ['$action'] => Array (1)
| | | (
| | | | ['module'] = String(8) phpOnPie
| | | )
| | | ['$action/$page'] => Array (1)
| | | (
| | | | ['module'] = String(8) phpOnPie
| | | )
| | )
| | ['exception'] => Array (2)
| | (
| | | ['showTrace'] = Boolean TRUE
| | | ['showFileAndLine'] = Boolean TRUE
| | )
| | ['slotNames'] => Array (4)
| | (
| | | ['title'] = NULL
| | | ['content'] = NULL
| | | ['dashboard'] = NULL
| | | ['notices'] = NULL
| | )
| | ['mobileSlotNames'] => Array (4)
| | (
| | | ['title'] = NULL
| | | ['content'] = NULL
| | | ['dashboard'] = NULL
| | | ['notices'] = NULL
| | )
| | ['app'] = String(8) phpOnPie
| | ['plugins'] => Array (2)
| | (
| | | [0] = String(5) users
| | | [1] = String(5) items
| | )
| | ['javascript'] => Array (1)
| | (
| | | ['uris'] => Array (2)
| | | (
| | | | [0] = String(14) phpOnPie/guide
| | | | [1] = String(18) phpOnPie/community
| | | )
| | )
| | ['web'] => Array (2)
| | (
| | | ['appRootUrl'] = String(19) http://phponpie.com
| | | ['controllerSuffix'] = String(0)
| | )
| | ['aliases'] => Array (1)
| | (
| | | [''] = String(35) /projects/wush.net/pie/phpOnPie/web
| | )
| | ['proxies'] => Array (1)
| | (
| | | ['https://phponpie.com/fast.php/facebook'] = String(32) http://apps.facebook.com/YOURAPP
| | )
| )
| ['users'] => Array (5)
| (
| | ['facebookApps'] => Array (1)
| | (
| | | ['APP NAME HERE'] => Array (6)
| | | (
| | | | ['appId'] = String(20) FACEBOOK APP ID HERE
| | | | ['name'] = String(22) FACEBOOK APP NAME HERE
| | | | ['url'] = String(32) http://apps.facebook.com/YOURAPP
| | | | ['apiKey'] = String(16) PUT API KEY HERE
| | | | ['secret'] = String(15) PUT SECRET HERE
| | | | ['subpath'] = String(9) /facebook
| | | )
| | )
| | ['paths'] => Array (1)
| | (
| | | ['icons'] = String(17) files/users/icons
| | )
| | ['activationCodeExpires'] = Integer(5) 10080
| | ['activationEmailView'] = String(26) users/email/activation.php
| | ['activationEmailSubject'] = String(43) Welcome! Please confirm your email address.
| )
| ['db'] => Array (1)
| (
| | ['connections'] => Array (2)
| | (
| | | ['users'] => Array (5)
| | | (
| | | | ['prefix'] = String(6) users_
| | | | ['dsn'] = String(36) mysql:host=localhost;dbname=users_db
| | | | ['username'] = String(9) some_user
| | | | ['password'] = String(13) some_password
| | | | ['driver_options'] => Array (1)
| | | | (
| | | | | [3] (...)
| | | | )
| | | )
| | | ['dategame'] => Array (5)
| | | (
| | | | ['prefix'] = String(9) dategame_
| | | | ['dsn'] = String(39) mysql:host=localhost;dbname=dategame_db
| | | | ['username'] = String(9) some_user
| | | | ['password'] = String(13) some_password
| | | | ['driver_options'] => Array (1)
| | | | (
| | | | | [3] (...)
| | | | )
| | | )
| | )
| )
)