News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Using YAML With PHP and PECL
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.

2 comments voice your opinion now!
yaml pecl tutorial syck markup language yaml pecl tutorial syck markup language

blog comments powered by Disqus

Similar Posts PHP and Regular Expressions 101

Gilles Mergoil: Laravel 4 on Google AppEngine for PHP

Developer Tutorials Blog: Building Web 2.0 Tag Clouds in PHP

DevShed: Working with Strings and the Composite Pattern in PHP 5 Base Converting and Binary Operators

Community Events

Don't see your event here?
Let us know!

interview community laravel install deployment series podcast introduction library list release language api tips framework voicesoftheelephpant bugfix opinion package symfony

All content copyright, 2014 :: - Powered by the Solar PHP Framework