Private messaging with socket.io and angularjs

Private messaging is a familiar concept that everybody has knowledge of but most of the novice developers are lost while developing one. In this tutorial I have chosen socket.io and angularjs. Socket.io helps in transmitting data realtime while angularjs (MVC framework) is tightly coupled with data-binding along with DOM manipulation which jQuery does. Believe me, its time for you to switch to angularjs. Angularjs 1.5 also supports jQLite that’s an added advantage!

Continue reading

Weather forecast API using jQuery, Ajax and PHP

Weather forecast API is widely used as widgets in small blogs to huge news website and even as widgets in many websites. Unlike other forecast widgets in this tutorial I have used a unique animation feature WebGL to create raindrops effect. The design credits goes to Codrops which permits the use of their source codes to use in commercial and personal projects. Check out their articles to learn more about the design.
Continue reading

Login with Facebook oauth API

Facebook oauth API is a concept where you allow anonymous users to access authorized content using their Facebook account. This kind of login system is what internet users prefer to quickly login to a website instead of filling up registration forms and activate account from a link. After all users prefer easiest methods in any aspect of internet world. In this tutorial you will learn how to authorize a user by redirecting them to facebook and get their account details.
Continue reading

Direct upload to Amazon S3 using EvaporateJS and PHP

Direct upload to Amazon S3 tutorial is rarely available on internet with a clear cut explanation. Although you find a few unsatisfying articles they don’t have a demonstration in jQuery and PHP. So I thought of writing a tutorial on this topic. I have implemented this upload in Laravel framework and it works seamlessly. Now lets see how to integrate this with jQuery.

Continue reading