ES6 ( ECMAScript 2015) has introduced a new feature called Promise. There are numerous excelent articles and books that explain the way that Promises work. In this article, we are going to try to provide a simple and understandable description of how Promises work, without digging into much detail.
Javascript
Introduction to Svelte
Svelte (some might say SvelteJS, but officially just “Svelte”), currently in its third revision, is a front end framework in the same vein as React, Vue.js, or Angular. It’s similar in that it helps you paint pixels on a web page. It’s different in a lot of other ways.
Debugging Javascript Like a Pro
The Dev Tools are an incredible resource for debugging complex code. Sometimes you may dig deeper than console logging, and the tools above will allow for an in-depth debugging experience. These tools require a little practice before you’ll be fully comfortable using them, so don’t be put down if you’re feeling unfamiliar with all the options available.
Serializing a PascalCase Newtonsoft.Json JObject to camelCase
Andrew Lock on some of the quirks of using JObject, in particular the way it doesn’t honour the contract resolver settings used to serialize a given object graph, and three different ways to work around the behavior: set the global serializations settings, store the JObject using camelCase property names, or convert from a PascalCase JObject to a camelCase JObject. For the final option, a provided an extension method and unit tests to demonstrate the behavior.
JavaScript Clean Code - Best Practices
Milos Protic:
… the clean code can be defined as the code written in such a manner that is self-explanatory, easy to understand by humans and easy to change or extend.
MythBusters JS
MythBusters JS is an open source handbook to explore various best practices, performance patterns, and tips obtained from engineering posts blog, podcasts, conference videos, etc. You can also share your performance tip or pattern by creating a pull request in MythBusters JS GitHub repository.
iPhone - Scroll Bottom Bookmarklet
You can easily scroll to the top of the webpage by just tapping on the top bar ( the bar which has icons like signal status, carrier name, time etc.) of iPhone but how about scrolling to the bottom of the page? If you are browsing very long web page then sometimes it becomes a bit annoying to scroll through the whole page to get the bottom of the page. But here is a small Javascript hack, through which allow you to scroll to the bottom of the page with just one tab. You just require adding this Javascript code as a bookmarklet (or sometimes it also called Favelet):
Javascript Code:
|
|
Link: Scroll Bottom
To add Scroll Bottom bookmarklet, just drag above link to Safari Bookmarks Bar and then sync to your iPhone through iTunes.
Following are some relative articles for bookmarks and syncing to the iPhone:
Syncing iPhone and iPod touch with your computer
iPhone: Using Bookmarks
17 powerful bookmarklets for your iPhone