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

  • Home
  • SEARCH
  • 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 8541643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:52:38+00:00 2026-06-11T11:52:38+00:00

What steps/processes will I need to take to plan the creation of an API

  • 0

What steps/processes will I need to take to plan the creation of an API for my website (that uses PHP and SQL technology)? Also, what information will I need to know?

For an example, Step 1: Create index page, Step 2: Create this set of or library code, etc…

I am creating a social networking site from scratch that I would like to implement a API with during the alpha phase. I assume I will need to make the application object oriented which I have no problem doing. But where exactly do you start in the API implementation process?

  • 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-06-11T11:52:40+00:00Added an answer on June 11, 2026 at 11:52 am

    Very first of all: decide why you really need this API. If you’re going to produce some client app that uses this API itself, that’s a good reason. If you’re just hoping that somebody will use that API to do interesting things once your service hopefully becomes popular, that’s a bad reason. You’ll just be spending a long time working on the API without anybody ever wanting to use it. Make your service popular and gauge the interest in an API first.

    Having said that, an API is just yet another URL on your site where you serve up data in structured, machine readable XML or JSON (or another format), it is not fundamentally anything different from an HTML document served up for your regular pages.
    The main difference is that the API needs to be well designed and stable. You can redesign your HTML anytime on a whim, but once a client is written to use your API, it should not change for some time to come. So you’ll need to plan the usage and data format of the API well. This is easier if you have a good idea what it will be used for. Study existing APIs of other large services in detail to see how they solved some of the details.

    Internally you will want to structure your application modularly. Properly separate concerns using, for instance, the MVC pattern. You will have your core logic in your Models and you will have two (or more) Views; one regular HTML view and a JSON/XML API view for largely the same data. That means: don’t mix any important logic with your HTML which you’d have to duplicate in your API views.

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

Sidebar

Related Questions

I'm looking for an easy way to call a bean's method that will take
I need to develop an application that will periodically check data from a XML
I have a need to create a transactional process using an external API that
So, I'm working on a database that I will be adding to my future
I need to do a lot of processing on a table that has 26+
I need to do xml based client server interaction. As per my knowledge, steps
I write application which will need send very confidential data to HTTP server. Because
I have R code that I need to get to A parallelization stage. Im
I have a few tables in SQL that are pretty much like this A
I´m working with a purchase process. The process consists of 4 steps. The first

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.