Syck 0.9.2

I’ve just released syck for php 0.9.2 (a parser and emitter of YAML documents. If you don’t know anything about YAML and why it is good:check my previous posts on the subject). A lot of new and tasty features

First,and most important:a lot of stability and consistency fixes (previous release wasn’t . . . →Read More:Syck 0.9.2

syck vs. spyc (benchmarking)

Regarding syck vs. spyc debate which seems to appear again and again:

al_n @ [link]:

I re tested syck and it does make a BIG difference. I tested with a yaml file of about 200,000 lines which I killed after an hour while using spyc. The same file was loaded with syck in about 5 . . . →Read More:syck vs. spyc (benchmarking)

YAML,php,DevZone

Vikram Vaswani wrote an article for Zend Developer Zone about the Syck extension in PECL. That is,actually,a very nice introduction to YAML in PHP and I encourage everyone to look at it.

On the other hand,it reminds me,that I should release the new version…

. . . →Read More:YAML,php,DevZone

Syck for PHP,0.9.1 (aka “beta2″)

I posted an update to PECL package of Syck.

Changelog:

fixed handling of invalid merge-references [reported by Sascha Kettler] fixed tsrm-incompatibility introduced in 0.9 added support for timestamps in syck_load (thanks to Derick for a hint) added support for DateTime in syck_dump fixed dumping of associative-arrays

Update is highly recommended for everyone

. . . →Read More:Syck for PHP,0.9.1 (aka “beta2″)

DateTime vs numeric timezone

Is it possible to create DateTime object if I have some date string,and a numeric timezone value?

Something like:$timestamp = ’2007-07-07 07:07:07′;$timezone = ‘+0300′;

$obj = new DateTime($timestamp,new DateTimeZone(????));

I need this,to add proper support for YAML-timestamps in my syck extension.

In YAML,timestamps have several representations:

canonical:2001-12-15T02:59:43.1Z . . . →Read More:DateTime vs numeric timezone

Syck for PHP goes Beta (in PECL)

Here it is:new and shiny PECL package of Syck

This is an extension for reading and writing YAML-files.

YAMLâ„¢ (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.

YAML . . . →Read More:Syck for PHP goes Beta (in PECL)

YAML:Syck for PHP is not read-only anymore

One more good news for you,YAML-users. I’ve implemented emitter functionality in php-binding of syck library. It is quite straight-forward,no fancy stuff for now,but it should work

Supported datatypes:

associative arrays indexed arrays strings integers floats booleans null

Objects are simply ignored now,though I am planning to add support for them . . . →Read More:YAML:Syck for PHP is not read-only anymore

yaml talk

I gave a little talk at #php.thinktank today about YAML,php and my latest work in this regard. It happened a bit of spontaneously,so noone was invited. It was my first try,to make introduction to yaml for php prgrammers,and if there is more interest I will give another talk which will cover . . . →Read More:yaml talk

PHP Syck,part 2

Yesterday I wrote about updating PHP’s YAML-parsing extension — Syck.

Some updates:

I believe,I fixed all memory leaks,it had (They were quite large,must tell you) Why (Syck’s author) told me,that there will be new release in a month or so,which will include my patches

Until then,I encourage you to . . . →Read More:PHP Syck,part 2

ionous — YAML

ionous has several very interesting YAML-related articles here

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna,tincidunt vitae molestie nec,molestie at mi. Nulla nulla lorem,suscipit in posuere in,interdum non magna.