Welcome to SolamenteNiel!

I know...I know...in the world of social networking like twitter, blogs just aren't cool anymore, right? Well every once and a while I want to share something that exceeds 144 characters, so I created SolamenteNiel, my blog. While I'm at it, I'm also going old school with a cheesy picture of myself on my blog. In this picture I'm pertending to be an IndyCar driver.

Archive for appcelerator tag (5) Subscribe to RSS feed

Building the Weather App with Appcelerator RIA

In the first four posts of this series I focussed on everything but building the Appcelerator-based RIA.  Part 1 gave an overview of the technologies, and part 2 described how I added Appcelerator support to an Eclipse web project.  Part 3 was related to implementing the domain model and Spring-based services using Skyway Builder, and part 4 described how the Appcelerator service layer was configured to use the Spring services.  Now the time has come to actually implement the front-end using Appcelerator RIA.  You can download the project and see the running application here.

 

Read Full Post

Implementing Appcelerator Services using Spring

In this post I will make the Skyway Services from (part 3) available as Appcelerator services that can be used by an Appcelerator-based RIA application.  I was hoping I could just use Spring services, but at SpringOne 2008, Kevin Whinery said the recommended approach is to use Appcelerator services and wire in Spring services.  It's an extra step, but it turns out that it gave me a place where I could workaround some issues I had with Appcelerator's automatic JSON serialization logic.  While I could've updated the Spring beans to return JSON to the Appcelerator service, I wanted to avoid tweaking my Spring services to accomodate Appcelerator.

Read Full Post

Spring Services and NOAA Web Service

As I mentioned in part 2 (Adding Appcelerator support to a web project), the weather data is coming directly from NOAA.  The NOAA SOAP Web Service is a free web service for accessing all the available weather data.  Unfortunately the web service is difficult to work with.  To me it looks like the web service was implemented based on the architecture of the weather data with minimal regard for the consumer of the service.  Subsequently I had to spend a lot of time figuring out how to parse the data with Groovy (more on that later).

Read Full Post

Adding Appcelerator support to a web project

In part 1 (Appcelerator RIA + Spring Services) I gave an overview of the technologies that I used for my Appcelerator learning exercise, including Spring, Skyway Builder, and Appcelerator (of course).  I should have probably described the application that I create too.  I built an application that lets the end-user of the application get a five day weather forecast for a city that they select.  For this application:
  • the weather data comes from a NOAA web service that is accessible using SOAP
  • the Spring Services are defined and generated from Skyway Builder
  • the web application is implemented using Appcelerator

The Appcelerator website is the best resource for installing Appcelerator, so I won't repeat the steps here.  Suffice it to say that Appcelerator is pretty simple to install, and the principle mechanism for interacting with the Appcelerator SDK is the command-line interface (CLI). 

Read Full Post

Appcelerator RIA + Spring Services

Over the holidays I decided to give Appcelerator RIA a try.  In addition to learning about Appcelerator, and I was particularly interested to see how Appcelerator RIA can be used with services built using the Spring Framework, and more specifically Spring Services generated with Skyway Builder.  I intend to share my experiences over a series of blog posts.  This post is the first in the series, and it's primarily an introduction.

Read Full Post