 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Lukas Smith's Blog: YAML and PHP
by Chris Cornutt May 26, 2008 @ 13:04:58
In this new post from Lukas Smith he talks about YAML, that handy data storage format and the two methods for its use in PHP (and why he's stuck with one of them).
If you use YAML in PHP, then you had until recently the choice between the C based PECL extension syck or the horrible spyc PHP based implementation. With syck it has the issue that it only supports the core standard and not stuff like merge-key, which is a very very useful extension to the core YAML standard.
He also points out another implementation that the Symfony framework has created - one built around regular expressions (slower, but a "more correct" version).
voice your opinion now!
yaml language extension spyc syck
Padraic Brady's Blog: Zend_Yaml; Gone the way of the Dodo...
by Chris Cornutt February 04, 2008 @ 13:43:00
In filtering through the mass of projects that he's collected around him, Padraic Brady has decided to cut one loose - the Zend Framework package he'd been developing to introduce YAML parsing and functionality to the framework.
I've been going through all those open source projects and cutting the dead weight. [...] One of the victims of this review has been Zend_Yaml. Earlier this morning I found an odd comment on the Zend_Translate_Yaml proposal by Thomas Weidner that he was erasing his proposal on the basis that there had been no progress on Zend_Yaml.
He's removed the proposal from the Zend Framework proposal pages after receiving an email noting that the package would not comply fully to the YAML 1.1 specification and couldn't be included. With the introduction of the Syck extension into PECL, it could support it but Padraic opted to just tell the ZF group about this functionality rather than working on the build himself.
voice your opinion now!
zendyaml yaml zendframework proposal syck pecl
Zend Developer Zone: Using YAML With PHP and PECL
by Chris Cornutt October 02, 2007 @ 07:54:56
The Zend Developer Zone has a new article today by Vikrim Vaswani covering the use of YAML (Yet Another Markup Language) with PHP via the PECL packages that support it.
If you've ever encountered the same need, or if you're just curious about the YAML format and how it can be used with PHP, then today is your lucky day. Over the next few pages, I'm going to give you a crash course in YAML and in PHP's ext/syck extension, showing you how it can be used to efficiently translate data structures from PHP to YAML, and vice-versa. Come on in, and let's get started!
The tutorial starts with an example of a YAML file before getting into the application portion. He shows how to grab the Syck extension, install it, create a simple YAML file and create a configuration file (and parser) for a simple form application.
voice your opinion now!
yaml pecl tutorial syck markup language yaml pecl tutorial syck markup language
|
Community Events
Don't see your event here? Let us know!
|