Jens Arps

  • HOME
  • About

Posts Tagged ‘ string ’

More fun with strings: dojo.string.contains()

  • November 29th, 2009
  • Posted in Dojo Love . Experiments in Web . Goodies to go
  • By Jens Arps

In the series “convenience wrappers for small tasks that increase code readability”, today contains() is starring. Having a contains() method could also serve another purpose: to maybe prevent people from using match() to find out if a string contains a given substring (what is still proposed in some JS tutorials out there…). So, I want [ READ MORE ]

dojo.string.beginsWith()

  • October 27th, 2009
  • Posted in Dojo Love . Goodies to go
  • By Jens Arps

Most cases where you find String.substr() in the wild are to check if a given string begins with a certain other string. Be it checking for a prefix or sorting out zipcodes that begin with certain numbers. And because code readability is a good thing (really, it is important), it would be nice to have [ READ MORE ]

Recent Posts

  • Encrypted client-side storage with dojo
  • Don’t use Cookies
  • Promises with dojo – a lightweight alternative to dojo.Deferred
  • Working with the Curve – Advanced Animation with Dojo
  • persistent local storage with dojo

Twitter

  • Just stored 1.4GB of data in Safari's Sqlite db. Makes me feel happy and confused at the same time. 2010/09/02
  • hehe, and there it is: RT @tobeytailor: iFrame - The whole Web in your Website. http://img.ly/1ZXb 2010/08/31
  • Gnihihi? RT @nonken: iFrames are also a lot cheaper than any of the other iThings btw. 2010/08/31
  • @cramforce keep in mind, though, that storage events and x-window messaging is not fully implemented in all current browsers. 2010/08/30
  • @tobeytailor know exactly what you mean :/ My dog never lost her fear of canes of any sort. But, u can give back joie de vivre. That counts. 2010/08/27

Tags

animation canvas client-side storage CommonJS configuration cookies dijit doctrine dojo dojox fun google jquery js local localStorage persistence php safari Storage string tracking widget

Categories

  • Browser Struggle
  • Dojo Love
  • Experiments in Web
  • Framework Peace
  • Goodies to go
  • How to
  • Storage

Archives

  • April 2010
  • February 2010
  • January 2010
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • Copyright © 2009 Jens Arps
  • Theme designed by mono-lab
  • Powerd by WordPress