C
C
coder-top2016-04-06 10:50:12
Nginx
coder-top, 2016-04-06 10:50:12

So what to choose for REST API -> ORACLE, (NODE vs PHP)?

I just can’t decide whether to use node.js for angular (rest api to the oracle database), or use php (yii2)?
I read so much information, I already chose a node, chose Sails.js and already started working, but after this topic - Don't use sails.js, I really felt like it.
The most used remain - Express , Koa , Hapi . Each of them is good or bad in its own way, each has its own entry threshold and its own development methodology, a different approach to writing.
Use full-stack (both client and server part) - Meteor , MEAN - Mean.io , Mean.js (but I have an oracle base).
An application in angular, a regular admin panel, each user logs in with his own login, there is a menu with the distribution of rights, on each page there is a data table from oracle and changing / adding data. Those. the usual business logic, something of a workflow, only the workflow itself is implemented on the database. The more I read about the node, the more there is a fear that it will be difficult to maintain the project in working order, you can easily screw up the shit code on the node (I'm just a beginner). Although any project can be screwed up, the node is still more serious than implementing the REST API in php (framework yii2).
This question has been tormenting me for more than a week - should I use nodejs + angular (or full-stack ala meteor) or angular + php (yii2)? In general, take that the level of knowledge is approximately the same, but there is no development experience on the node. Only theory. Help to reasoned approach to the architecture of the project.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2016-04-06
Protko @Fesor

do you have to do or play? If you play - write on the node, at the same time you will gain experience. And if you do things - php, since you have experience.
Anything will do for your task, and Angular does not care what the server part is implemented on, as long as you do the right apishka.

I
Ilya, 2016-04-06
@geeek

Judging by the description, all business logic should be in stored procedures. The server language (php or js) is not important at all, it will only send data to the client to display it. IMHO, express is better.
You can use Meteor for rest, but it will not be the most convenient way, besides, all its essence (reactivity) will be lost.

V
Vladimir, 2016-04-06
@azrail_dev

If this thing needs to be done as quickly and efficiently as possible - use what you understand.
As for yii + php, there will be no special problems, there are sometimes jokes, for example, working with CLOB fields, but everything is solvable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question