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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:02:42+00:00 2026-06-12T19:02:42+00:00

I have to create a REST API for a mobile application and I don’t

  • 0

I have to create a REST API for a mobile application and I don’t really know how to begin it.
I read some articles and tutorial about REST in general, but I didn’t find a complexe API example written in PHP.

So after more researches I choose to use a micro-framework (rather than start from scratch). A full framework like Symfony2 or Zend provide some methods that I will not need, and I think they are too big for.
Because I already worked with Silex PHP, I choose it.

But one question stay in my mind : is Silex a good choice to create a (future) big API ?

The API will evolve and could be more and more complexe (understand more URI will be avalaible in future, because we have goal to migrate from SOAP to REST).

Since Silex PHP uses a single file convention, I’m a little scared to use it (because file will be more and more larger, and I supposed with performances falling).
Also I would like to cache on server results (additionally with HTTP caching) when necessary, to reduce queries to database (MySQL).

What do you think and what do you advise ? 🙂

  • 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-12T19:02:43+00:00Added an answer on June 12, 2026 at 7:02 pm

    Silex is a microframework meant to be used in small projects. It’s suitable for small websites with low traffic. It is also a good way to introduce yourself into some concepts like dependency injection, without introducing too many abstraction layers.
    They’ve recently introduced the target in their website as “single-file apps”, giving you a bit of the target scope for the framework.

    I think it should be fairly accepted fact that Silex is not suitable for anything big.
    Silex will not perform badly if your project works, but it will not be the nicest to work with once you start growing, as it will not help you too much. Symfony uses concepts you’ll see in Silex and is a full stack framework you can use for bigger applications with lots of bundles, plugins and a big community there to help you.

    Edit:

    Note I cannot delete the answer as it has been accepted. I haven’t used PHP in years now, since then, Silex has changed their approach from “microframework” to being just a library it seems. Whatever the case, the down-voting I believe must come from people involved with the project, probably upset of having created something which didn’t take off as they may have hoped.

    Just read the product docs, this was a request for an opinion which was given and accepted. I don’t think this question belongs to stackoverflow anyway.

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

Sidebar

Related Questions

I'm testing my REST API and the issue i have is that i create
I am working on a REST API to be used by a mobile application
I have been given some basic documentation of the RazorGator REST API and need
I am developing a REST API layer for my application using Zend_Rest_Controller. I have
I have an REST API with Yii Framework based on: http://www.yiiframework.com/wiki/175/how-to-create-a-rest-api/ I would like
I have a fully working & tested REST API. To create the documentation I
I'm trying to create a very simple REST server. I just have a test
I have ASP MVC 3 application. I created WCF REST JSON Service and added
I have basic authentatication working with REST API using curl: curl -X POST -H
I have set up a REST API using the Slim PHP framework, which works

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.