The rise of ECMAScript – Goodbye 2015

What is ECMAScript?

toptal-blog-image-1435169544237-7137138c9b6badce17ca1e6094598255

As per Wiki-  ECMAScript(European Computer Manufacturers Association) is a trademarked [1] scripting language specification standardized by Ecma International in ECMA-262 and ISO/IEC 16262. We use various implementations of ECMAScript for client side scripting on web. Examples are JavaScript, ActionScript and Jscript.

ECMAScript was developed by Brendan Eich- Father of JavaScript. It was named Mocha, then Livescript and finally JavaScript.

ECMAScript7: The rise of compilers

babel

After ES6 (2015), there was huge rise in number of developers switching from traditional way of writing JavaScript to start using compiled code generators. Compiled code generators compiles code written in other languages to JavaScript. Our favourite JS code compiler is Babel(https://babeljs.io/) as it is actively supporting ES7 (ECMAScript 2016). For example Babel compiles following code:

const input = [1, 2, 3];
console.log(input.map(item => item + 1)); // [2, 3, 4]

to

var input = [1, 2, 3];
console.log(input.map(function (item) {
return item + 1;
})); // [2, 3, 4]

which will run in any JavaScript environment.

 

Some more examples are Opal(http://opalrb.org/) for Ruby, Pyjamas(http://pyjs.org/) for Python, Perlito(https://github.com/fglock/Perlito) for Perl, j2js(https://github.com/decatur/j2js-compiler) for Java, Blade(https://github.com/vannatech/blade) for C# and so on.

Gulp and Grunt: Automate your workflows

gulp-grunt

Measuring programming progress by lines of code is like measuring aircraft building progress by weight. – Bill Gates

With active usage of tools like Gulp and Grunt companies and developers started automating workflows for JavaScript applications. These tools helped developers in doing lot of automated tasks like library upgrade, automated testing, folder structure creation and so on. If you didn’t use Gulp and Grunt in your projects till now and make a New Year resolution to automate your build process and automate JavaScript tasks for an easier life.

The incredible Node.JS

node

Node.js foundation grew to more than 3 million users. Companies like Intel, IBM and Joyent used Node.js to create software architectures, real-time location tracking services and IoT. With npm lives of developers became lot easier as they could do a lot of heavy architecture creation using CLI. Also I heard companies switching from traditional Java/PHP technology stack to next gen Node.js for their active products.

How rise of ECMAScript revolutionized cross-platform apps

This year we saw a lot of people moving from native to cross-platform and vice versa. Keeping same codebase across all platforms helped companies and developers to launch their products in really less time when compared to writing code in different languages for each platform. With tools like npm creating a Cordova application became one liner.

</pre>
$ cordova create hello2016 com.example.hello2016 Hello2016
<pre>

We can’t wait to see what ECMAScript7 will bring in for developers working on IoT and next generation apps in 2016. Wishing all readers Techie-Happy New Year.

Advertisements

Android 6.0 to be named Milkshake, Muffin or Marshmallow?

Almost everybody expected Android 4.4 to be called ‘Key Lime Pie’ to be in mouth watering alphabetical sequence of world’s most popular smartphone OS. There were also rumours that next release of Android will be named ‘Kaju Katli’, which is most sought after Indian sweet, but Google named it Kitkat. Next and latest was ‘Lollipop’. Here’s mouth watering alphabetical sequence that Google followed-

Cupcake (1.5)
Donut (1.6)
Eclair (2.0-2.1)
Froyo (2.2-2.3)
Gingerbread (2.3-2.3.7)
Honeycomb (3.0-3.2)
Ice Cream Sandwich (4.0-4.0.2)
Jelly Bean (4.1-4.2.2)
Kitkat (4.4)
Lollipop (5.0+)
Milkshake? (Next release)

What will Android M be called? ‘Milkshake’, ‘Muffin’ or ‘Marshmallow’? Comment your point of view.

Splash Math Logo

SplashMath- Silicon Valley edtech startup with 5 Million K-5 kids in US

StudyPad, Inc. is a Silicon Valley company that is the publisher of award winning Splash Math app series andwww.splashmath.com. It all began in 2010 from a garage in Delhi, around the time when the iPad was launched along with Common Core Standards that were introduced in the U.S.
Splash Math brings fun in the learning and practice of math with interactive games that enable kids master math skills with ease. Aligned to the Common Core State Standards curriculum for Grades K-5, Splash Math prepares kids for the standardized tests. As Common Core fever grips K-12 this year, Splash Math fits the bill as perfect the math practice solution.
Splash Math is platform agnostic. All kinds of devices find their way to today’s classrooms. From iPads and Android tablets to Chromebooks and Windows tablet PCs. Splash Math aims to replace Paper Worksheets with Fun Games and gear iPads/tablets, laptops/desktops for the classroom. Math practice anytime and anywhere is possible with Splash Math that works equally well on iPad/android tablets and on laptop or desktop. Once downloaded, it can be used on multiple devices with the same login and the progress of the kid can be saved and tracked in real time.
More than 5 million downloads & 30,000 classrooms – uncountable smiles and unlimited hours of fun are brought by the multi-award winning app that is recommended by the teachers and praised by parents!

AngularJS vs Model View Whatever frameworks

Image 

In mobile applications, as more and more logic ends up being executed in web view, Javascript front end codebases build on different frameworks grow larger and difficult to maintain. Mobile web and apps are moving towards a data driven architecture where browsers are responsible for dynamic rendering and two way data binding.

To increase productivity and maintain Codebase I have been developing and testing mobile apps using various frameworks ranging from Backbone.js which provides models with key-value binding, collections and connectivity to all existing API over a RESTful JSON interface to Google’s latest super heroic, MVW(Model View Whatever!) framework which can extend HTML vocabulary and bring it to next level

People say AngularJS is what HTML would have been, had it been designed for building mobile/web apps. Other frameworks abstract HTML, CSS, Javascript by providing an imperative way for manipulating the DOM whereas HTML was not designed for dynamic views. AngularJS comes packed with features like two way data binding, templates, directives, dependency injection and the best part is that it comes with end to end and unit test runner setup. What else could you ask from a framework?

Keep visiting for updates and tutorials.