Sign In | Site Map
Toggle Networks
Home Solutions Corporate Support Contact Us

Archive for the ‘Application Services’ Category

Google Strikes with Chrome Distinction

September 2nd, 2008 by David Babin
No Gravatar

Just when you think life on the web can’t get any better Google goes and launches their “Google Chrome.”  Within seconds of installing the new web browser (yes seconds IE) I am wondering why I have never seen some of these features in the past.  

Even with the introduction to tabbed browsing, I was still finding myself filling up my taskbar with IE or Firefox entries across the board.  Google Chrome now lets me simply combine my tabs by dragging them into one nice browser.  How sweet is that?

And why was I stuck with one home page (if I was lucky in tabbed browsing)?  I love the “New Tab” approach that Google Chrome uses.  How convenient is it to have all of my recent web sites, closed tabs, bookmarks, and of course the google search bar all nicely organized on a single screen?  

The address bar just speaks for itself.  Imagine what it should do and then try this out.  Yes, it does whatever you want it to do.

Keep up the good work Google.  Keep making my life easier.

www.google.com/chrome

New Facebook Layout

July 31st, 2008 by Lee Babin
No Gravatar

Well, it’s official, Facebook has moved over to its new layout. But what does that mean for both home users and developers? Facebook has obviously made some changes that can both irritate application developers but also can be taken advantage of to really refine the end user’s experience.

Facebook seems to be making big steps towards allowing users to really capitalize on applications that they use a lot by putting them front and center. Users can now add tabs to their profile to make certain applications easier to access and also allowing users to bookmark the applications they use the most for easy access.

From a developer’s point of view, this is going to be a little brutal for the vast majority of developers out there. In order to finance application development, most developers focus on getting as many people installed on their application as possible and then spamming the heck out of them with messages, notifications, advertising and profile advertising. The problem with the new layout is that it allows users to completely shut off everything they do not want to see from an application which seriously cuts down on the viral effect of a lot of applications. What does this mean to most application developers? Reduced revenue.

There are some added advantages to developers with an application that people use quite frequently. The most evident is the tabbing section. It allows users to add a tab with special content served from the application. So, for the special few applications that a user uses most, that application has the opportunity to become very predominant on a user’s profile page.

However, with the obvious reduction of incoming revenues, most developers are a little angry about this move. Rumors have been flying all around the Internet about Facebook releasing some sort of a payment system whereby developers can charge for their application’s services. With the obvious reduction to revenues hitting developers, it is sort of strange that Facebook hasn’t gone ahead and released this platform yet. As a developer, we need business models such as this one to stay alive, where is the love Facebook?

All in all, I think the new profile switch is a good move for the Facebook experience but I think Facebook is going to have to start making some moves to improve their development platform for developers so that they can still get a decent ROI from development. The good news is that Facebook obviously has something in the works and for those thinking about building a business model around paid installs, it might be a good time for such ventures to get started. And hey, for a shameless plug, come to us, we would love to build it for you!

iPhone as a Corporate Solution

July 30th, 2008 by Lee Babin
No Gravatar

Before 2008, I had been an avid cell phone user but had never ventured into the world of business communications. To me a cell phone was all I needed to chat with my clients and I was convinced that a cell phone only needed to do what it was intended to do, make phone calls! However, the Sony Ericsson was beginning to change my mind with it’s slick camera and MP3 action. And then I joined Toggle.

Now, at Toggle Networks, they have been using BlackBerrys for a good amount of time. This was brand new to me. Email? Phone? CRM (light)? Keyboard? On the same device? This was all new to me but it did not take long before I realized the amazing results one could have with a true corporate device.

My BlackBerry had soon earned its “CrackBerry” nickname as it went with me everywhere and my wife had to soon limit my obsessive devotion to the thing. Despite its addictive nature, I couldn’t help but respect the fact that the BlackBerry is an excellent business device and it is almost a necessity around the office here. I found my way into a new BlackBerry Curve after my original BB’s scroll wheel broke on me and it fixed my only complaint (no camera).

Fast forward to about 3 weeks ago. Apple finally released a legitimate version of their iPhone to the masses here in Canada (through Rogers) and at a reasonable price. Seeing as I have recently converted my Vista machine over to a MacBook Pro, Apple was looking pretty good to me. I have also started to model a programming business model around developing iPhone applications (I’ll save that for a later blog) so I figured it was about time to get me an iPhone. After a bit of searching (it wasn’t too difficult), I had one in my hands and I was ready to attempt to make use of it as my corporate communication device.

No one will deny that the iPhone is a sexy beast. It looks amazing in it’s plastic based “slim black dress”. It’s operating system is filled with beautiful graphics, a bright screen and intense touch screen goodness. And heck, it’s even an iPod touch (on the cheap)! That’s all fine and dandy, but can it handle my insane business lifestyle.

The short answer is a resounding “yes”. Let me explain. My two main needs for my cell phone in a business environment are, is it a good phone and can I make good use of email? The answer to both of those questions is a definite yes. First off, as a phone the iPhone works rather well. It features pretty much everything I require in a phone. It sounds good, I can mute it or put it on silent at the touch of a button. The sound quality is fantastic (with easy to use volume controls on the side) and it works very well with my Bluetooth headset (a necessity for one on the phone as much as I am). Holding the phone to my head is a little more uncomfortable than my BB due to the metal frame of the thing doing some slight digging to the side of my head but since I am on Bluetooth the majority of the time it does not bother me.

From an email perspective, I don’t think I would call the iPhone better, just different. While the BB has the advantage of being super easy to use once configured, the iPhone has the advantage of being slightly more flexible and intuitive when configuring multiple email addresses. Each email address can be setup in the system and you can setup as many as you would like. POP and IMAP are prevalent but you can also connect it directly to Exchange (score!) and Gmail (amongst others). You can then use WiFi (I’ll talk more about that in a bit) if available or a data plan if not.

About the WiFi I just talked about. How sweet is that? A super simple to connect mechanism is in place to connect to any WiFi hotspot that is available making it not necessary to dig into your data plan. For the iPhone (which consumes more bandwidth than a standard BB or Cell Phone), this works incredibly well. While in the office or at home or even the local Starbucks, making use of the Internet is a snap. A fantastic browser interface comes along for the ride. For those of you unfamiliar with Safari, I will say that it is hands down the second best browser out there (some would say the best but I have an affinity to FireFox). The iPhone iteration works extremely well (with touch screen controls for zooming) and even syncs up with your iTunes. Nice!

Regarding the syncing I just mentioned, that is an amazing feature if I have ever seen one. The second I plug my iPhone into my computer, it automatically syncs up my mail accounts, music, pictures, contacts, calendar events and applications. My business is constantly backed up to my computer and vice versa and I have no need of a BB Exchange Network to keep my CRM synced and up to date. It works strikingly well and is highly recommended.

I could no doubt talk for hours on the multi-purposeness of the iPhone. I haven’t even mentioned that it takes fantastic pictures, has a sweet calendar / contact system, supports turn by turn GPS and functions as a full purpose iPod. I have no need to chat about these things because they are really just icing on the cake. What I will mention, however, is that if there is something the iPhone does not do right out of the box that you need it to, hey, that’s why there are iPhone applications! Not only has the iPhone prepped for business, it has also allowed you to develop your own (or get us to do it). We at Toggle are going full force into iPhone application development and will be working hard to roll out some very serious business solutions for your corporate iPhone.

So, there you have it. While the iPhone will very likely not replace the BlackBerry right away, it certainly has the momentum to offer a very competitive package. Now if only Rogers would get their act together and allow me to put this baby on a corporate account. Come on Rogers, why would you launch a device, hype it as a business solution and then fail to have the infrastructure in place to support it? Oh well, I am grateful to them for at least bringing it Canada side.

Stay tuned as I begin our very first iPhone application and have a full on live blog throughout the process!

iPhone Get

July 25th, 2008 by Lee Babin
No Gravatar

It’s official, the iPhone has officially arrived.  I am in the middle of downloading Apple’s SDK so that I can immediately begin developing iPhone applications and iPhone application development services.

Initial impressions of the phone leave me in awe, and having it function as an iPod at the same time that I can connect to my car stereo deck is one heck of a deal sweetener.

Now my goal is to make the iPhone work well with my Mac in a business environment here so that I can prove that Apple can be a valid business solution.  Wish me luck Apple enthusiasts though I have to admit that when devices look this sexy and work this well, it may not be that difficult of a sale…

Facebook Applications - A how to guide

July 22nd, 2008 by Lee Babin
No Gravatar

The iPhone has recently opened up its application development platform, making it the most recent joiner in a massive campaign of user submitted content for different platforms.  While platforms such as iPhone, Bebo, Myspace, Friendster, etc. have moved to this model, the Facebook development platform was something of a pioneer for this concept.  Nearly a year has gone by since Facebook opened up its platform for live development and they have taken the time to develop a fairly robust platform and have had some very successful applications setup shop in their directory.

With all of the hype (and venture capital) being thrown around to promote the service, developers around the world have begun to flock to Facebook to show off their application building skills.  With a year under its belt, the Facebook platform has become pretty simple to develop for.  In this article I will go over a developer’s view on how to get an application setup and running.  In subsequent articles, I will elaborate on some of the cooler features of building and maintaining (not to mention marketing) a Facebook application.

What are we building?

A colleague came to me and asked if there was a way we could somehow post our blog entries to our Toggle Networks Facebook page.  With that in mind, for this example Facebook application, I am going to build a simple RSS feed reader to do just that.  I will then walk through (in a later post) how to integrate said application into our Toggle Networks Facebook page.

Step 1 - Install the Developer Application

In a smart move to get people familiar with the application install process, Facebook has made it’s management tool for its platform an application itself.  The first thing you need to do to get started is install the Developer application.  Login to Facebook and proceed to this link:

http://www.facebook.com/developers

Step 2 - Create a New Application

Once you have the developer application installed to your Facebook account, it will appear as a link on the left hand navigation bar of Facebook beside all of your other applications.  Click it to go to the Developer application.

Next, click the “Set Up New Application” button at the top of the Developer application.  You will be given a box to fill out so that you can name your application.  In this case, since we are building an RSS feed reader, I will call our application “Toggle RSS Feed Reader”.  Deal with the terms and decide if you want to accept them by checking the box.  Now, drop down the optional fields information.

Now, you will be presented with a list of new options.  A few of them are very important.  Enter your email preferences, then have a look at the Callback URL field.  This field will dictate where you are going to place the code for your application.  Since Facebook does not actually host the code for your application, you will have to have a server setup where you will host your own code.  In my case, I am going to host my code at:

http://www.codewriter.ca/facebook/togglerss/index.php

The next order of importance is the Canvas Page URL.  As you might expect, this will be your application’s home on Facebook.  This is akin to finding a URL these days, you may have to get creative.  I am going to use togglerss so my official Facebook application URL would then be http://apps.facebook.com/togglerss .  You will then have to choose whether you want an iFrame application or an FBML application.  There are benefits / issues with both solutions.  I look at it this way.  If you never plan to leave the Facebook platform (IE: you will never port this application to a new platform or website), then choose FBML.  FBML provides some very easy ways to perform functionality (such as friend invites) and ensures your applications will stick to the Facebook aesthetic.  It is also much easier to develop for.  However, if you want ultimate flexibility, choose the iFrame option as it will allow you to completely control your application and make it look however you want.  You will have access to Facebook API with whichever option you choose so the choice is ultimately yours.

If you wish to have the classic setup for Facebook applications, choose “Desktop” as your application type, a list of new options should now appear.  The most important of these is the question “Can your application be added on Facebook”.  Since I don’t mind if someone wants to add the Toggle feed, I will select “Yes” for this option.  Once you click this option, a whole slew of new options will become available.

I am not going to go over most of these options now as they are merely ways to extend your application and are not required to get moving.  I will however note that you should dictate who can add your application as this will become very important should anyone try to add it.  In this case I have chosen “Users” and “All Pages”.  You may want to check the “Developer Mode” box to on while you develop so that no one adds your application before it is ready.

If you have done everything correctly, you should now see something like the screen above.  Note that I have blacked out my api key and secret key.  As the names suggest, you should keep these private, you will make use of them in your code.

Step 3 - Let’s Get Coding!

If you were to go to my Facebook application URL at this point, you would see the above screenshot.  This is because I have not put any code yet to where my callback URL will resolve.  In other words, I need to actually develop this application at this point so that the callback URL can resolve.  Facebook makes it easy for you to develop in whatever language you are comfortable with.  Facebook even provides libraries and such for getting started.  Since I am a PHP guy and Facebook has a highly usable PHP client library, I recommend you go ahead and download that one.  Here is the link:

http://developer.facebook.com/resources.php

Once you have the platform downloaded, create a new file.  In my case, I am naming it index.php.  Include in the facebook.php file into your index.php file and then upload all files (facebook.php, facebookapi_php5_restlib.php and index.php) to your server and you will have the bare minimum to get your URL resolving.  Your code should look something like this:

<?php
require_once (”facebook.php”);
?>

Now, we need to get the base information in so that Facebook knows whose application this is and get some authentication in place.  I like to break my configuration options out into a separate file so I created a file called config.php.  In this config.php file, you need to specify your api key and secret code (that were dictated to you when you first created your application).  To view them, you can simply click on the Developer application and then click on see “My Apps”.  My config file looks like this:

<?php
$apikey = “XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX”;
$secret = “XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX”;
?>

Now, to make use of the Facebook API, you must create an instance of the Facebook class.  Then, you can call the require_login method to obtain the user id of the current user and force them to install your application if they wish to use it.  The following code now takes up my index.php file:

<?php
require_once (”config.php”);
require_once (”facebook.php”);

$facebook = new Facebook ($apikey,$secret);
$user = $facebook->require_login();
?>
<fb:mediaheader uid=”<?=$user?>”></fb:mediaheader>

If you navigate to your application now, it will ask you to install it.  Do so.

Next, we need to actually display something.  Since I am using FBML for this particular application, this part will be easy.  FBML provides a ton of little code widgets you can use to build your application very rapidly.  A full listing of them can be found on Facebook’s developer wiki here:

http://wiki.developers.facebook.com/index.php/FBML

I have decided to put in a “Media Header” which puts a nice little header in at the top, feel free to experiment and put in what you would like.  Now, you simply need to put in whatever code you desire.  In this case, I created a class called rssReader, the code for which you can download here:

Then, with the code downloaded, you can simply instantiate the class and call the showFeed() method to achieve the following results.

Conclusion

The previous article has brought you through how to create a basic Facebook application.  In future articles, I will start detailing some of the cooler Facebook specific functionality starting with how to integrate a Facebook application into a Facebook page.