Skip to content
Products
Docs
Pricing
Blog
Log In
Sign Up
Docs
Docs
Getting Started
On this page

Architecture

How UNA 15 is put together - the PHP core, apps, Studio, the JSON API, and the NEO and template frontends, plus caching, scaling, and security.
Android
iOS
Web
Core
Client
~15.0
Source
Copy Page
Note
{
    "status": 200,
    "module": "bx_posts",
    "method": "{method}",
    "params": [],
    "data": {},
    "hash": "{hash of the current API configuration}"
}
{
    "status": 400,
    "error": "{error message}",
    "data": "",
    "code": 400
}
Tip
bx_srv('system', 'is_module_profile', [$sModuleName]);
bx_srv('system', 'is_module_context', [$sModuleName]);
bx_srv('system', 'is_module_content', [$sModuleName]);
BxBaseModGeneralModule extends BxDolModule
BxBaseModTextModule extends BxBaseModGeneralModule implements iBxDolContentInfoService
BxBaseModFilesModule extends BxBaseModTextModule
BxBaseModProfileModule extends BxBaseModGeneralModule implements iBxDolContentInfoService, iBxDolProfileService
BxBaseModGroupsModule extends BxBaseModProfileModule
BxBaseModNotificationsModule extends BxBaseModGeneralModule
BxBaseModConnectModule extends BxBaseModGeneralModule
BxBaseModPaymentModule extends BxBaseModGeneralModule
BxBaseModTemplateModule extends BxBaseModGeneralModule
// In BxBaseServices: public function serviceIsModuleContent($mixedModule)
$bIsContent = bx_srv('system', 'is_module_content', ['bx_posts']);
bx_alert('bx_posts', 'add', $iPostId, $iProfileId, [
    'content' => $sContent,
    'title' => $sTitle,
    'module' => $this->_oConfig->getName(),
]);
6d
On this page
Layers at a glanceHow a request is handledPHP frontend (HTML)NEO and other API clients (JSON)Core, objects, and pluginsApps (modules)Inside a moduleAccounts and profilesServices and alertsService callsAlertsOverridesData, files, and background workCachingRunning more than one web serverSecurityDeveloper workflowTipsRelated
Introduction
Getting Started
License
Concepts
Architecture
Requirements
Server configuration
Installation
Deployment
Releases
Upgrades
NEO
Glossary
Roadmap
Configuration
Apps
CODE
Auth
Connect
{
    "status": 200,
    "module": "bx_posts",
    "method": "{method}",
    "params": [],
    "data": {},
    "hash": "{hash of the current API configuration}"
}
BxBaseModGeneralModule extends BxDolModule
BxBaseModTextModule extends BxBaseModGeneralModule implements iBxDolContentInfoService
BxBaseModFilesModule extends BxBaseModTextModule
BxBaseModProfileModule extends BxBaseModGeneralModule implements iBxDolContentInfoService, iBxDolProfileService
BxBaseModGroupsModule extends BxBaseModProfileModule
BxBaseModNotificationsModule extends BxBaseModGeneralModule
BxBaseModConnectModule extends BxBaseModGeneralModule
BxBaseModPaymentModule extends BxBaseModGeneralModule
BxBaseModTemplateModule extends BxBaseModGeneralModule