Archive for January, 2008

Social Design with Joshua Porter

The Bungee LineOverview
Joshua Porter is a usability consultant, web designer, researcher and blogger specializing in the art of social design for the web whose experience includes five years at world-renowned User Interface Engineering. Josh’s blog (Bokardo.com) is a must-read favorite for UI and web designers and is finishing up his first book, to be published in the next few weeks (details below).
47:55, 21.9 MB

By leaving a comment about this episode, you will be automatically entered to win a free car*.

Related Links
Here are links to some of the resources mentioned in this episode. Read the rest of this entry »

Advertisements

Comments (6)

New Example Code: Collection Iteration

If you’ve already taken advantage of the Collection function examples illustrating the Collection type (available as a sample code import from the Home page of Bungee Builder), you may also be interested in the new Collection Iteration examples that I recently added. The examples use each of the four variables native to collection iterations to demonstrate not only how to use a collection iteration, but also how to recast elements in a heterogeneous collection from one type of object to another.

To import the new example code, see the instructions on the previous Collection blog post . If you have already imported the Collection example code, you must do so again to access the new Collection_Iteration_Examples class.

-Blaine

Leave a Comment

No Fee for live Bungee-powered test apps during Beta.

One of the questions frequently coming up as we interact with Bungee developers during our Beta phase is “Can I make my Bungee-powered application “live” during the Beta phase, and is there a fee for doing so?”

The short answer is yes – you can make the applications “live” that you develop using Bungee Connect, and during the Beta phase there is no fee for deploying your “test” apps to a live url we hand to you on deployment.

In other words, if you’ve built out a Bungee app during our Beta phase (either one of the apps you created in a tutorial, a mod of one of the sample apps, or a brand new app of your own creation) you can immediately deliver your Bungee-powered web app to users around the world – over the web, no plugin, etc – and not worry about setting up a billing profile with Bungee Labs 🙂

So then the next question is: how do I deploy a Bungee “test” application? There are two ways you can learn to do this:

  1. Once you’ve logged into Bungee Connect, navigate to the “Bungee Essentials Tutorial 1 : Hello Bungee Connect” in the Start Tab. It provides step by step instructions on how to make the “Hello World” app you’ve built go “live” with a url you can share / send to friends.
  2. You can review the “Understanding Application Posting and Deployment” doc in the reference wiki, giving an overview of the process of taking an app you’ve built live (deployed)

Once you’ve got the basics down then you can:

  • get fancy and make your Bungee-powered app CNAME’d to own domain
  • get even more fancy and embed your Bungee app into existing web pages or as a widget. As an example, see Matt’s post “Bungee-Powered Digg Gadget
  • get super-fancy and integrate your Bungee app into other non-Bungee web apps – e.g. Salesforce.com. (we’ll be publishing a step-by-step how on this soon)

If you run into any trouble, either head over the BCDN forum (you should login to Bungee Connect first) or get some help on the Bungee IRC channel.

Another question that might occur to you at this point: “when does the Beta phase finish?” We’ve still got to determine the exact timing based on the progress we make, but I can say we won’t be going into General Availability (GA) until the second half of 2008. We’ve got plenty of other news to communicate with you between now and then, so stay tuned.

One last note on making your Bungee-powered “test” apps live during the Beta phase, more of an FYI really: to help protect system resources and enable a greater number of Bungee developers to deploy their applications for no fee, there are some “theoretical” resource thresholds imposed on deployed applications. Areas where limitations may apply include:

  • Session Count
  • Concurrency
  • Bungee Unit Count
  • Data Delivered
  • Storage

We haven’t determined these resource thresholds precisely yet…but the really good news is we haven’t run into any scale issues for live Bungee apps so far. If your “test” app gets close to the thresholds (btw, a “test” app is a fully functional Bungee app), we’ll let you know 😉

Alex Barnett
VP, Community
Bungee Labs

Leave a Comment

Bungee-Powered Digg Gadget

I’m a fan of applications that have a high simplicity to compelling ratio. A simple email client for example, or maybe a small and clean stock ticker web application -easy to develop and and run on the web (ideally) but having an “interesting” end-result . An example of a very low simple/compelling ratio would be my tax preparation software. Ok, maybe it’s just because I hate taxes 🙂

Here I present my attempt at such an application. It’s nothing that will disrupt the technology world, but I think it’s extremely simple yet somewhat compelling.

I built a gadget you can embed on any web page to display the last 10 comments made by a digg user on digg.com and the date entered. It will also show how many digg votes a digg user’s comment received as well as links to the Digg article and Digg’d URL. One nice feature is that it separates the digg and bury votes for each comment. This is information you can’t get when reading comments on digg.com.

To embed the gadget to a web page you simply put it inside an iframe. The gadget will expand to the size of your iframe. Then put the Digg username in the URL. This tells the gadget which digg user’s comments to retrieve. It does not require any kind of authentication to digg.com.

Click to see Digg Comment Viewer run

Here is the HTML code you need to embed the gadget on any website or blog post. Replace Kevin Rose’s username with your own digg username:

<iframe
src="http://testdeploy.bungeeconnect.com/dcvprofile?embedded=1&digguser=kevinrose" mce_src="http://testdeploy.bungeeconnect.com/dcvprofile?embedded=1&digguser=kevinrose" width="300" height="275" frameborder=”0”>
</iframe>

That’s all there is to it. Small, easy to install, easy and straightforward for the user… and “somewhat” compelling.

You can see a working version of the Digg Comment Viewer by going to this page, and by clicking on the “Launch Digg Comment Viewer (popup)” link.

For Bungee developers interested in seeing the Bungee Logic code behind this gadget, below is the function that does all the work. Keep in mind that the user interface is all done in a Bungee form, so you will not see anything in the source code that deals with the UI.

public DiggCommentViewer() 
{ 
var string digguser // Get the digg username 
AppGlobal.queryArgs.get("digguser", digguser);// Get comments from digguser 
diggAPI.getEvents("/user/" + digguser + "/comments?count=10&appkey=http://bungeeconnect.com", comments); 
 // Update each comment with additional information from the digg story 
for each CurrentElement in comments.comment 
   { 
   var boolean StopIterating; 
   var stories tmpStories; 
   var comment CurrentElement; 
   var int32 CurrentIndex; 
   var XMLUtil xmlUtil = new XMLUtil; 
   var XMLDocObject xmlObject = new XMLDocObject; 
   var string storyXML; 
   var int Length;      

   // Get the story info on each comment 
   diggAPI.getStory(CurrentElement.story, storyXML); 
   xmlObject.readString(storyXML); 
   xmlUtil.convertXMLToObject(xmlObject.root, stories, tmpStories);      

   // Set the href, link, diggs, title for each comment 
   CurrentElement.href = tmpStories.story.href; 
   CurrentElement.link = tmpStories.story.link; 
   CurrentElement.diggs = tmpStories.story.diggs; 
   CurrentElement.title = tmpStories.story.title; 
   } 
}

If you want to re-create the Digg Comment Viewer in your own Bungee account, you are in luck. I have put this application in the “Open Example Code” section on the Home Tab of the Builder. All you have to do is select diggCommentView and click on the Create New button. This will automatically create the solution in your workspace.

To simulate the application in the Builder:

  • in the Solution Explorer, open the “Main” class in the “diggCommentViewer project’ (just click once)
  • in the Solution Detail, open the “commentViewer” form (double-click) and click the Simulate button (next to “Save”, top left hand corner of the Builder)
  • When the app runs, enter your digg username in the gray field above and click on the “GO” button of the app. You should now see your last ten comments you made on digg.com.

To have a Digg username auto populate in the username field when you first run the application:

  • double click on the Main class
  • drag an assignment statement to the top of the getComments() function.
  • your assignment statement should look like this (substitute kevinrose for another username):
diggUsername = 'kevinrose';

Now you are all set to post and deploy your application and embed into a web page / blog.

If you want to put the Digg Comment Viewer on your facebook profile page, you can install the Digg Comment Viewer application. Facebook doesn’t allow you to add content directly to your profile page, it’s all done via Facebook applications.

If you have any questions or need any help, let me know.

Matt Misbach

Comments (3)

Next Jump Call: 22 Jan 08

The monthly  “Jump Call” for Bungee Connect Developer Network is coming up on Tuesday, January 22 at 2:00 MST.

The Jump Call 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. Example Code: Ted Haeger shows how to get at the latest code samples. This time, it’s the complete Collection API.
  3. Open Q&A

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

Leave a Comment

Alan Lewis on eBay Desktop and eBay APIs

The Bungee LineOverview
As product manager for eBay Desktop, Alan Lewis relies on the same web APIs that eBay makes available to all developers. In this edition of the Bungee Line, Alan tells us about what the eBay Desktop is, how it came about, and various details about eBay’s developer program and web APIs. We ask Alan about eBay’s position Oauth and on open source.
42:14, 19.4 MB

Only extremely good looking people can leave a comment about this episode. Click this link to find out if you’re among them.

Related Links
Here are links to some of the resources mentioned in this episode. Read the rest of this entry »

Comments (1)