PHP Classes

File: README-EL.md

Recommend this page to a friend!
  Packages of Christos Drogidis   Ascoos OS   README-EL.md   Download  
File: README-EL.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Ascoos OS
A PHP Web 5.0 Kernel for decentralized web and IoT
Author: By
Last change: 1.0.0-alpha33-development
1.0.0-alpha33-development
Date: 11 days ago
Size: 23,699 bytes
 

Contents

Class file image Download

Ascoos OS - ??????? PHP Web 5.0 ??? WebAI ???????

????? ?????? ??? Ascoos OS, ???? ???????????? PHP ?????? ??? ?????? ?? Web 5.0 ???? ?????????????? ??? ????????? ?? ?? WebAI!

Ascoos

?????????? ????? ?????? AGL Ascoos OS ????????? ?? Ascoos OS ????? ??? ???????? ??????????

??????? ????????????

??????????

?? ~1500 ???????????????? ??????? (???? ????? ??? 2028), ?? Ascoos OS ?????? Frameworks, CMS, IoT, ??? ?????????????? ?????????, ???????????? ????????, ??????????????????, ??? ?????????? ?????????????.

??????????? ??? ??????????????????? ?? ?????? ??? ??????????!

?????

?????????????????? ??? ????????? web ?? ??? ???????, ???????, AI-?????????? ?????? PHP.

??? ?? ?? ??????;

?? Ascoos OS ????????? ????? ??? ????????, ???????? ??? ????? ????????? ??? ??????? ?????.

??????, ??????????? ???? ???????!

????? ??? ????? ??????? ??? ?? ?????? ?? ??????? ??????? ??? ??? ?????? ??? ???? ?? Web 5.0 ??? ?? WebAI.

????????????????? ??? Ascoos Web Extended Studio 26 Pro: SourceForge Downloads

??????????

  • ??????????? ??? ??????????: ????? ?? ????????, ??? ????? ???????, ??? ?? Case Studies.
  • ????? ???????????? ??????: ?????? ?????? ?? ???????????? ??? case studies ??? ?????? /examples/.
  • ?????? ??? ??? ??????? ?? ?? Web 5.0: ?? Web 5.0 ????????? ??? ??????? ??? Web 2.0 ?? ??? ??????????? ??? Web 3.0, ????? ??? ????????????? blockchain. ?? ?????????????? ?????????? (DIDs) ??? ??????? ??????????? (DWNs), ?? Ascoos OS ???????? ???? ?? ????? ???? ??? ??????????? CiC (Cms-in-Cms). ?????? ??????????? ??? "? ?????????? CiC: Cross-Interpreter Communication ? ? ????????? ?????????? ??? Web 5.0".
  • ?????? ??? ??? ??????? ?? ?? WebAI: ?? WebAI ????? ??? ????????????? ???? ? ????? ? ????? ?????????? ?? ??? ?????? ????????, ??? ??? ?? ??? ??????? ????????? ???????? ??????????.

??????????????

PHP IoT AI Static Badge WebSocket HTTP/3 GUI

  • ???????? ??????? ???????????? ??????? ??????
  • ????????????? web ??? ?????????? torrent.
  • ?????????? ?????????? ??????? ??? ??????????.
  • ?????????? IoT (Arduino, Raspberry Pi).
  • ???????? ??????????? ???????? ?????????? (AI), ???????????? ??????? ??????? (NLP) ??? ?????????? ??????? (NeuralNet).
  • JSQLDB: ???? ????????? JSON. ??? ???????? ???? ????????? JSON SQL ????????????? ???? ???????? ??? ?? ?????? PHP SQL ?????????.
  • JML: JSON-style Markup Language. ??? ??????, ?????????? format markup ??????????? ??? JSON ??? DSLs.
  • WIC: ??????? ????? ????????? ???????.
  • jAscoos & BootLib: ??????? JavaScript ??? UI.
  • LibIn: ?????????? ???????????. ???????? ??????? ???????????? ??????????? ??????
  • Macro Engine: ??????????????? ??????? ???????.
  • ASS (Ascoos Security System): ??????????? ????????.
  • DoBu (Documentation Builder): Documentation DSL ??????????? ??? ?? JML, ??? ???????????? docblocks.

Ascoos Web Extended Studio

?????????? ??????????

  • PHP 8.4+ ?? extensions: IonCube loaders, JSON, cURL.
  • ???????????? ?????? ?????????: MariaDB 12+ ? JSQLDB 1.0+.
  • Web Server: Apache 2.4+.
  • ???????????? ?????: 512MB+ RAM.

> ?????? ? ?????????? ?????? ??? ??? ??????? ??? ?????? ??? Ascoos OS ????? ???????? ??? ??? ?????????? ?? 20-30MB, ????????? ??????????? ???????? ????? ?????????? 512 MBytes ??? ??? ?????????????? ???????? ??? scripts ???.

?????? ??????????? (LTS)

| ?????? | ??????? ?????????? | ?????????? ????????? | ?????????? ????????? | PHP | |--------|--------------------|----------------------|----------------------|-----------| | 1.0.0 | Q1 2028 | Q4 2032 | Q4 2034 | 8.4 ? 9.x |

???????????

Namespace

use ASCOOS\OS\...;

?????? ????????????

  • ????????? ?? ???????? ??????, ????? ??? ?????? ?????? ??? ?????????, ??? ??? ??????? ?????????? ??? ?????????.
  • ????????? ?? ???????????? ?????? ?????????? ???? ??? root ???
  • ??? ??? ?????????? ????? ????? ????????:

    1. ?? Prepend Autoload: ??? ????? ???????? ??? php.ini ??????????? ??? ?????? auto_prepend_file ?? ??? ????????? ?????? ???? ?? ???????? ???????? ?? ascoos OS ?? ???? ?????? ???.
      auto_prepend_file ="/path/aos/autoload.php"
    
    2. ?? spl_autoload: ???????? ?? ????????? ???????? ?? Ascoos OS ?? ????? ??? ??????????? SPL.
    
    spl_autoload_extensions('/path/aos/autoload.php'); spl_autoload_register();
    3. ?? require_once: ???????? ?? ????????? ?? Ascoos OS ???? ??? ?????? ??? php ??????????????? ??? php function "require_once".
    
    require_once "/path/aos/autoload.php";

    ---

?????????? ???????????? ??????? ??????

?? Ascoos OS ???? ??? ????? ????????? ???????: ??? ?????? ?????? ??? ??? ????????????. ?? ?????? ??????????? ???????? ???? ??? ???????? ??? Ascoos OS ??? ?? ???????? ??????????? ??????????? ?? ????? ??? ???????? ??? ??? ??????? ??? ??????.

??? ??? ?????????? ????? ??? ???????????, ????????????? ??? Ascoos OS ??? ????????? ????????, ?? Extras Classes Manager (????? screenshot), ???? ??? ?????? ??????? ???????? ? ??????? ??? ??????? ?????.

ASCOOS OS

????????? ????????? ??? ??????? ??????

Ascoos Web Extended Studio

? AlexSoft ????????? ??? ??????? ?????? ??? Windows 64Bit ???????? ????????? ???? ?? ???????? ??????????, ?? ?????????? ??? ?? ??????????????? ??? ?????? ???.

*????????? ?? Ascoos Web Extended Studio*.

> ???????!!! ??? ?????????????? XAMPP/WAMP ? ?????? ???? ?????????? ?????????, ???? ?????????? ???? servers ?? ?????? ?? ??????????? ??? ?? ?????????? ??? ?? Windows Services ???? servers, ????? ?????? ?? ???????? ?????????.

???? Ascoos Web Extended Studio

Ascoos Web Extended Studio - ????????? ???????? ??????????? ????????? SourceForge

Ascoos Web Extended Studio

????????????? ??? ???????

?? Ascoos OS ???????? ????????????? ??????? ?????????????? (TDebugHandler) ??? ??????? (TTestHandler).

??? ??? ???????????? ??? ??? ??????? ???, ??? ?? ??????????? ?????? ???? ?????? ??????? ? ??????????????.

// ??????? properties
$properties = [
    'logs' => [
        'useLogger' => true,
        'dir' => $AOS_LOGS_PATH . '/',
        'file' => 'test_handler.log',
        'level' => DebugLevel::Info
    ],
    'lang' => 'el-GR',
    'debug' => [
        'precision' => 4,
        'log_threshold' => DebugLevel::Info
    ]
];

$testHandler = new TTestHandler($properties);

// ??????? ????????????
$object = new TObject();
$testHandler->checkObject($object, true); // ?????? ?? ?????????? ??? ?? ??????????? ????? ??????

// ??????? ??????
$testHandler->checkClass('ASCOOS\OS\Kernel\Core\TObject', true); // ?????? ?? ?????????? ??? ? ????? ???????

// ???????? ??????? ?? ????????????
$result = $testHandler->executeMethodWithTiming($object, 'getClassMetadata', [], true);
print_r($result); // ????????? ??????????, ????? ?????????, ?????????? ??????????

?????? ??????

???? ?????, ???? ???????, ??????? ??? ??????????? ??????? ??? ?? ???????????? ??? ?????? ?? ??????? ??????? ??? ??? ?????????? ??? Ascoos OS.

$char_a_ring_nfd = "a\xCC\x8A";  // 'LATIN SMALL LETTER A WITH RING ABOVE' (U+00E5) normalization form "D"
$char_o_diaeresis_nfd = "o\xCC\x88"; // 'LATIN SMALL LETTER O WITH DIAERESIS' (U+00F6) normalization form "D"
$char_O_diaeresis_nfd = "O\xCC\x88"; // 'LATIN CAPITAL LETTER O WITH DIAERESIS' (U+00D6) normalization form "D"

$test = new TTestHandler(
    properties: [
        'titleTest' => 'TUTF8::grapheme_stripos()', 
        'subtitle' => '<code>Grapheme stripos</code>, without Intl Extension', 
        'desc' => 'Returns the position (in grapheme units) of the first occurrence of $needle in $haystack, starting from $offset graphemes.<br> Returns false if not found.'
    ]
);

$test->runTest(
    '$utf8->grapheme_stripos("a\xCC\x8Aa\xCC\x8Ao\xCC\x88", "O\xCC\x88"); // a?a?o?, O?',
    $utf8->grapheme_stripos( $char_a_ring_nfd . $char_a_ring_nfd . $char_o_diaeresis_nfd, $char_O_diaeresis_nfd) === 2,
    2,
    $utf8->grapheme_stripos( $char_a_ring_nfd . $char_a_ring_nfd . $char_o_diaeresis_nfd, $char_O_diaeresis_nfd),
    'Example with test condition.'
);

Ascoos OS Testing

??????? ???????

??? ?????? ??????? ???????????????? ????????. ???????? ?? ????? ?? ???????????? ??? ??????? ?????? ???????? ????????.

Ascoos OS Stress Test

?????????? DoBu

?? Ascoos OS ???????????? ?? ??????? ?????????? ??? ??? ??????? DSL ??????????? ?? ??? ???????? DoBu.

????? docblocks ???? ?? /.../ ????????? ??? JML.

????? ???????????????? ??????????? ???? ??? ?????????? ??????? ??????????? ??? ???????? ?? ??????? ?????? ????????. ???? ??? ?????????? ??????????? ??????????? ??? ????? agnostic metakeys docblock.

??????????? dockblock ???:

  • ?? ?????? ?? ??? ????? ? ?? ?????? ?????????????
  • ??? ?????
  • ???? ?????? ? function
  • ???????????
  • ??????????????? ??????
  • ??????????
  • ????????????? ??????????
  • ??????????? ?????????
  • ??? ???? ?????.

?????????? ??????????? DoBu ??? ??? ??????????? ???? ???????

/*
dobu {
    file:id(`1`),name(`create-my-project`) {
        ascoos {
            logo {`
                  __ _  ___  ___ ___   ___   ___     ___   ___
                 / _V |/  / / __/ _ \ / _ \ /  /    / _ \ /  /
                | (_| |\  \| (_| (_) | (_) |\  \   | (_) |\  \
                 \__,_|/__/ \___\___/ \___/ /__/    \___/ /__/
            `},
            name {`ASCOOS OS`},
            version {`1.0.0`},
            category {`Web OS`},
            subcategory {`Web5 / WebAI`},
            description {`A Web 5.0 and Web AI Kernel for decentralized web and IoT applications`},
            creator {`Drogidis Christos`},
            site {`https://www.ascoos.com`},
            issues {`https://issues.ascoos.com`},
            support {`support@ascoos.com`},
            license {`[Commercial] http://docs.ascoos.com/lics/ascoos/AGL.html`},
            copyright {`Copyright (c) 2007 - 2026, AlexSoft Software.`}
        },
        project {
            package:langs {
                en {`DoBu code sample`},
                el {`?????? ?????? DoBu`}
            },
            subpackage:langs {
                en {`DoBu code sample for classes and methods`},
                el {`?????? ?????? DoBu ??? ??????? ??? ????????`}
            },
            category:langs {
                en {`Examples`},
                el {`????????????`}
            },
            subcategory:langs {
                en {`DoBu for classes`},
                el {`DoBu ??? ???????`}
            },
            source {`examples/create-dobu-class.php`},
            description:langs {
                en {`This file is a complete example of docblock writing and DoBu structure.`},
                el {`?? ?????? ???? ???????? ??? ???????????? ?????????? ???????? docblock, ????? DoBu`}
            },
            fileNo {`1`},
            version {`1.0.0`},
            build {`1`},
            created {`2026-02-12 09:25:03`},
            updated {`2026-02-12 09:51:43`},
            author {`Author Name`},
            authorSite {`https://www.example.com`},
            support {`support@example.com`},
            license {`MIT`},
            since {`1.0.0`},
            sincePHP {`8.4.0`}
        }
    }
}
*/

???????????? ??????

??????????? DNS (????? TNetwork)

declare(strict_types=1);
use ASCOOS\OS\Kernel\Net\TNetwork;

// ???????? ??????????? DNS
$objNetwork = new TNetwork();
$dnsInfo = $objNetwork->getDNSInfo();
echo "Primary DNS: " . $dnsInfo[0];
if(key_exists(1, $dnsInfo)) echo "<br>"."Secondary DNS: " . $dnsInfo[1] . "<br>";

// ????????????? ?? ???????????
$objNetwork->Free();
?>

????????? ???????? (????? TCollector)

declare(strict_types=1);
use Ascoos\OS\Kernel\Core\Collections\TCollector;

$collector = new TCollector();

echo "Number of registered types after initialization: " . count($collector->listTypes()) . "\n";

$collector->Free();

Case Studies

????? ??? ?? Ascoos OS ???????? ?? Web 5.0 ???? ??? ???????? ????????????, ???? ? ????????? Joomla ?? torrents, ? ????????????? IoT ??????????, ??? ? ??????????? ????. ??????????? ?? ??? Case Studies.

?????????

Ascoos OS: Forks Ascoos OS: Stars Ascoos OS: Watchers YouTube Channel Views X Follow

??????????

???????? & ???????????

?????????

???????? ???????????

??????????

????????? ???????

?????????? ??? ASCOOS OS

https://www.ascoos.com