I few months ago a friend of mine was doing some frontend development and need to mock out some API calls. In the past I’ve used tools like apiary or swagger to document APIs and even mock out endpoints. He was in a rush so neither were a great option. Both of these tools require ...
This is the second part of this post. If you missed the first part, we wrote all the PHP code for the WebSocket server and got it running. We are going to work on the frontend in this post. If you haven’t read part one, I would read it first. Simple PHP Websocket Application with ...
A couple years ago, I wrote a simple chat application. I did some research and found out that Facebook chat and notifications used a technique called long polling. So I wrote the application utilizing that methodology, and it worked pretty well. However, while I was writing the application, I kept seeing references to WebSockets, but ...
I wanted to test out the new php7.0 alpha release in my local environment. I currently am running Windows 8.1 with Wamp Server installed. Wamp Server obviously doesn’t have a version to download yet with php7 so I figured I would try to get it to work myself. Here are the steps I took to ...
So when I first started using MVC frameworks in PHP the first framework I really dove into was Yii. One of the coolest things about Yii is they have a code generator called Gii. Gii would look at your database and create Models, Controllers, and even Views for basic CRUD automatically. Laravel has something similar ...