Does the back-end language change the way an application is developed?

Asked

Viewed 112 times

0

I have a project where I need to build a hybrid application using a back-end in Delphi. But before embarking on the project I need to ask some questions, because I never worked with Delphi.

Normally in a hybrid application we communicate with the back-end via Ajax, where we send get or post parameters to a back-end URL and take the return that is usually a JSON. This is the default behavior when we talk in a back-end in PHP or Java.

But what about Delphi? Is the way to develop the application changed? Or does it not change anything? We normally make requests by Ajax sending get or post data and collecting JSON results?

I know this depends on the system in Delphi, but regardless, a back-end in Delphi could work as one in PHP or Java, commenting on Ajax requests with post and get and return a JSON?

  • If the server can respond to POST and GET return JSON no matter the language, it can be ASP, Java, PHP, Nodejs, whatever, could return to an XML.

2 answers

1


I don’t think you should change, no. You could build your back-end using Rest, so no matter what language you would use in the front-end, they would all consume your back-end using ajax requests, switching JSON. I am building a small application, in the back-end use C#/MVC/EF, in the front-end use Angular. Angular is great.

0

A tip for you, try using languages that you can work with object orientation. Working with Delphi will give you a headache when it comes to maintenance. Regarding ajax with post and get returning a json. Many languages have the power to do this, I do it myself in working with PHP.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.