YAML 1.2 Ensconces and Envelopes JSON - hackety.org why さんより YAML ワーキングドラフト 1.2 のお知らせ。 YAML 1.2 の目玉は JSON との互換性が正式にサポートされていること。 JSON は YAML のサブセットという扱いになって,すなわち YAML 1.2 に対応すれば自動的に JSON 対応にもなるという美味しい話。 ところで, YAML って使ったことある? Ruby 界隈では比較的出番が多いのかな。個人的には,数年前に XML の代替物を探していたとき,はじめて YAML と出合った記憶がある。その頃はまだマイナーな存在で,サポートの弱さを理由に導入を見送ったんだ。今ならどうかな……。 それにしても,いつのまに XML はこんなにも冴えない存在になってしまったんだろう。 YAML は「human-rea
インストール コンパイルするにはlibyamlをあらかじめインストールする必要があります。以下の手順でlibyamlをインストールしてください(リスト6)。 リスト6 libyamlのインストール $ wget http://pyyaml.org/download/libyaml/yaml-0.0.1.tar.gz $ tar xzf yaml-0.0.1.tar.gz $ cd yaml-0.0.1/ $ ./configure $ make $ sudo make install 続いて、php_yamlを次の手順でインストールします(リスト7)。コンパイルする前に、こちらのパッチ[1]を適用してください。 リスト7 php_yamlのインストール $ wget http://www.opendogs.org/pub/php_yaml-0.3.0.tgz $ tar xzf p
Extending Yourself One of the things I like best about PHP, is its support for a diverse array of technologies and formats. Take, for instance, YAML. I've been using YAML for a while to manage configuration data for a Ruby-based application, but I recently needed to use it for a PHP-based project for the first time. Although PHP doesn't come with built-in support for this format, a quick Google s
A binding to the Syck library. YAML(tm) (rhymes with "camel") is a straightforward machine parsable data serialization format designed for human readability and interaction with scripting languages. YAML is optimized for data serialization, configuration settings, log files, Internet messaging and filtering.
そろそろポインタいじりにも飽きてきたので Pure LL な世界に戻ろうかと思う今日この頃です。 (pthread extension を書いてみようかと思ったこともあったけど、泥沼に嵌る予感がしたので中止) 思うところあって、Spyc と拙作の LibYAML エクステンションでベンチマークをとってみました。 テスト用スクリプト: <?php require_once 'Cache/Lite.php'; require_once 'spyc.php5'; dl('yaml.so'); $cache = new Cache_Lite(array('automaticSerialization' => true)); $id = 'yaml'; $file = 'piece-unity-config.yaml'; $t1b = microtime(true); $yaml1 = Spyc::
YAML was invented in April of 2001. Well it started then... It's still being invented at some levels. I happened to be one of the primary 3 guys who spent several years and countless email hours inventing it. JSON showed up on the scene around 2005(??). JSON didn't need so much inventing because it is a subset of JavaScript. JSON and YAML have a lot in common and also distinct differences, but I c
What is an iCloud Activation Lock?In 2014, a quirk was added to iOS7 by Apple that altered the way iPhone accounts were integrated into the software of the phone. This change was named iCloud Bypass Activation Lock. This new method made to iOS 7 (and carried through to iOS10, iOS11 and iOS 12) is that your iPhone, iPad, or Apple Watch is now locked to your personal iCloud, Apple account locked. It
Kwalify News (2010-07-18) 0.7.2 released (for Ruby) (2008-01-27) 0.7.1 released (for Ruby) (2008-01-27) 0.7.0 released (for Ruby) (2006-05-30) 0.6.0 released (for Ruby) (2005-12-20) 0.5.1 released (for Ruby and Java). (2005-12-17) 0.5.0 released. (2005-12-17) Kwalify for Java released. Introduction Kwalify is a parser, schema validator, and data binding tool for YAML and JSON. YAML and JSON are si
PHP 用 YAML パーサ spyc の結果をキャッシュする方法 2006-03-17-2: [PHP] <?php class CacheYAML { var $cache_dir; var $filename; var $cache_filename; function CacheYAML($cache_dir, $filename) { $this->cache_dir = $cache_dir; $this->filename = $filename; $this->cache_filename = $cache_dir . DIRECTORY_SEPARATOR . md5($filename); } function getData() { return $this->isCached() ? $this->load() : $this->store(); } functio
Notice: I am no longer maintaining JYaml. See this this Q&A for a list of alternatives. What is JYaml? JYaml is a Java library for working with the Yaml file format. What is Yaml? Yaml is a data serialization language that is well suited for structured data and yet simpler and more human-readable than XML. It is perfect for configuration files, initialization files, and other application specific
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く