PHP started supporting closure from the 5.3.0 version, but still, many PHP programmers don't know/make effective use of it yet. I also haven't seen that many articles on it as well. In today's PHP closure tutorial, I will try to cover how you can start using it easily and make your web application more robust/optimized. Before driving into real examples, assuming that you are … [Read more...] about Beginners Guide To PHP Closure
Programming
PHP HTML5 Video Streaming Tutorial
HTML5 video player is becoming more and more popular day by day. Though it can stream with a given public video file URL, sometimes you will need to control the streaming from your server script to provide additional facilities like authentication, resume support, sending in partial chunks etc. In a recent project had such a use case, where a video needed to be streamed through … [Read more...] about PHP HTML5 Video Streaming Tutorial
PHP i18n Internationalization Tutorial
This tutorial will guide you through the way to make your application internationalized and be multilingual. It is already been used in wide range successfully for WordPress's multi language support feature. You should know prior that, debugging this feature is quite hard in php as it won't show any error/warning or notice message for any kind of failure. So it is up to you to … [Read more...] about PHP i18n Internationalization Tutorial
Multiple Objects From Aamazon S3 With PHP SDK
Recently I was working on a task that required retrieving multiple media files/objects from the amazon s3 service, processing them to create preview/thumbnail versions and showing them on a web page. It is a pretty straightforward task except for the performance issue. What is gonna happen when there are several files(as the number of files is dynamic) and retrieving them one … [Read more...] about Multiple Objects From Aamazon S3 With PHP SDK
Control HTML5 Audio With Jquery
You can consider this tutorial as a consequence of my earlier html5 audio API tutorial. In this tutorial, we will see how to control the audio with jQuery. This is handy if you are about to develop a dynamic application that makes use of several audio media and wants to control them from your jQuery script efficiently. Let's start rolling! How Far We Can Control? Well, … [Read more...] about Control HTML5 Audio With Jquery