public marks

PUBLIC MARKS with tag javascript

April 2015

Auto-formatting JavaScript Code Style — Medium

by manu
Today, we’re going to look at the powerful new auto-formatting feature in JSCS for automatically applying style guide rules in our scripts. This has been in-development for some time and is in my view, a game changer.

March 2015

February 2015

Home - A Drip of JavaScript

by ghis
One quick JavaScript tip, delivered to your inbox every other week.

What is spl_autoload_register, spl_autoload and autoload

by calipussoftware (via)
PHP does have some awesome function which can be very handy. SPL register function is one of them, we are going to talk about. As PHP manual says spl_autoload_register — Register given function as __autoload() implementation So what exactly it means ? Let’s try to understand with the help of an example. function Autoloader($className) { require_once $path.$className.'.php'; } spl_autoload_register('Autoloader'); $myObj = new MyClass(); Here we have just instantiated a class named as “MyClass” with out specifying include or require statements.

Blink Title of Tab in Browser

by calipussoftware (via)
Did you ever notice that sometimes your tab title gets updated on it’s own while you are browsing websites in other tab. There are many websites that do it. For eg. you shall notice that GMAIL update the title tab with counter of total number of unread email, each time your receive a new email. It’s a good practice to notify your customer that – something has just happened which needs your attention. That way your customer would not loose that important task and you would not loose that customer. Sounds Great!!

January 2015

cdnjs.com - the missing cdn for javascript and css

by Krome
Everyone loves the Google CDN right? Even Microsoft runs their own CDN. The problem is, they only host the most popular libraries. We host it all - JavaScript, CSS, SWF, images, etc!

List Out of Lambda / Steve Losh

by ghis (via)
A proof-of-concept on how to implemented data structures and its operations using only functions.

December 2014