Action Helpers in Zend Framework
Action Helpers in Zend Framework are often considered a fairly arcane subject, something for experts only. However, they are meant to be an easy way to extend the capabilities of Action Controllers, negating the need to creat...
|Conform your JSON to ECMAScript 4 with JCON|
type.contains?([?a?, 1]) # => true
type.contains?([?a?, ?b?]) # => false
type.contains?([?a?, 1, 2]) # => true
// via RSpec
In other JSON news, it appears that new ECMAScript standard will no longer reserve the words:
abstract boolean byte char double final float implements int interface long native package private protected public short static synchronized throws transient volatile
And Douglas Crockford says that no browsers reserve them, and thus he is unreserving them from jsLint.
Read more at: http://feeds.feedburner.com/~r/ajaxian/~3/272812356/conform-your-json-to-ecmascript-4-with-jcon.
|< Prev||Next >|