Archive for February, 2008

Bungee Labs Intern DevFest 2008

What an exciting day for us at Bungee Labs to welcome 9 potential interns who traveled from around the country last night to take part in Bungee Labs very first Intern DevFest.

Bungee Labs DevFest 2008

We can’t wait to see what these very smart 9 CS students come up with using Bungee Connect and the WideLens reference app we’ve asked them to hack against.

Thanks to M.David (blogging this here) and Daniel Posch (one of last year’s summer Intern at Bungee Labs) who both agreed to join the contest’s judging panel.

Here are some pics from the 24 hour event.

Read the rest of this entry »

Advertisements

Comments (2)

New WideLens video: Overview for Bungee Developers

Over the weekend I got the chance to spend time with Herrick Muhlestein, one of Bungee Labs’ dev leads and a member of the team responsible for delivering Bungee Connect’s new calendaring reference application, WideLens.

In this video, Herrick provides an overview of the architecture of WideLens as well as some details on the app’s Class-Database relationships. The slides Herrick walks through are available here (.ppt)

widelens_overview_for_developers_video

This is the first of a series of videos we’ll be providing to Bungee developers with more detail on WideLens. If you have questions about WideLens, or want to discuss the video, head on over to the WideLens board at the BCDN forum (Bungee dev account required).

More WideLens Resources: 

  • Video (new!): WideLens – Overview for Bungee Developers and slides (.ppt)
  • Video: WideLens User Experience
  • Blog Post: Extending the WideLens Reference App
  • How To: Extend WideLens to Display Salesforce.com Custom Events
  • Blog Post: WideLens: A calendaring reference application for Bungee Connect
  • Alex Barnett, Bungee Labs

    Leave a Comment

    Tips and Tricks: Inserting Google Ads

    This post will show you how to add Google ads to a Bungee Connect application.  For this tip I’m going to assume that you’ve already gone through the workflow with Google to create your own Google Adsense account (not to be confused with an adwords account) and you’re just wondering how to insert the Google provided code-snippet into your application. 

    The application I’m going to be using to show this tip can be run at: http://www.apptorrent.com.  It’s a simple stock quote application that I built some time ago.  If you run the app you’ll see Google ads displayed at the bottom of the application.

    image1.jpg

    In order to display a Google ad into your application you’ll need to use a control that’s capable of displaying raw html.    The HTML, the Multiline Label are examples of controls that can display raw html.  In this example I’m using a Multiline Label (with the HTML property checked.)

    image2.jpg

    • The first step in placing a Google ad in your application is to add a string field that will hold the snippet of code that you get from Google. 
    • The second step will be to make some manual modifications to that code snippet so that it ends up formatted properly because it needs to be a single string.  

    There’s an interesting subtlety when using this code snippet.  In order for the ads to display, the code must be inserted into the page exactly as provided by Google, with line breaks intact, so we need to do some manual tweaks to the text so that it can be inserted into a string field as a single string but keep the line breaks intact.  Below I’ve pasted in an example of the code snippet as provided by Google:

    <script type=”text/javascript”><!–

    google_ad_client = “pub-xxxxxx”;

    /* 160×600, created 11/20/07 */

    google_ad_slot = “5938640458”;

    google_ad_width = 160;

    google_ad_height = 600;

    //–>

    </script>

    <script type=”text/javascript”

    src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>

    </script>

    The key here is that we need to insert the appropriate code to maintain the line breaks.  Everywhere there was a line break before you need to insert the following characters:  ‘ + ‘\n .  Note that there is a trailing space after the n and it needs the single quotes around the + character.

    Here’s an example of the final string with my changes in bold and red:”

    ‘<script type=”text/javascript”><!–‘ + ‘\n google_ad_client = “pub-xxxxxx”;‘ + ‘\n //468×60, created 11/20/07‘ + ‘\n google_ad_slot = “6160311418”;‘ + ‘\n google_ad_width = 468;‘ + ‘\n google_ad_height = 60;‘ + ‘\n //–></script>‘ + ‘\n <script type=”text/javascript”‘ + ‘\n src=”http://pagead2.googlesyndication.com/pagead/show_ads.js&#8221; mce_src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”&gt;‘ + ‘\n </script>

    Once you have that string ready, you’re good to go.  Simply assign that string as an expression to a field in Bungee and then display that string in a control that is capable of displaying it as html.  

    Now, there are probably other ways to do this that you may be thinking of, this is just one approach.  It works for the example app I’ve shown at the beginning of the post and it should work for you as well.

    Thanks for checking out this tips and tricks post and if you have any follow up questions please post a comment so that others can benefit!

    Dave Brooksby, Product Manager

    Comments (3)

    Next Jump Cast: 26 Feb 08

    The monthly  Jump Cast for Bungee Connect Developer Network is coming up on Tuesday, February 26 at 2:00 MST.

    The Jump Cast provides BCDN developers with an opportunity to talk directly with the Bungee team, and ask questions about Bungee Connect.

    Agenda for this Jump Call:

    1. What’s New? Product Manager Dave Brooksby tells what we put into the latest update
    2. Even More Example Code: Ted Haeger overviews several new importable code samples
    3. Open Q&A

    To register for the event, see the forums post in Bungee Connect Developer Network.

    Comments (1)

    New Example Code: StringUtil and more Controls

    With the latest release, we have added several new code samples that you can import into your Bungee Connect workspace and use as a learning aid, or incorporate into your own projects.

    Import Sample Code 2StringUtil

    StringUtil is a utility class provided in Bungee Connect, which allows you to manipulate strings in various ways. For example, you can use the split function to break a string into multiple parts at each point where a character (such as a comma) appears.

    The sample code includes a class called “Function_Examples.” In that class, you will find several forms that you can simulate. By running each form, you can see what one or more of the StringUtil functions does. Then you can explore the code to learn how to call the function.

    Import Sample Code 1More Controls

    Controls–such as the MultiColumnList control or the DynamicForm control–are the data presentation and user interaction elements that you use to build forms.

    Recent additions to the list of controls available as sample code include the TabList and Tree controls, and the much requested GoogleMap control.

    Each of the control examples is accompanied by an explanatory overview on the documentation page for that control. When you import the example, a notes page will automatically open, providing a link to the documentation.

    Leave a Comment

    Webcast – Extending WideLens – Feb 21, 12pm MST

    Please join us for a WebEx session where we will provide an technical overview of the Bungee Connect‘s new reference application, WideLens, and discuss how the WideLens reference app was extended to display a Salesforce.com custom event.

    Topic: Bungee Connect Webcast – Extending WideLens (60 minutes)

    • A Developer’s Introduction to WideLens Reference Application (Brad Hintze)
    • Extending the WideLens Reference App with Salesforce.com Custom Events (Dave Nielsen)
    • Questions and Answers (Brad Hintze)

    Date: Thursday, February 21, 2008
    Time: 12:00 pm, Mountain Standard Time (GMT -07:00, Denver )

    ——————————————————-
    To join the online meeting, see details at the BCDN Forum (you must have a Bungee Connect developer account to enter the BCDN Forum) :

    Look forward to seeing you there.

    Alex Barnett
    VP Community, Bungee Labs

    Leave a Comment

    Extending the WideLens Reference App

    It’s been a big day for us, with news of:

    About WideLens

    In this post, I want to focus on the new WideLens reference application from a Bungee developer’s standpoint – why we built it and how Bungee developers can modify and extend the Bungee reference application for their own purposes. Read the rest of this entry »

    Comments (5)

    Older Posts »