Web development , php , ajax , symfony, framework, zend
In: web resources
4 Feb 2010Fan of Eiffel or the design by contract pattern that it espouses? Øyvind Kinsey is, and he just created jsContract an alpha library to give you some pre and post condition abilities. Here is an example: PLAIN TEXT JAVASCRIPT: function _internalMethod(a, b){ Contract.expectNumber(a); Contract.expectNumber(b); Contract.expectWhen(config.mode === “divide”, b> [...]
This blog delivers stylish and dynamic news for designers and web-developers on all subjects of design, ranging from: CSS, Ajax, Javascript, web design, graphics, typography, advertising & much more. Our goal is to help you communicate effectively on the web with an engaging website or functional interface.