Ferreteria/v0.6/clade/IO/Aspect: Difference between revisions
< Ferreteria | v0.6 | clade | IO
Jump to navigation
Jump to search
(Created page with "{{page/clade}} {| style="border: solid 1px black; float: right;" ! colspan=3 | Clade Family |- | align=right | {{l/ver/clade|Aux|StandardBase}} | → {{l/ver/clade|IO|Aspect}} | → {{l/ver/clade|Sys/Data/Engine|Ops}} |- ! colspan=3 | Aliases |- | colspan=3 align=center | {| class="wikitable sortable" ! alias || clade |- | '''Base*''' || {{l/ver/clade|Aux|StandardBase}} (c,i) |} |}") |
(subspaces) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{page/clade | {{page/clade/v2 | ||
|fam= | |||
! | {{!}} align=right {{!}} <code>{{l/ver/clade|Aux|StandardBase}}</code> | ||
{{!}} align=center {{!}} ⇒ <code>{{l/ver/clade|IO|Aspect}}</code> ⇒ | |||
{{!}} align=left {{!}} | |||
<poem> | |||
<code>{{l/ver/clade/full|IO\Aspect|Connx}}</code> | |||
| | <code>{{l/ver/clade/full|IO\Aspect|Creds}}</code> | ||
<code>{{l/ver/clade/full|IO\Aspect|Host}}</code> | |||
| | <code>{{l/ver/clade/full|IO\Aspect|Socket}}</code> | ||
| | <code>{{l/ver/clade/full|Sys/Data/Engine|Ops}}</code> | ||
</poem> | |||
|alia= | |||
! | {{!-!}} '''Base*''' [c,i] {{!!}} <code>{{l/ver/clade|Aux|StandardBase}}</code> | ||
|} | }} | ||
==About== | |||
* '''Purpose''': probably unnecessary abstraction of a piece of an I/O connection | |||
==History== | |||
* '''{{fmt/date|2025|05|27}}''' created | |||
==Subspaces== | |||
* <code>[[/Connx/]]</code> | |||
* <code>[[/Creds/]]</code> | |||
* <code>[[/view/]]</code> | |||
==Functions== | |||
* <code>{{l/ver/fx|DescribeInline}}()</code>: not always needed by podling classes, so stubbed off here as a method-prompt (<code>{{l/ver/fx|PromptForMethod}}()</code>) | |||
==Code== | |||
''as of {{fmt/date|2025|10|22}}:'' | |||
{{fmt/php/block|1= | |||
interface iAspect extends BaseIface { | |||
// UI | |||
function DescribeInline() : string; | |||
} | |||
trait tAspect { // IMPLEMENTS iAspect | |||
// PROMPT | |||
public function DescribeInline() : string { return self::PromptForMethod(); } // sometimes not needed | |||
} | |||
abstract class caAspect extends BaseClass implements iAspect { | |||
use tAspect; | |||
} | |||
}} | |||
Latest revision as of 15:24, 8 December 2025
About
- Purpose: probably unnecessary abstraction of a piece of an I/O connection
History
Subspaces
Functions
DescribeInline(): not always needed by podling classes, so stubbed off here as a method-prompt (PromptForMethod())
Code
interface iAspect extends BaseIface {
// UI
function DescribeInline() : string;
}
trait tAspect { // IMPLEMENTS iAspect
// PROMPT
public function DescribeInline() : string { return self::PromptForMethod(); } // sometimes not needed
}
abstract class caAspect extends BaseClass implements iAspect {
use tAspect;
}