http://code.tutsplus.com/articles/html5-page-visibility-api--cms-22021
demo link
http://demo.xpertdeveloper.com/page-visibility-api/demo1.html
Wednesday, September 17, 2014
Monday, September 15, 2014
Optimizing static websites hosted on IIS
- Minify HTML
- Set far-future expiration dates on static resources (JS, CSS, images etc.)
- Use cookieless domains for static files
- Use a CDN
Tuesday, September 2, 2014
What Is Clean Code?
http://java.dzone.com/articles/what-clean-code-%E2%80%93-quotes
I like this one by Dave Thomas, founder of OTI and godfather of the Eclipse strategy:
It has unit and acceptance tests.
It has meaningful names.
It provides one way rather than many ways for doing one thing.
It has minimal dependencies, which are explicitly defined, and provides a clear and minimal API.
Code should be literate since, depending on the language, not all necessary information can be expressed clearly in code alone
I like this one by Dave Thomas, founder of OTI and godfather of the Eclipse strategy:
It has unit and acceptance tests.
It has meaningful names.
It provides one way rather than many ways for doing one thing.
It has minimal dependencies, which are explicitly defined, and provides a clear and minimal API.
Code should be literate since, depending on the language, not all necessary information can be expressed clearly in code alone
If programming languages were weapons
http://bjorn.tipling.com/if-programming-languages-were-weapons
C# is a powerful laser rifle strapped to a donkey, when taken off the donkey the laser doesn’t seem to work as well.
C# is a powerful laser rifle strapped to a donkey, when taken off the donkey the laser doesn’t seem to work as well.
Subscribe to:
Posts (Atom)