Re: [development] Generate Drupal code from (textfile) specs
Quoting Matt Farina <matt@mattfarina.com>:
Why not YAML?
One reason is readability.
I find this just as readable as
Compare: <user id="babooey" on="cpu1"> <firstname>Bob</firstname> <lastname>Abooey</lastname> <department>adv</department> <cell>555-1212</cell> <address password="xxxx">ahunter@example1.com</address> <address password="xxxx">babooey@example2.com</address> </user>
this with advantage that I know when the data ends for user and the advantage that PHP can parse it without extra modules.
To: babooey: computer: cpu1 firstname: Bob lastname: Abooey cell: 555-1212 addresses: - address: babooey@example1.com password: xxxx - address: babooey@example2.com password: xxxx
Matt
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
participants (2)
-
Earnie Boyd -
Matt Farina