Thoughts of Three
RSS

Abstracting click and tap events in PhoneGap using Backbone and CoffeeScript

By Jasper Kuperus On May 10, 2012 · Add Comment · In Backbone, CoffeeScript, JavaScript, PhoneGap, Zepto
CoffeeScript, PhoneGap and Backbone work quite well together for building cross-platform mobile apps using web technologies. CoffeeScript provides an elegant alternative to the JavaScript syntax, Backbone gives structure to your code and PhoneGap provides a bridge between the native smartphone platform and JavaScript. A big advantage of using these techniques is that you can simply [...]
[Continue Reading...]

Scala & Objectify4

By Jorrit Posthuma On April 21, 2012 · Add Comment · In Google App Engine, Objectify, Scala
From the very first moment I got to work with the Google App Engine, I used Objectify (2) as a thin but very helpful layer between our code and the Google Datastore. Since a few moths, they started working at version 4 (which is currently production ready, except for docs), which includes a fairly large [...]
[Continue Reading...]

Downloading iOS Beta Builds Or Other Large Files

By Thomas Visser On June 27, 2011 · Add Comment · In Tips and Tricks
It happened to me more than once. I (eagerly) start downloading new iOS beta builds from Apple’s developer site only to discover that my transfer got stuck half way the transfer. Downloading that > 3GB file all over again can be time and (if applicable) data-limit consuming. If you have the same problem and run [...]
[Continue Reading...]

(Updated) Google unveils full-text search on the App Engine

By Thomas Visser On May 12, 2011 · 3 Comments · In Google App Engine
The Google IO session I was looking forward to the most was definitely the one on full-text search (FTS). When I found out half a year ago that I’d have to write my own FTS engine in order to search through my data in a reasonable way, it felt ironic. Today, the search engine giant [...]
[Continue Reading...]

Defining Discriminator Maps at Child-level in Doctrine 2.0

By Jasper Kuperus On April 26, 2011 · 7 Comments · In Doctrine, PHP
Doctrine ORM 2.0 is a very powerful object-relation mapper for PHP 5.3.0+ which provides us with several powerful features. One of these features is the ability to define mappings using annotations in your model classes. When using inheritance, there are two types, Single Table Inheritance and Class Table Inheritance, for which you need to help Doctrine [...]
[Continue Reading...]

Implementing a sharded counter using Objectify

By Thomas Visser On March 29, 2011 · 5 Comments · In Google App Engine
According to Google’s documentation, entities in de Google App Engine datastore can be persisted approximately up to five times per second. If you try putting entities more frequently, the datastore will start throwing exceptions. You could run into this problem when you, for example, try to count page views or the number of comments, tweets, [...]
[Continue Reading...]

Creating a GWT RadioButtonCell

By Thomas Visser On February 14, 2011 · 18 Comments · In Google Web Toolkit
Often in a table view, you’ll want the user to be able to select multiple rows and execute an action on the selection. A CheckboxCell can be used to display a checkbox on each row, allowing the user to check or uncheck the boxes to modify the selection. Less often, you’ll want to present a number of options to the user of which he or she can pick only one row, for example, in the answer options table of a multiple-choice trivia application. This is where the RadioButtonCell comes in.
[Continue Reading...]

An introduction in GWT Data Presentation Widget Cells

By Thomas Visser On February 8, 2011 · 2 Comments · In Google Web Toolkit
GWT 2.1 brought us the new Data Presentation Widgets: a new, fast and easy way to present your data to the user. I immediately implemented them in a project I was working on as soon as they popped up in the GWT 2.1M1 release and have been using them since. At first they were quite buggy, but with every milestone the implementation improved and the final 2.1 release gave the confidence that Data Presentation Widgets, or Cell widgets, are the new way to go. Who needs FlexTables anymore?
[Continue Reading...]
  • Categories

    • Backbone
    • CoffeeScript
    • Doctrine
    • Google App Engine
    • Google Web Toolkit
    • JavaScript
    • Objectify
    • PhoneGap
    • PHP
    • Scala
    • Tips and Tricks
    • Zepto
  • Archives

    • May 2012
    • April 2012
    • June 2011
    • May 2011
    • April 2011
    • March 2011
    • February 2011
  • Calendar

    May 2012
    M T W T F S S
    « Apr    
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
  • Meta

    • Register
    • Log in
    • Entries (RSS)
    Build a website with PageLines