· Регистрация 
софт скрипты драйвера форумы блоги  
Пример: phpmyadmin
Скрипты
Новости
Обзоры
Статьи
Авторам
Скрипты Главная Модули Разное

Страница скрипта DBIx-Class-DigestColumns

DBIx-Class-DigestColumns

Class-DigestColumns - DBIx-Class-DigestColumns component can be used to automatically insert a message digest of selected columns.

  Описание скрипта   Комментарии (0)   Скриншоты (0)   Файлы (1)  
АвторGuillermo Roditi
СайтПерейти
Обновление11.06.2007, 05:09
НазваниеDBIx-Class-DigestColumns
ВерсияDBIx-Class-DigestColumns
ЯзыкиАнглийский
ЛицензияOpen Source License
Стоимость
СистемыWindows/Linux/Mac OS/BSD/Solaris
Размер?
Язык скриптаPerl
Рейтинг
Голосов: 1

Скачать бесплатно скрипт DBIx-Class-DigestColumns
Закачек: 0



Описание скрипта DBIx-Class-DigestColumns
This DBIx::Class component can be used to automatically insert a message digest of selected columns. By default DigestColumns will use Digest::MD5 to insert a 128-bit hexadecimal message digest of the column value.
The length of the inserted string will be 32 and it will only contain characters from this set: '0'..'9' and 'a'..'f'.
If you would like to use a specific digest module to create your message digest, you can set "digest_algorithm":
__PACKAGE__->digest_algorithm('SHA-1');
Options added to add_column
digest_check_method => $method_name
By using the digest_check_method attribute when you declare a column you can create a check method for that column. The check method accepts a plain text string, performs the correct digest on it and returns a boolean value indicating whether this method matches the currently_stored value.
METHODS
digestcolumns
Calls "digest_columns", "digest_algorithm", and "digest_encoding" and "digest_auto" if the corresponding argument is defined.
register_column
Override the original register_column to handle the creation of check methods.
digest_columns
Takes a list of columns to be convert to a message digest during insert.
__PACKAGE__->digest_columns(qw/ password /);
digest_algorithm
Takes the name of a digest algorithm to be used to calculate the message digest.
__PACKAGE__->digest_algorithm('SHA-1');
If a suitible digest module could not be loaded an exception will be thrown.
digest_algorithm defaults to "MD5".
digest_encoding
Selects the encoding to use for the message digest.
__PACKAGE__->digest_encoding('base64');
digest_encoding defaults to "hex".
_get_digest_string $value
Handles the actual encoding of column values into digests. When given a $value it will return the digest string for that value. This is the method used by "_digest_column_values" So you can use it to create an identical digest if you need one for comparison (e.g. password authentication).
_digest_column_values
Go through the columns and digest the values that need it.
This method is called by insert and update when automatic digests are turned on. If dirty is enabled it will only digest the values of dirtied columns.
digest_auto
__PACKAGE__->digest_auto(1);
Turns on and off automatic digest columns. When on, this feature makes all UPDATEs and INSERTs automatically insert a message digest of selected columns.
The default is for digest_auto is to be on.
digest_dirty
__PACKAGE__->digest_dirty(1);
Turns on and off the limiting of automatic digests to only dirty columns. When on, only columns that have been dirtied will have their values digested during UPDATEs and INSERTs. If auto is set to off this option does nothing.
The default is for digest_dirty is to be off to mantain compatibility with older versions of this module.
· Ключевые особенности и характеристики DBIx-Class-DigestColumns
Не определены
· Ограничения DBIx-Class-DigestColumns
Ограничения не определены
· Специальные требования DBIx-Class-DigestColumns
Специальные требования не определены
· История версий и изменений DBIx-Class-DigestColumns
История пуста
· Описание и дополнения от редакторов и пользователей сайта
Пока нет
Связанные статьи, обзоры и новости
Нет относящихся к скрипту статей и обзоров.

Другие скрипты от Guillermo Roditi
Больше не найдено скриптов этого автора.
     
Похожие скрипты

DBIx-FetchLoop 0.6
FetchLoop 0.6 - DBIx-FetchLoop is a supplemental approach for data retrieval with DBI.
Perl | 11.06.2007, 05:16 | ? | Open Source License | 1


DBIx Counter 0.03
DBIx Counter module creates and maintains named counters in a database.
Perl | 11.06.2007, 05:15 | ? | Open Source License | 0


DBIx DataModel 0.31
DBIx DataModel is a wrapper framework for building Perl abstractions (classes, objects and datastructures).
Perl | 11.06.2007, 05:15 | ? | Open Source License | 2


DBIx Class Loader ADO
DBIx Class Loader ADO module is an implementation of DBIx::Class::Loader::ADO.
Perl | 11.06.2007, 05:14 | ? | Open Source License | 0


DBIx-Class-HTMLWidget 0.09
Class-HTMLWidget 0.09 - DBIx-Class-HTMLWidget module is like Class::DBI::FromForm / Class::DBI::FromCGI but using HTML::Widget for form creation.
Perl | 11.06.2007, 05:12 | ? | Open Source License | 1

Разделы
Управление рекламойДоски объявленийПартнерские программыАукционыАутентификацияБлогиУправление закладкамиКалькуляторыКалендариВремя и датаЧатыОтслеживание кликовСредства коммуникацииУправление контентомПоддержка клиентовТикеты и прочееОперативная поддержкаСредства баз данныхСредства разработкиЭлектронная коммерцияПочтовые системыFAQ и базы знанийУправление файламиКомпоненты FlashПроцессоры формФормы и управлениеИгрыГрафика и мультимедиаГостевые книгиИнтернет и браузерыИндексация ссылокСписки рассылкиЗнакомстваМодулиДля Joomla / MamboДругие модулиРасширения PHP-NukeМодули PerlМодули PostNukeМодули PythonМодули XoopsРасширения osCommerceМодули phpBBМодули phpShopМодули phpWebSiteРазноеМногоуровневый маркетингСетевые средстваПубликация новостейОрганайзерыКлассы PHPОпросы и голосованияПортальные системыМетоды и алгоритмыВикториныСистемы недвижемостиНаука и техникаПоисковые механизмыСистемы безопасностиУправление серверомСнипплетыУправление текстомТопы сайтовWYSIWYG РедакторыСредства Web-хостингаАнализ трафикаWiki - ВикиРазное