Answer the question
In order to leave comments, you need to log in
What is the best framework for working with APIs of third-party sites via cron?
Hello people, there is a task to make SMS notifications for clients, the data will be taken from a third-party service via API, information will be requested by the crown every 5 minutes, if something new has appeared, then we climb into the database for the phone number and other information and notify the client by sending SMS ( also through a third-party service)..
there will be no interface at all, everything will be through cron
. I know yii1, yii2, but they are weighty and redundant.
Answer the question
In order to leave comments, you need to log in
On the one hand , the Camaro67 is right and the self-writing will be more justified in terms of load. On the other hand, on the framework it will be faster and easier to implement, and then it may still be necessary to finish or stir up the admin panel in order to view statistics and so on. Then the framework is it.
Regarding yii1 - we forget and use yii2. I didn't understand about weightiness. 50 mb is 10 minutes of video or 100 pictures. Trouble finding 50 MB on disk?
And in terms of server load, well, phalcon is faster, but development on it will be more difficult, here are the tests:
www.skillz.ru/dev/php/article-popular-php-framewor...
Take a Dependency Injection container: PHP-DI , symfony/dependency-injection , pimple/pimple
Take a console component: symfony/console
Take a database component: doctrine/dbal , PDO ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question