P
P
Pavel Zelebobin2017-02-04 15:39:29
PHP
Pavel Zelebobin, 2017-02-04 15:39:29

What to choose for REST API development?

Good day.
Help me decide. I want to develop a small API for my Angularjs application. Now I'm thinking of developing an API using something else. Once I worked a little with PHP, I started to understand Phalcon (now I remember almost nothing about it). Now there are so many PHP frameworks that I don’t even know what to choose.
There were thoughts to try NodeJS, but I did not work with it at all.
What technologies would you recommend to use for API development?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
X
xmoonlight, 2017-02-04
@xmoonlight

https://fatfreeframework.com/ - for the REST API, that's it: lightweight and fast.
Framework comparison: here

R
Rou1997, 2017-02-04
@Rou1997

For the last couple of years I have been developing applications in C# (ASP.NET MVC). I am currently not working on Windows.

But what about the "vaunted" Mono and ASP.NET Core? I would first study such solutions, even wondering what they are in practice, and not on the “paper” of Habrahabr news, etc., if they are good, then you can save a lot due to the existing developments and experience in ASP.NET.
If it’s something else, then I recommend the Yii2 framework, precisely because, in addition to the REST API, you will probably need an “admin panel”, and it should have a web UI, so Yii2 has some tools for this - for the UI there Bootstrap and for it a "wrapper" from OOP PHP, and "out of the box", but in Laravel, let's say there are none.

G
GTRxShock, 2017-02-04
@GTRxShock

In fact, from practice, I can advise you to look towards the Silex microframework. For a rest api with jwt authorization, it should be enough for the eyes, but if the project grows, it will be possible to migrate to a full-fledged Symfony
without any problems and yes, there are already all the necessary bundles (packages) for quick development of the admin panel and other goodies. ps If you have time and opportunity to experiment, then take a look at Scala, Node.js, Go. Be satisfied :)

A
anton_lazarev, 2017-02-04
@anton_lazarev

https://www.slimframework.com/ - Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.

Z
Zelimkhan Beltoev, 2017-02-04
@Beltoev

For the last couple of years I have been developing applications in C# (ASP.NET MVC)

After that, you still have doubts about what to use?
Use ASP.NET Core:
  • I ran it on Ubuntu without any problems.
  • Many useful libraries have already been ported to it.
  • No dependency on MS stack

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question