I've been learning PHP for about a month and I'm putting the skills that I've learned to the test by creating my first real project. I plan on doing everything from scratch in an MVC structure (I know that using a framework such as Laravel would be a better choice, but I want to understand how much easier frameworks makes things before I jump into them).
However, I've hit a wall with my project, and I would greatly appreciate some advice. What would be the best way to watch for API changes? For example, say I want to monitor the Stackoverflow info API: http://api.stackexchange.com/2.2/info?site=stackoverflow. If it changes from 33 new active users to 34, I'd want to be able to detect that change. Once it does change, I would like for it to immediately notify the user (by notify I just mean a Bootstrap alert div that's pushed to the user without them having to refresh the page).
The only way I currently know of doing this would be with cURL and cron jobs, but I feel like there's a better way to accomplish this, and I'd like to avoid using crons because I feel as if the one minute interval behind checks wouldn't be fast enough. In addition, multiple users might be doing this at once — I've noticed that crons can be pretty taxing on my small VPS.
Feel free to tell me that I'm being an idiot by doing this in PHP. If there is a language/framework that is better designed for this type of work (maybe Node?), I'd love to hear about it. I can put this project on hold until I learn what you guys recommend and choose a completely different project to do in PHP.