React UI Development: Introduction to "UI Component as API"Itaru Kitagawa
?
This document summarizes a talk on developing user interfaces as independent components using React. It introduces the concept of "UI Component as API" where components are developed independently from applications using React and tools like Storybook. Components are developed as pure functions and tested using snapshot testing in Storybook. This allows different teams to work independently on isolated layers while still providing documentation and testing for components.
JavaScript : What is it really? AND Some new features in ES6Aayush Shrestha
?
I built this presentation for Prime ICT Meetup that happened in Kathmandu on June, 2016.
Here, I talk about What JavaScript really is and about some new features introduced in ES6.
The first part of the slides are taken/influenced from David Crockford's talk called "Really. JavaScript" : https://www.youtube.com/watch?v=lTWGoL1N-Kc
Getting started with ES6 : Future of javascriptMohd Saeed
?
Motivation: Why should we use ES6?
ES6 Features
What to be covered next?
How to use ES6 Features today?
Transpilers ( source-to-source Compiler)
Famous Build Tools
In my presentation at Megro.es #3, I talked about:
* introduction to kontainer-js, MP4 library written in ES2015
* advantage of publish-time transpilation
ES6 introduced many new features to JavaScript including let and const block scoping, arrow functions, classes, promises, and modules. Tooling like Babel is currently needed to use new features by transpiling code to older JavaScript versions. Future releases will continue enhancing JavaScript with new syntax and capabilities under an annual release cycle. ES7 proposals include concurrency, streams, math enhancements, and better metaprogramming with classes.
The document introduces npm (Node Package Manager) and how to publish packages to the npm registry. It discusses creating a package.json file to define metadata and dependencies for a package. It also covers using semantic versioning for releases, registering with npm, and publishing packages to the public npm registry so other developers can install them.
Getting started with ES6 : Future of javascriptMohd Saeed
?
Motivation: Why should we use ES6?
ES6 Features
What to be covered next?
How to use ES6 Features today?
Transpilers ( source-to-source Compiler)
Famous Build Tools
In my presentation at Megro.es #3, I talked about:
* introduction to kontainer-js, MP4 library written in ES2015
* advantage of publish-time transpilation
ES6 introduced many new features to JavaScript including let and const block scoping, arrow functions, classes, promises, and modules. Tooling like Babel is currently needed to use new features by transpiling code to older JavaScript versions. Future releases will continue enhancing JavaScript with new syntax and capabilities under an annual release cycle. ES7 proposals include concurrency, streams, math enhancements, and better metaprogramming with classes.
The document introduces npm (Node Package Manager) and how to publish packages to the npm registry. It discusses creating a package.json file to define metadata and dependencies for a package. It also covers using semantic versioning for releases, registering with npm, and publishing packages to the public npm registry so other developers can install them.
1. WebView allows Android applications to display HTML, JavaScript and CSS content. It provides a bridge that allows JavaScript code to interact with Java code in the Android app.
2. JavaScript code can call Java methods and Java code can call JavaScript functions through the bridge provided by WebView.
3. Images can be encoded to base64 strings in Java code and displayed in HTML content loaded in WebView, avoiding separate network requests.
C2DM (Cloud to Device Messaging) is a service that allows developers to send data from servers to Android applications. It uses Google's infrastructure to asynchronously deliver messages to Android applications via Google Cloud Messaging for Android. Developers must register their app with C2DM to receive a unique registration ID to identify app installations to which messages can be sent.
Chrome to Phone is a service that allows users to send web page URLs and notifications from their PC's Chrome browser to their Android devices. It uses Google Cloud to Device Messaging (C2DM) and a Chrome extension to facilitate communication between the browsers and devices. Developers must register with C2DM to receive messaging IDs to identify approved senders. Notifications and URLs are sent from the Chrome extension through C2DM servers to the Android application, allowing users to access web pages on the go.
The document discusses the use of salts in password hashing. It explains that salts are random strings that are added to passwords before hashing to protect against rainbow table attacks. It provides an example of how salts can be added to user IDs and passwords in a database to make each hashed password unique even if the original passwords are the same. The document recommends regularly generating new salts for each user to further strengthen security.