Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 586611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:07:31+00:00 2026-05-13T15:07:31+00:00

Can anybody give me any hints on that? I’m able to display xml content

  • 0

Can anybody give me any hints on that? I’m able to display xml content on my swf file but how can I send the changed xml file back to my rails Server?

Thanks in advance!
Markus

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:07:31+00:00Added an answer on May 13, 2026 at 3:07 pm

    RestfulX is by far the best way to do this with Rails :).

    Check out their cool examples to get running, it takes 5 minutes. You can generate an application based on models (like Page/Post/Comment/Category…) that’ll look like this:

    alt text
    (source: github.com)

    You basically run 3 commands and you have a full CMS. And, by default, everything happens via XML, but that’s converted (serialized and deserialized) to and from xml, so you can use class objects in ActionScript. You can easily change that to AMF/JSON if you needed to, which is very powerful. Then you can customize everything from there: create a class (MyVideo), add properties (title, url, description, comments), manipulate them in ActionScript, then just do create/update/destroy/save/show, and it handles all the xml requests to/from Rails.

    They’ve solved hardcore things like authentication and session management, file uploading, nested sets and list, etc, which you’ve probably already run into or will. It’s very cool.

    Everything works via REST (and CRUD operations), which Rails takes full advantage of. If you just want to use ruby (and not Rails), you can do that no problem. Or if you just wanted to use Flex and no backend, but still wanted to read/write XML without having to create a whole library to handle that, same thing; they handle it all.

    You just do:

    Rx.models.index(Project) (if you had a my.package.Project class), and it’d return:

    <?xml version="1.0" encoding="UTF-8"?>
      <projects type="array">
        <project>
          <completed type="boolean">false</completed>
          <created_at type="datetime">2008/07/09 20:08:28</created_at>
          <end_date type="date">2008/07/09</end_date>
          <id type="integer">490909803</id>
          <name>Project4NameString</name>
          <notes>Project4NotesText</notes>
          <start_date type="date">2008/07/09</start_date>
          <updated_at type="datetime">2008/07/09 20:08:28</updated_at>
          <user_id type="integer">276171944</user_id>
      </project>
    </projects>
    

    Then if you wanted to save it (or delete it), you’d just do something like:

    
    var projects:IList = Rx.models.index(Project);
    var project:Project = projects.getItemAt(0); // first item in IList;
    project.title = "My New Title!";
    project.save();

    // then later, maybe onClick for a Button with label "Delete Project"...
    project.delete();

    This is by far the best library for XML processing. And they have a very active group which is a plus.

    I saw you asked this question about writing xml via Flex. You’ll run into lots of edge cases. Try out RestfulX, it’s super sick.

    Hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anybody give any working example of how to read/write Unicode text files using
Can anybody give an example of c++ code that can easily convert a decimal
In my application I have robots that the user can give any number of
Can anybody give me a little advice please? I have a string, for example
Can anybody give me an example how to use the osgi framework classes? I
Can anybody give a link for a simple explanation on BFS and DFS with
Can anybody give me a direction, I want to know how to do auto
Can anybody give me a definitive answer to the following question: is adsense api
Can anybody give me suggestions about preparing a custom Mac Installer for a Java
Possible Duplicate: Can I develop blackberry applications using C#.NET on windows7 can anybody give

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.