Web Services
  Home arrow Web Services arrow Page 3 - Getting Started with Flex
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB SERVICES

Getting Started with Flex
By: A.P.Rajshekhar
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 3
    2008-06-10

    Table of Contents:
  • Getting Started with Flex
  • Developing a Flex Application
  • Flex in the Real World
  • DataGrid

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Getting Started with Flex - Flex in the Real World


    (Page 3 of 4 )

    The application that will be discussed in this section is an RSS feed reader. It will perform the following tasks:

    • Make a call to the RSS feed site.
    • Get the item name and description. 
    • Display them in a table.

    Some of the controls and services being used in this example will give you an overview of the controls that will be discussed in the future. First let us create the user interface. The preliminary step is to declare the primary container (i.e. the application container).


    <?xml version="1.0" encoding="utf-8"?>

    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute">

    </mx:Application>


    After the primary container comes the tag that makes a call to the RSS service.


    <?xml version="1.0" encoding="utf-8"?>

    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute">

    <mx:HTTPService id="httpRSS"
    url="http://apmuses.blogspot.com/feeds/posts/default"
    resultFormat="object"/>

    </mx:Application>


    The HTTPService makes a call to the service present at the site mentioned by the URL attribute and retrieves the response in the format provided as the value for the resultFormat attribute. In this case, it is in object format.

    Next comes the secondary container – the panel.


    <?xml version="1.0" encoding="utf-8"?>

    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute">

    <mx:HTTPService id="httpRSS"
    url="http://apmuses.blogspot.com/feeds/posts/default"
    resultFormat="object"/>


    <mx:Panel id="reader" title="RSS Reader" width="776" height="100%">

    </ mx:Panel>


    </mx:Application>

    More Web Services Articles
    More By A.P.Rajshekhar


       · excellent article, I was newbie to this technology, by going through the tutorial, I...
     

    WEB SERVICES ARTICLES

    - Safety, Idempotence, and the Resource-Orient...
    - The Resource-Oriented Architecture in Action
    - Features of the Resource-Oriented Architectu...
    - The Resource-Oriented Architecture
    - Getting Started with Flex
    - Automated Billing and Faxing for the Web
    - An Introduction to Web Services
    - The Foundations of Web Services: From Novice...
    - Web Services Reengineering: Finishing Touches
    - Fault Handling with Web Services
    - Flow and Web Services
    - Process Lifecycles and Web Services
    - Business Processes and Web Services
    - Orchestrating Web Services
    - Notifications and Resources in the WS-Resour...







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek