This Week In Web – Python, NodeJS CMS, Google APIs, XDebug

Posted on May 27, 2011

Writing Clean, Testable, High Quality Code in Python

Noah Gift, Python book author and Associate Director of Engineering at AT&T has written an article titled Writing Clean, Testable, High Quality Code in Python on IBM Developer Works. Gift primarily talks about good coding practices such as multiple small functions, test coverage and static analysis (with PyLint). Although all code in the article is Python, the lessons he teaches and topics he discusses can be applied to any dynamic language such as Javascript, PHP and Ruby. If you are relatively new to programming I recommend your read this article.

NodeJS Cheatsheet

The folks over at GoSquared have published a great NodeJS cheatsheet [pdf] [jpg].

Removal and Deprecation of some Google APIs

Following the standard deprecation period – often, as long as three years – some of the deprecated APIs will be shut down. The rest have no scheduled date for shutdown, but won’t get any new features. The policy for each deprecated API is specified in its documentation.

These APIs are now deprecated but have no scheduled shutdown date: Code Search API, Diacritize API, Feedburner APIs, Finance API, Power Meter API, Sidewiki API, Wave API
These APIs will be shut down as per their deprecation policies: Blog Search API, Books Data API and Books JavaScript API (not the new API), Image Search API, News Search API, Patent Search API, Safe Browsing API (v1 only), Translate API, Transliterate API, Video Search API, Virtual Keyboard API

Wherever possible, the documentation includes suggested alternatives designed to help you achieve similar functionality — whether it’s a new version or related offering. We hope these alternatives, along with lengthy deprecation periods, will help minimize the impact and allow us to focus on building great products together.

More info and links to APIs in the announcement.

XDebug PHP Talk

Talk given by Derick Rethans, developer of XDebug. It covers:

  • Getting up and running with XDebug
  • Interpreting XDebug output
  • Remote debugging, breakpoints
  • Finding bottlenecks

Calipso – NodeJS CMS

Calipso is an open source CMS project started by Clifton Cunningham. It runs on NodeJS and MongoDB and aims to be a high performance, extendible content publishing platform. Although usable, it is still in early stages of development and Cunningham is looking for more developers. The installation guide will help you get up and running with Calipso quickly and the module guide will give you an idea about the architecture of Calipso.

Leave a Reply

You must be logged in to post a comment.