Entries Tagged as ColdFusion
September 22, 2010 · 3 Comments
Inspiration comes from all places. Sitting in Ryan Stewart's presentation at 360Flex this week, I got hit with the geolocation bug again. I saw some of the demos that Ryan was doing and figured that I can take some of those a bit further. This gave me a chance to do some work with HTML 5 and AIR for Android as well.
Seeing Ryan's presentation, I took the initiative and updated one of my old samples around Yahoo! Local Search and Adobe Spry. The old version actually asked you to provide a city state pair to do the local search. After taking a look at how Serge Jespers was using an ExternalInterface call to get HTML5 geolocation data into Flash, I took the same approach to grab the latitude and longitude from the HTML5 geolocation API and pass it into the ColdFusion service that I'm using to abstract the Yahoo! API. The end result, which works in any HTML5 enabled browser looks like this:
Migrating this example to HTML5 was cool, but I felt like there was still something missing. I banged out the HTML5 version pretty quickly because I was migrating existing code. I needed a real challenge. Ryan's examples had all been based in AIR for Android. I had been signed up for the prerelease for a while, but hadn't been able to think of a compelling app to build. I decided to take the HTML5 app that I had just created and build an AIR for Android version, so I fired up IntelliJ IDEA and went for it. I figured a listing of the elements wouldn't be a good showing of what AIR for Android can do, so I decided to sexy it up a bit. I added in some nifty native geolocation functionality and some of the new uri based functionality to trigger the phone system, i.e. tel:4045551212. Since it was a Flex 4 application, I decided to use my Flex framework of choice, Swiz, to help me build the application quickly and keep my code organized. I picked up a beer from the 360Flex party on Tuesday night and then headed to my hotel room to crank out some code. The result isn't pretty, but it is pretty darn cool.
When the application starts up, it will check for the current location and center the map on that latitude and longitude. When you do a search, it will call the same ColdFusion service that the HTML5/AJAX version is using to get the local search results. It then leverages the MapQuest 6 API to plot the data. I added a double-click handler on the POIs to trigger phone calls to a given location.
Download the APK here. Warning, it's still just a POC quality, so you may need to force quit the application to keep it from eating all of your battery.
Tags:
Adobe · AIR · AJAX · Android · ColdFusion · Conferences · Flex · MapQuest · Speaking · Spry · Swiz · Universal Mind · User Experience · XML
2007. That's the last time we saw any true innovation in mobile hardware. That's the year that the first iPhone was introduced. Here, we are now, three years and three versions of the iPhone later and we've seen no significant innovations in mobile hardware. Sure, we've seen cameras with better resolution and faster processors, but those are just natural evolutions of technology that would be happening anyway. There has been no innovative development of hardware (or it's interactions) since that first iPhone set the new standard for mobile devices and how we use them.
If there's no innovation happening in the hardware world at this time, then where does it happen? It happens the only other place it can: software. Android devices are no more innovative, from a hardware standpoint, than the iPhone. The thing that differentiates them is the software, the content available. It does us well to remember, also, when the iPhone first came out, it was closed to developers. Only when third-party developers started building applications did it truly become a "must-have" device. One look at Apple's advertising validates this. Most of their advertising, these days, centers around applications that run on the device, not the device itself. Software developers are now responsible for creating content that is making these devices indispensable. Once again, content is king.
Innovation is coming by leveraging the platform that is provided to us as developers. We can use the cameras on these devices to create cutting edge augmented reality (AR) applications or whatever our imaginations can come up with to build. As developers, we have the platforms, the canvases, laid before us. It's up to us to work within those platforms to create the content that compels people towards the devices. That's why you see Apple touting and enabling (if not subsidizing) big-ticket apps like Netflix and Farmville. They want that content on their devices. Content is king.
Consider the case of Farmville. Android is on the brink of the 2.2 (Froyo) update. This will bring Flash to the Android platform in a viable way. With that addition of Flash, comes one of the most popular applications on Facebook right now, Farmville (built in Flash). Well, Apple being Apple, recognizes how popular that content is and wants it on their device. So it makes sense for them to do all they can to make sure that content is on their device first. Content compels the consumer.
It's not just about creating the software, though. As with everything else, the experience is what compels us to use these devices, for developers and consumers. There are really two major choices of platform when it comes to the discussion on differing mobile experience: iOS and Android. These two experiences, for developers, couldn't be more different, either. One is a closed, controlled, borderline totalitarian environment, whereas the other is more akin to a wild-west free for all with zero moderation. Neither can survive in their present form. There has to be a balance between control and openness in the content that is made available to these platforms. Getting quality content that consumers want to the consumers is absolutely crucial.
That balance between closed and open is very important because, once struck, it will compel more developers to build across platforms and create consistent experiences across all platforms. An experience must be consistent with the host platform as well as other implementations of the application. If an application has differing aesthetics across platforms, then the brand value is lost. If it doesn't interact as a native application should, on a given platform, then usability and user trust is lost. It's a tricky balance that must be struck to have a successful multi-platform effort. If the content is inconsistent and unusable it will not compel people to the target platform. Usable content compels the users to a given platform.
Real innovation in the mobile space is happening in software now. The time for hardware innovation has passed for the time being, now it's time for developers to continue to take these platforms and provide the next wave of innovation. It's time to deliver that compelling content that drives the mobile space to the next level. It's time for developers to step up and embrace the challenge of innovation. It's time for us to deliver compelling, usable content and continue the innovation in the mobile space.
If we do this, then we push the platforms we use as our canvases to innovate and, in turn, the hardware to innovate. It's a circle of innovation that we are all responsible for maintaining. As long as that cycle of innovation continues, we will continue to be amazed and inspired by what our peers are building as well as the platforms on which we build our inspiring and compelling content.
Tags:
Adobe · AIR · AJAX · Apple · ColdFusion · Flex · General · Google · Java · Mobile · Silverlight · Universal Mind · User Experience · WAP
Every couple of years I have to stop and shake my head at how damn cyclical (and cynical) this business is. Sometimes, I can't help but feel like Marty McFly and get the feeling like I've seen all this before. Everyone is, quite rapidly, getting caught up in the notion of this high experience, mobile, touch-screen, multi-device world and how revolutionary it is.
We've sung this song before though. It's nothing new.
It's kinda like "O Canada" and "My Country, 'Tis of Thee" being the same melody as "God Save The Queen". We know it's the same tune, just different lyrics. With that thought in mind, let's take a look back and figure out how we got to this point and where we are going in the future.
When I first started building software (Omnis 7 paid the bills), it was all about client-server computing. You had to have moderately powered desktops and a beast of a database server to house all the data. Most of the heavy lifting of the data and logic happened at the client. The server was, basically, just a database, if not in reality, just a database. This made updating the applications we built a total pain in the ass because we didn't have a really well built out infrastructure to push updates to our clients. Hell, even Microsoft sent updates on CD. I fondly remember waiting to see what was in that month's TechNet update, but I digress.
As server performance increased at a faster rate than desktop performance did, the shift was back towards a centralized-type system that was a lot like the mainframes of yesteryear. Hell, the system we used was even called MetaFrame to harken back to the mentality that all the processing was centralized. Metaframe was an absolute disaster, but that's a story for a few beers and another time. At that point in time, you had all the power you needed on the server to run the app, but you were still talking to the database, which was the centralized server component. That part didn't go away.
Not too long after that, along came the rise of web-based UI's. This moved pretty much solidified the move of all the processing to the massive servers that we had sitting in data centers (or server rooms). This paradigm gave rise to the concept of a middle-tier that took requests from the client (web server), processed the incoming data, made requests to the database, then sent the results back to the client.
This was a defining demarcation because at this point, we would never really have all the logic in one place anymore. The client could render and process some of the data and the server would still do most of the business logic. This worked well, especially with the introduction of client-side scripting methodologies, like JavaScript.
In the middle of the last decade, we saw the emergence of the Rich Internet Application (RIA), be it AJAX, Flash (and Flex), or whatever your tools of choice were (and maybe still are). This, again, signaled a new era where we moved a lot of the processing back to the client and relegated a good majority of the middle-tier to things like security and data access. A lot of business logic moved towards the client applications, again.
Fast forward a year or two to the present day. Now, we are in the midst of a new multi-device paradigm where we have a legitimate business need to have both consistent experiences and business logic across multiple devices (Android, iPhone OS, Windows, Desktops, etc.). So what do you do? Do you spend the extra money to duplicate libraries of business logic across platforms and create a version for Cocoa, Android, .NET, and whatever other platforms on which you wish to deploy your applications?
In a word, no.
You do the smart thing and move that common business logic back to the server. The native user interface serves the relatively simple purpose of providing the face of the application, taking input from the user, prepping it for the middle-tier, passing it to the middle-tier, then processing and rendering the results. The real work: security, data access, and all important business rules and logic are deferred to the server, again.
So here we are, again in the circle, moving the most intensive processing back to the middle-tier and leaving our device native code to render the user interfaces. History would tell us that the next phase of this will probably be much more powerful devices that can handle the processing of complex business rules and crunching larger amounts of data. Achieving this will require us to find a way to create logic libraries that are cross-device. That will require a change in the current environment where either everyone, or a good number of vendors start playing nice. If that does or doesn't happen, history tell us that something will trigger us towards this paradigm in the next two to three years. Let's hang on and see what happens next.
Tags:
Adobe · AIR · Apple · ColdFusion · Flex · General · Java · Silverlight · Universal Mind · User Experience · WAP · WebNext
(Note: My colleague, David Tucker, has joined me in helping to author this post since we put on our Flash Camps as a collaborative effort between the two of us.)
It's come to our attention that there are a lot of people out in the community who do not know what a Flash Camp event really is all about. If they do know, it's a pre-conceived misconception that they're things like "glorified user group meetings". This couldn't be any further from the truth.
In our minds, a Flash Camp is, in essence, a mini conference. In these days of tighter budgets and the premium placed on our time, we try to make these events as time conscious and price conscious as possible. Why fly across the country to an event when we can bring something that will offer comparable content to your region? We try to keep the presentation quality of these events high so that people will want to attend and they will feel that they're getting a good value for the money.
Typically, a Flash Camp event will be one day, 9:00am to 5:00pm. We try to shoot for a Friday so that people can have a nice end to the week. We've talked about going to multiple days, but we want to make sure we've got this formula down pat first. Lunch is also included in the price of admission. If we're going to ask you to sit through a full day of content, the least we can do is feed you, right?
During the camp, you will hear from a lot of different speakers presenting (in a typical conference presentation format - these aren't 'hands-on' sessions). The speakers are diverse. This means that, yes, as it is a community event, we try to pull a good mix of local speakers and nationally recognized speakers within the Flash Platform community as a whole. This gives attendees a good motivation to attend because you will see both your peers from the local community, plus people who you know from twitter, reading blogs, etc.
Along with a diversity of speakers, we try to maintain a diversity of content as well. In Atlanta, we did an Intro To The Flash Platform session that was really rudimentary, and almost a bit of a marketing pitch. We have had topics as a advanced as "Custom Metadata Processors For Swiz", which is going to be way above an entry-level developer's head. We can't make the content too basic, or too advanced, so we try to shoot for a bit of both with the hope that everyone will take something away from the event.
Cost is always the interesting element. A lot of things go into the calculation of the cost like venue cost, catering, travel for out of town speakers, etc. Our ultimate goal is to get enough sponsorships so that we can keep the event cost to attendees below $100. We feel that that price point is a good place for a one day conference with top-notch content. Some people want it to be free, but the way I see it, you can't please everyone. Paying under $100 to have a full day of presentations from speakers that you would hear at 360Flex and Adobe Max is a bargain.
At the end of the day, Flash Camp events are catalysts for the local user community. Some areas, like San Francisco, have vibrant and highly active Flash / Flex communities. In these areas, the Flash Camp event serves as a way to reconnect with people and inspire the community to more user group meeting and such. In areas like Phoenix, where the community is not as active, the Flash Camp events serve as a way to launch the development community. It's an opportunity to get a large number of people in the room and have the user group managers pitch the user groups and their value to potential members. As these local communities grow and thrive, the Flash and Flex communities as a whole will grow and thrive. They are beneficial to the whole Flash Platform ecosystem.
Tags:
Adobe · AIR · BlazeDS · ColdFusion · Conferences · Flex · FlexCamp · Java · Silverlight · Speaking · Spry · Universal Mind · User Experience
On May 7th, Flash Camp Seattle will be held in the Adobe offices in Seattle. One of the sessions we are working out for that event will be a panel discussing where Flash and HTML5 will both fit within the future of the web. It's not going to be a "bash-fest" either way, but a frank, open discussion with representatives from both sides. Tickets are going fast, and registering via this link will save you 50% off the ticket price.
Speakers Include:
I think that all of the content we have put together for this make for the deepest and most interesting speaker lineup any FlashCamp has yet seen. Go
register today and join us for what surely will be a great day of content around the Flash Platform and the future of Flash.
Tags:
Adobe · AIR · ColdFusion · Conferences · Flex · FlexCamp · Java · Silverlight · Speaking · Universal Mind · User Experience · WebNext
Flash Camp is coming to Washington, DC on April 16th. It will be a full day of great content on topics ranging from UX to Flex. Admission is dirt cheap and lunch will be provided. Come on out for a full day of great content and great networking with some of the area's industry experts!

When: April 16, 2010
Where: Navy Heritage Center (Naval Memorial stop on the Metro)
More Info: www.capitalflashcamp.com
Tags:
Adobe · AIR · BlazeDS · Cairngorm · ColdFusion · Conferences · Flex · FlexCamp · Java · Universal Mind · User Experience
February 16, 2010 · 1 Comment
If you're an Atlanta area (or even Macon / Augusta / Chattanooga area) developer and want to learn more about how a developer sees user experience design, make sure you come to the Atlanta Flex User Group meeting tomorrow. I will be giving my presentation:

It's guaranteed to make you laugh, cry, or angry. I'd like to say it's entertaining, but that's just a bit more shameless self-promotion than I'm willing to do (at this time). I think that this presentation is well suited to any type of developer (not just Flex) that wants to learn more about what exactly user experience design is. I've heard, even Sledge Hammer! might be making an appearance.
Tags:
Adobe · AIR · AJAX · BlazeDS · ColdFusion · Flex · Java · Silverlight · Speaking · Spry · Universal Mind · User Experience · XML
"We've become a culture of technicians. We're all into the how of it and nobody's stepping back and saying 'But Why?'." -- Joel Salatin, Farmer
Some of you may recognize this quote. It's from a farmer named Joel Salatin. He's featured prominently in the film, "Food, Inc.", which I had a chance to take in recently. While a high impact film unto itself, this quote really popped out and grabbed me. I realized that he wasn't just talking about industrialized food, but society as a whole. Being the developer I am, I internalized this and applied it to our field. We've been so consumed the last few years with the next great technology, essentially the "how", that we've really lost touch with, or just fail to ask, the "Why?" question.
We, as developers, get caught up in the race between the players in the RIA platform space. The truth is that the technology doesn't really matter. In most cases, a Flash Platform based application can tell the story just as well as a Silverlight based solution, or maybe even an AJAX solution. It doesn't matter. The technology is simply a tool that let's us answer the "How?" question. Without answering the "Why?" question though, the technology becomes irrelevant.
As developers, it's our livelihood to be able to quickly and easily answer the "How?" question. However, it's also our responsibility to also help answer the "Why?" question. If you can answer the "Why?" question, you can say that you truly understand your users and what they are trying to accomplish. If we don't listen to our users and their needs, then answering the "How?" question to the best of our abilities is a waste.
The design process is the phase where we ask the "Why?" question of our users. Developers are starting to pull their heads out of the sand and start getting involved in the design process. Developers are starting to gain access to the real motivations and needs of the users. When we start being able to answer the "Why?" questions, we add value to the answers we create for the "How?" questions.
Applying the answers to the "Why?" questions to every line of code you write is what will differentiate you from every other developer who is just as clever as you. Being able to empathize and connect with the user base is a skill that not all developers can cultivate. Cultivate it by engaging in the design process, ask your users why they want certain functionality and interactions. You may not always like the answers you get, but you will at least be engaged in the design process. An engaged developer is much more valuable to the process than someone who just churns code.
Ask "Why?", and bring those answers to your code. You'll have happier, more satisfied, users because they were engaged and their needs incorporated into design and development. Engaged users are users that come back, time and again, and validate the effort and value you bring to the process.
Tags:
Adobe · AIR · ColdFusion · Flex · Java · Silverlight · Universal Mind · User Experience

We're just over a week away from Flash Camp Phoenix and tickets are almost sold out. If you're interested in going, but have been on the fence, all the sessions are posted here.
Speakers Include:
- Kevin Fauth
- Dan Holth
- Dan Orlando
- Christian Saylor
- Carl Smith
- David Tucker
- Ryan Stewart
There are cheap flights and hotels available still. Sign up today and ensure your seat before they're all gone!
Tags:
Adobe · AIR · BlazeDS · ColdFusion · Conferences · Flex · FlexCamp · Speaking · Universal Mind · User Experience
In the past year, I've been witness to a dramatic shift in how we deliver solutions to our clients. I have to admit that the full impact of it has caught me a bit off-guard. It used to be that technology blazed the trail and design was something that was tacked on later in the process, almost an afterthought (pixie dust, if you will). The shift has been seen in that now design leads, and technology supports that design. It's the difference between night and day when you really stop and think about it. It's no less than a complete thought shift from how we, as a community have previously developed applications.
As we focus on the story that the client is trying to tell with their applications, this has to be this natural progression. The story at hand is best told by the right combination of art & science. It's not to say that technology becomes an afterthought. It's actually quite the opposite. If we are becoming addicted to sexy design and experiences, then technology is our enabler. Technology is the key player that empowers these nifty designs to be the engaging experiences that they are.
Innovation doesn't come purely from the technology being used. This statement is hard for a lot of developers to swallow, so let's think about it just a little bit and not just glaze over it. New interactions spur innovation. Cutting edge designs spur innovation. It's the place of the technology team to take up the challenge and make those interactions & design realities. What is needed is a design team that has an intimate relationship with the technology team. These teams have to know and trust each other so that they can continue to push the envelope of innovation together. Design and technology absolutely cannot and will not function in an "us vs. them" mentality. Together we innovate, divided, we imitate.
This is like any other relationship, it takes work. It takes communication that is open and honest. The technology team, absolutely, has to have some input into the design process. At the same time, however, the technology team has to have faith that the design team will deliver something that will challenge them to push their skills further. Open communication between the two teams throughout the design and development process will produce the most satisfying interpretation of the story that the client is trying to tell. It does take a team, a fully engaged, and communicating team to turn vision into reality.
Tags:
Adobe · BlazeDS · ColdFusion · Flex · Silverlight · Universal Mind · User Experience