자바스크립트 라이브러리 Compact DOM

4145 단어

Vladimir Kheifets / Javascript-library-Compact DOM


라이브러리는 DOM 요소에 액세스하는 데 도움이 되며, 요소의 속성 및 콘텐츠에 액세스하고 요소를 조작할 수 있는 기능을 제공합니다.






Java Script library CompactDOM
Version: 1.2.2, 2021-04-08
Author: Vladimir Kheifets ([email protected])
Copyright (c) 2021 Vladimir Kheifets All Rights Reserved

    
The library helps to access the DOM elements,provides the ability 
to access the attributes and content of elements and manipulate elements.

Browser support: 
Chrome 4.0, Internet Explorer 9.0, Edge,Firefox 3.5, Safari 3.2, Opera 10.0

Size of the current version (file CompactDOM.min.js) 7.5Kb

Demo:
https://www.alto-booking.com/demo/github/CompactDOM/
https://www.alto-booking.com/demo/github/CaesarCipher/

After loading the library, the following syntax construction (Backus-Naur-Form) becomes available:

_(<selector>).<method>([<parameter>[, <parameter>[, ... <parameter>]]])[.<property>];

<selector> :: = <null> | <object element DOM> | <string CSS Selector>

Attention!
In some cases, when calling a method, it is allowed not to specify a selector (null) and instead
of opening and closing parentheses, you can write one underscore character.
_().<metod>(...) equivalent to:  __.<metod>(...)
If <selector> defines an HTMLCollection object, then all methods marked with (*) 
are applied for array-like list (collection) of HTML elements.

<method> :: = "attribute"|"change"|"checked"|"class"|"click"|"content"|"create"|display"|

The CompactDOM script is applied here:

블라디미르키페츠 / PHP 클래스 카이사르 암호

이 클래스는 다양한 언어로 된 텍스트의 통계 분석, "Caesar Cipher" 알고리즘을 사용하는 텍스트의 암호화 및 암호 해독을 위한 것입니다.

PHP class CaesarCipher

Version: 1.2, 2021-04-01

Author: Vladimir Kheifets ([email protected])

Copyright (c) 2021 Vladimir Kheifets All Rights Reserved

The class is intended for the statistical analysis of texts in various languages encryption and decryption of texts using the "Caesar Cipher" algorithm.

Demo https://www.alto-booking.com/demo/github/CaesarCipher/

$CaesarСipher = new CaesarCipher (array | null $alphabet_frequency, int | null $min_frequency);

"alphabet_frequency", array, an array in which keys, string, alphabet character values, character frequency in% (statistical estimation of character recurrence frequency in texts)

For example, for the alphabet of Latin language (obtained by the GetCharacterFrequency method, see section 5 below)

Array (

[] => 15.134

[a] => 8.104

[b] => 1.502

[c] => 3.341

[d] => 2.161

[e] => 9.741

[f] => 0.817

[g] => 0.919

[h] => 0.493

[i] => 9.91

[k] => 0.004

[l] => 2.937

[m] => 4.654

[n] => 4.936

[o] => 4.612

[p] => 2.549

[q] => 1.532

[r]


View on GitHub

좋은 웹페이지 즐겨찾기