• Adam Mark's picture
    Adam Mark on April 9, 2012

    Here's a quick introduction to the cache in App Cloud—how it works and why you should use it. See Discovering the Cache in App Cloud for additional code samples. Read More →

  • Adam Mark's picture
    Adam Mark on March 14, 2012

    The function bc.core.cache() is your best friend when it comes to making your app "sticky" and intelligent. If you've never used it, you'll feel like you just discovered a buried treasure. Read More →

  • Adam Mark's picture
    Adam Mark on February 15, 2012

    If you've ever worked with HTML5 Local Storage, the following should look very familiar to you: To save a value in the cache: bc.core.cache("name", "Adam"); // sets "name" = "Adam" To get a value from the cache: bc.core.cache("name"); // returns "Adam" What about other types of data, like numbers, arrays and objects? Read More →

  • Adam Mark's picture
    Adam Mark on February 10, 2012

    The function bc.core.cache() is great for all kinds of things: saving user preferences, saving application state, or saving "favorites," as in a reading list. Here are some functions for managing an array of "favorites" in the cache. In this case, the favorites are news articles (objects), each identified by a unique ID: Read More →

  • Adam Mark's picture
    Adam Mark on January 31, 2012

    Caching data with bc.core.cache() will improve the performance and "stickiness" of your app. Here are three reasons to do it: 1. Speed up your app Seconds matter, especially in mobile phone apps. While you're waiting for new data to load from the server, you can display cached data. Often, the data will be the same. In any case, you're giving the user something to process instead of just a spinning wheel. Read More →