Getting started with Glare-DataServices

This tutorial describes the steps to build a simple Flex application that uses a Smalltalk service. For this example, we are going to build a basic blog application. It will allow us to create and list Post objects.

  • create Smalltalk package: FlexBlog-Services
  • define class Post
  • define RemoteObject subclass: FlexBlogService
  • define remote methods: createPost and getPosts
  • install the service
  • create Flex project: FlexBlog
  • add remoting configuration
  • design the Flex UI
  • implement createPost and getPosts
  • run the application