Tutorials , code & Inspiration
Browsing Category



How to build api module with yii2

Let's make an API module that will contain the actions currently reachable by the /services/json and /services/yaml routes. The following use cases should be supported: The GET request to the /api/services/json route should return the list…

Dealing with Server-sent Events in Html5

Imagine you’re building a simple stock ticker application. You have a server resource that publishes the APIs you need for getting stock values, so it’s quite easy to get things started. But how do you get updates to the stock values? How…

Pin It on Pinterest