Media Temple ProDev API

Media Temple也耐不住寂寞出API了,这年头不提供API的服务不是好服务。既然有API那就试试吧。登录帐号,获取api key以后便可以开始编程了。
需要注意的是尽管文档里有提全局的HTTP 请求headers里包含Authorization为api key用以访问api。但我发现使用header的形式并不能访问成功,实际的api key还是需要在URL里以参数的形式携带(API Query parameters)。
以下示例用以访问Get all service details接口。

记得是使用https链接(httplib.HTTPSConnection)。
相关资料:API文档(PDF)
-EOF-

与svn info等价的hg命令

在使用svn的时候经常用svn info查看当前目录是在哪个代码仓库中的,在使用hg的时候也有类似的需求,而hg是没有hg info命令的,但是有类似命令hg paths用于显示远程版本库列表,其中default为缺省库地址。

-EOF-

JavaScript 入门指南

这是一份JavaScript热身指南,主要是收集了一些JavaScript的优秀教程以及工具,希望对使用JavaScript的同学能够帮助。这份清单并针对初学者教学,阅读前需要一些JavaScript基础。

Advice

JavaScript Garden is a growing collection of documentation about the most quirky parts of the JavaScript programming language.

JavaScript Performance Best Practices This article gives good and valuable guidance for improving the JavaScript performance in Web Runtime. The article is a collection of guidelines from various sources.

Library & Framework

YUI Library The YUI Library is a set of utilities and controls, written with JavaScript and CSS, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX.

jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.

MooTools is a compact, modular, Object-Oriented JavaScript framework designed for the intermediate to advanced JavaScript developer.

Dojo saves you time, delivers powerful performance, and scales with your development process. It’s the toolkit experienced developers turn to for building superior desktop and mobile web experiences.

{{ mustache }} Logic-less templates.

Tools

JsDoc Toolkit is an application, written in JavaScript, for automatically generating template-formatted, multi-page HTML (or XML, JSON, or any other text-based) documentation from commented JavaScript source code.

jsPerf — JavaScript performance playground

Information

ARE WE FAST YET?

未完待续…

Last Updated:2011/04/09 13:09
-EOF-