XML 的个人食谱

其实是为了解决每天做什么饭的结果。

一开始想要用关系数据,不过发现首先你要有个数据库软件,然后发现就纠结了,表达复杂情况的能力大大下降……

所以回归了老本行裸写 xml。想要表达二选一这种情况只要想写都很简单。还保留一点用 xslt 渲染的余地,如果哪天想要公开的话。

不过最后还是偷懒了暂且写了 1-to-n 的(菜式-to-原料)。先一点点积攒着内容好了,一口气都写完之前一定就会厌倦了。

装了个 xqilla 写 xquery,虽然还没实际用上,不过满足感已经爆棚。

This entry was posted in 日志 and tagged , . Bookmark the permalink.

One Response to XML 的个人食谱

  1. 右京样一 says:
    Google Chrome 38.0.2125.101 GNU/Linux x64

    居然需要用软件来解决吃什么的问题,看来学天仁兄绝对是美食家……

    [Reply]

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).

This site uses Akismet to reduce spam. Learn how your comment data is processed.