Getting Advanced with Variables

Variables are pretty straightforward in PHP. Anything that starts with a $ is a variable.  However, there are some things about them that can be somewhat confusing.  Let’s do an overview of Variables in PHP. Type Juggling In PHP, variables will automatically convert to whatever type is needed.  Most of these transformations are very natural and it allows programmers to spend the majority of time working on the application logic.  However, every now and then some of the automatic conversions can get you in trouble if you’re not prepared. For example, if you try to multiply an integer and a …

WebSockets and Ratchet

WebSockets have been around for quite some time, but are recently gaining a lot of popularity due to their ability to initiate messages from the server to the user, allowing the website to update on the fly! In this article I’ll be taking a look at what WebSockets are and how you can implement them using asynchronous PHP and Ratchet.