Posts

Localization vs. Internationalization

There has been many discussions and different definitions you will find on Internet on how these two terms are different than each other. But in real, these are correlated. What I have figured out is that localization simply mean making your application adaptive to any particular region to meet the language, culture or other requirements of that local region. On the other hand, internationalization means making your application capable of handling different localizations. Confused? Say you want to have support for specific language in your application and originally, your application was developed in France. So, the only language you supported so far was French. Now, you decided to go to launch it in Spain also. What do you do about that? You probably create another version of your app in Spanish or have some way to make it work for the people in Spain. This is localization . Now, Internationalization would be if I add English, Chinese, Japanese and other languages which wou...

UI Drama

It's been 6 years I have been working in front-end technologies. And, when I say "work", it means solving real life problems and not JUST creating web pages. At the milestone of 3 years, it was the time to evaluate libraries and frameworks, some good, some very complex but,  none was something you can use in any type application.  Then, I thought why not to build my own framework that can be used in any type of application. I built a very simple and light weight framework which lets me include any available open-source library into my project, and I don't have to worry about all transitive dependencies. It does everything for me. It was very simple - npm->grunt->bower->Application . And you know what, it is good for small applications as well as large applications. It has on demand-lazy-loading-feature by default. I was hardly facing any problem, never felt any need to become proficient in any of the so-called latest and popular frameworks. I would go check, ...

Website Performance Techniques

Caching  - Yes, one of the most important technique for any website of web-application. It has many levels and ways - from server side cache to browser level cache, from natively provided by browser to custom build cache. Browser cache  - browser caches static resources used by website if proper header tags are given, like expiry-date, e-tags, mime-types. LocalStorage - if we are going to use response multiple times and it won’t be changing so frequently and will remain same across sessions, we better save it in localStorage. SessionStorage - session storage is another form of localStorage cache, but with scope browser-session. Cookies  - if data is small and localStorage/sessionStorage is no available, we can polyfill it with cookies. RocketLoader & PageSpeed are tools available which can save you bandwidth using localStorage. Preloading of images and resources  ahead of time is another way of making website faster, if we know user is going...

Custom & Eclipse shortcuts key bindings (keyboard mapping) for Sublime Text 2 and 3

Paste this json in your Pref->Key Bindings - user