NYCPHP Meetup

NYPHP.org

[nycphp-talk] YAML and Database Definitions

Gary Mort garyamort at gmail.com
Wed Feb 10 11:09:32 EST 2010


On Wed, Feb 10, 2010 at 10:58 AM, Ajai Khattri <ajai at bitblit.net> wrote:

> On Wed, 10 Feb 2010, Gary Mort wrote:
> > Oh well, score 0 for cross platform/language coolness.
>
> There is no standard for defining how to describe databases. YAML is
> simply a convenient format for use in config files for any
> language/framework).
>
>
> Sure there is, it's called SQL.  If you avoid functions that are not cross
platform, it's fairly easy to take SQL database creation scripts in one
platform and import them in another.

The benefit of XML or YAML would be that you can include those platform
specific features, and if your DB doesn't support it, it just ignores it and
leaves it to the application to implement if needed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20100210/a91fe12b/attachment.html>


More information about the talk mailing list