PHP Wants To Be Your Web Language Of The Future – Part 3 – Constant Array/String Dereferencing and Empty for Expressions

This is part 3 of a 6 part series looking at the some of the wonderful features of PHP 5.5 and why it might remain a dominate web language for the future. This series was originally written for the Software Developer's Journal. In part 3 we are covering a couple of my favorite features introduced in the PHP 5.5 branch. The first one, constant array and string dereferencing, have been a ...

PHP Wants To Be Your Web Language Of The Future – Part 2 – “Finally” and Password Hashing

This is part 2 of a 6 part series looking at the some of the wonderful features of PHP 5.5 and why it might remain a dominate web language for the future. This series was originally written for the Software Developer's Journal. Continuing on with our 6 part series, the next two items that make PHP the language of the future is the finally keyword (which is used in conjunction with ...

PHP Wants To Be Your Web Language Of The Future – Part 1 – Generators

This is part 1 of a 6 part series looking at the some of the wonderful features of PHP 5.5 and why it might remain a dominate web language for the future. This series was originally written for the Software Developer's Journal. Back in the early days of PHP the language was very different than it is today. While classes were available, PHP itself was very fragmented and felt more like ...

Tricks for Getting Around the ‘XMLHttpRequest Cannot Load’ Security Limitation in JavaScript

Some number of years ago web browser developers came up with the idea of allowing JavaScript to pull data from other sites into a web page on-the-fly. That day AJAX was born! Short for Asynchronous JavaScript and XML, this technology provided a mechanism for web pages to change their content without requiring the whole page to be refreshed. It was a great idea and has revolutionized some of the way ...

Serializing and Deserializing XML Through a URL Endpoint in C#

Recently, at the company I work for, I had to merge two very different web sites together. While both use C#, that is where they pretty much stopped in similarity. We were exploring ways to have them talk to one another very plainly and transmit only minimal amounts of data. One website was a store which was built around the idea of digital products and it had to talk ...

Quick Tutorial: Building Menus Dynamically With the MenuStrip Control in C#

One of the easiest ways to build a menu on Winforms is by simply dragging and dropping a MenuStrip control from the toolbox on your form and then go to town filling in menu text and attaching events. Most of the time this is the way to go and works for the majority of programs out there. What we will cover this time around is just a few examples of ...