黑色壁纸 simile_使用SIMILE时间线库将时间线添加到DasBlog

黑色壁纸 simile

黑色壁纸 simile

I've been exploring recently the amazing Timeline Javascript library from the SIMILE folks over at MIT.

最近我一直在MIT的SIMILE团队中探索令人惊叹的Timeline Javascript库

What a joy to work with! I've not historically been a fan, by any means, of JavaScript. Of course, debugging it can be a hassle and the development process always feels very unstructured to me. Heh, probably a side-effect of the language, right?

一起工作真是一件乐事! 从历史上看,我从来都不是JavaScript的粉丝。 当然,调试可能会很麻烦,并且开发过程始终让我感到结构混乱。 呵呵,可能是这种语言的副作用吧?

Anyway, the API for the SIMILE Timeline is very well thought-out. It's very JavaScripty, to be clear, but it is even easier to pick up than the Google Maps API.

无论如何, SIMILE时间轴API是经过深思熟虑的。 需要说明的是,它非常具有JavaScript风格,但是比起Google Maps API来说,拾起起来甚至更加容易。

So easy, in fact, that I was able to add Timeline support to DasBlog over my lunch hour. Check it out at http://www.hanselman.com/blog/timeline.aspx. Try typing in the Highlight boxes, as shown in the screenshot above. Notice the highlighting in both bands of the timeline. I've checked the server-side TimelineHandler that creates the XML that Timelines consume into the head of the DasBlog tree.

事实上,它非常容易,我可以在午餐时间为DasBlog添加Timeline支持。 在http://www.hanselman.com/blog/timeline.aspx上进行检查。 尝试在“突出显示”框中键入内容,如上面的屏幕快照所示。 请注意时间轴两个波段中的突出显示。 我已经检查了服务器端TimelineHandler,该服务器创建了Timelines消耗到DasBlog树的头部的XML。

Also, take a look at their "Exhibit" project. Maybe Web 2.0 will turn out something useful after all! :)

另外,看看他们的“展览”项目。 也许Web 2.0终将成为有用的东西! :)

翻译自: https://www.hanselman.com/blog/adding-a-timeline-to-dasblog-with-the-simile-timeline-library

黑色壁纸 simile

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值