Skip to content

ascoos/afw

Repository files navigation

Ascoos Cms

ASCOOS Framework

GitHub Downloads (all assets, all releases) GitHub Release GitHub Release Date GitHub repo size Ascoos Framework 24 - total lines Ascoos Framework 24 - source code lines Ascoos Framework 24 - files in repository

Description

This package is a very small part of the Ascoos Cms custom core for use with PHP 8.2 or later.

Ascoos Cms 24 consists of several core code blocks, one of which is the Ascoos Framework 24, as well as phpBCL.

In older versions, the Ascoos Framework was integrated into the Ascoos Cms core, but in the new version 24 it becomes independent and is now one of the many main components of the Cms core.

In the modern way of programming, the ability of a core code to be modular, gives it the ability to adapt to modern methods and requirements. Ascoos Cms has had this to a large extent in its core since the first releases in the distant 2008. In 2010 it was almost a complete modular core code block. Now, the new version 24 is now coming to create new data in its modular core.

Version 24 only works on PHP 8.2 or later, as the core has been redesigned from the ground up to support modern programming methods and features.

Part of the Ascoos Framework, it is provided as source code to make it easier for Web Developers to understand how to write the extensions they will create for Ascoos Cms.


SOURCEFORGE

Download ascoos-framework Download ascoos-framework Download ascoos-framework Download ascoos-framework

Download Ascoos Framework 24'


Awards

No Exists now


Contributing

Ascoos Cms, of which this Ascoos Framework is a part, contains encrypted source code, but a small part of it is given as source code for educational purposes.

Contributions are welcome github

Feedback

Please send any feedback or suggestions to @ascoos (Twitter) or create an issue on Ascoos Official site.

License

AGL-F


Download

OFFICIAL ASCOOS DOWNLOAD SITE Download Ascoos Framework 24 from GitHub Download Ascoos Framework 24 from PHPClasses



Installation and use

  1. Download latest release
  2. Unzip package in your root working directory
  3. Add in index.php or master php file the below code :
$path = '[YOUR SITE PATH]';
include $path . '/afw/autoload.php';



Ascoos Framework Namespace

    namespace ASCOOS\FRAMEWORK;

use...

    use ASCOOS\FRAMEWORK\Kernel\Core\TObject;


Core File : coreKernel.php

The file contains the basic parent classes of the Ascoos Framework.

Namespace

namespace ASCOOS\FRAMEWORK\Kernel\Core;
Ascoos
Version
TYPE NAME DESCRIPTION
24.0.0 Class TError Implements the error management class.
24.0.0 Interface TCoreHandler Stringable Interface Class
24.0.0 Class TObject The base class on which all classes in the framework are based.


Disks Handler File : coreDisks.php

It contains the implementation of support and management of disks, files, and folders.

Namespace

namespace ASCOOS\FRAMEWORK\Kernel\Disks;

use...

use ASCOOS\FRAMEWORK\Kernel\Disks\TDriveInfo;
Ascoos
Version
TYPE NAME DESCRIPTION
24.0.0 Class TDriveInfo Information about Drives, such as size, usable and free space, etc.


Functions File : coreFunctions.php

This file implements several global functions that are either used by other framework code or created for user use.

Ascoos
Version
TYPE NAME DESCRIPTION
24.0.0 Function formatBytes Returns the size of bytes in a formatted string e.g. 20.4 KB, 230.2 MB, 20.5 GB, etc.
24.0.0 Function vn Returns the name of a variable as a string. Otherwise it returns false