S
S
Sergey2015-09-28 23:42:57
JavaScript
Sergey, 2015-09-28 23:42:57

Real-time application, jquery ajax or angular?

Good day to all.
There is a project, tsrm, while small. In the future, it is planned to install a warehouse, IP telephony, etc. Those. the project will develop strongly, while only in the bud. Although this fetus is already more than 140 hours / person.
Now the project is written in yii + jquery. The entire frontend is entirely in Ajax, i.e. on each request, everything needed on the screen is updated by javascript.
As the project grows, it starts to feel like I might shoot myself in the foot. Because jquery code grows inexorably and you have to remember a lot: what to update where, if something is updated somewhere, what to validate, etc.
And then the customer decided that the whole thing should be real-time, so that managers do not overwrite each other's works.

I decided to use Ratchet for realtime, but I think I’ll start writing new functionality in angular (ps didn’t really work with it, I just got acquainted). You may even have to rewrite the current functionality on it.

So the question is:
Should I change the front-end framework and, in general, the technology stack on the project? Or is it pure pure panic? Who in general used the application for realtime and what can you advise?
It is desirable of course with minimal extra labor costs?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Muraviev, 2015-10-08
@superaleh

I would use meteor js because this platform already implements transactions between the client and the server out of the box.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question