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 333197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:56:20+00:00 2026-05-12T09:56:20+00:00

We are in the process of building a REST compliant API. The backend is

  • 0

We are in the process of building a REST compliant API. The backend is implemented in PHP and we want the interface to follow the convention over configuration motto.

Many of the API consumers will be Rails developers, and following a TDD strategy to building out the API, we’ve considered using ActiveResource to implement a consumer while shaping the API to comply with these standards.

Has this approach fallen out of favor? What other options or conventions might we be able to adhere to so that we can feel comfortable having built a strong API (Like Flickr, Facebook, Twitter, etc.)?

Thanks for any pointers.

Chad

  • 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-12T09:56:20+00:00Added an answer on May 12, 2026 at 9:56 am

    ActiveResource requires the XML to be pretty verbose, and IMO not very well designed (nesting of entities can be a real headache)

    If the vast majority of your consumers will be Rails developers then maybe using ActiveResource compliant REST services might be the way to go, but they will look pretty ugly to non-Rails consumers.

    If you want any technology to be able to consume it, I would not use ActiveResource, and would create XML (or JSON) that suits the data.

    I have built a few systems that communicate using ActiveResource, and more recently I have found it easier to do as I suggest above.

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

Sidebar

Related Questions

I'm building a REST API that exposes data as XML. I've got a whole
I'm building an app to serve large amounts of data via REST API and
Currently in the process of building an API, and I was wondering if the
i'm in the process of building an installer. And with that, i want to
In the building process of an array I'm trying to call a function, checkIfNodeExists()
During the process of building software applications, you would start testing what you have
In the process of building a third party bundle for the Symfony2 framework I
I'm in the process of building a support page for my pre application. I'm
We're in the process of building a MOSS site and one of the 3rd
We are in the process of building a huge site. We are contemplating on

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.