JavaScript Daily
11.6K subscribers
34 photos
2 videos
270 links
Daily JavaScript / JS community news, links and events.

"First, software ate the world, the web ate software, and JavaScript ate the web."

'JavaScript' is a trademark of Oracle Corporation in the US. We are not endorsed by or affiliated with Oracle.
Download Telegram
CamanJS

CamanJS is (ca)nvas (man)ipulation in Javascript. It's a combination of a simple-to-use interface with advanced and efficient image/canvas editing techniques.

CamanJS is very easy to extend with new filters and plugins, and it comes with a wide array of image editing functionality, which continues to grow. It's completely library independent and works both in NodeJS and the browser.

CamanJS is written in Coffeescript as of version 3.0. It works both in-browser and in NodeJS.


Check out - https://github.com/meltingice/CamanJS

For more of CamanJS - http://camanjs.com/



Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
A-Frame is a web framework for building virtual reality (VR) experiences. Originally from Mozilla, A-Frame was developed to be an easy but powerful way to develop VR content. As an independent open source project, A-Frame has grown to be one of the largest and most welcoming VR communities.


A-Frame is based on top of HTML, making it simple to get started. But A-Frame is not just a 3D scene graph or a markup language; the core is a powerful entity-component framework that provides a declarative, extensible, and composable structure to three.js.


A-Frame supports most VR headsets such as Vive, Rift, Windows Mixed Reality, Daydream, GearVR, Cardboard, and can even be used for augmented reality. Although A-Frame supports the whole spectrum, A-Frame aims to define fully immersive interactive VR experiences that go beyond basic 360� content, making full use of positional tracking and controllers.

Check out :
https://github.com/aframevr/aframe/

More documentation here:
https://aframe.io/docs/0.8.0/introduction/

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
#FoodForThought

Food for Thought

Following is the code to alert max number in an array. Can you think of a way to get the result without using loops ? Explore it yourself...


var numbers = [4,76,455,56,90,22];
var max = 0;
for(i=0;i<numbers.length;i++){
if(numbers[i]>max){
max = numbers[i];
}
}
alert("Maximum Number : "+max);



Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
#Animation

Border Animation for Text Box by Azouaoui Mohamed

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.

https://twitter.com/CodePen/status/1010224420110176256
#Events: Month of WebXR

This is a four-week hands on workshop on

* Creating VR/AR applications using A-Frame and AR.js
* Creating 3D art using Blender and Krita

What do you need to bring :

* Make sure you are getting a *Laptop* (BYOD)
* A mouse with middle click scroll/button (necessary to do Blender)

Schedule :

The entire series will run in two parallel tracks of Art & Tech.

Art Track :

We use open source software Blender & Krita to learn about creating 3D art. At the end of the workshop you will have an understanding of what goes into creating 3D models for your applications.

Tech Track :

We use open source frameworks threejs, Aframe and Ar.js to learn about creating applications. Our goal is to make you confident enough to explore and create a web application using the 3D model you have created in the art track.


RSVP here in Meetup:

http://meetu.ps/e/Fwfsz/yTfmH/d

Also Register here :
https://docs.google.com/forms/d/e/1FAIpQLSdta-pGMbDVrZkcLRgxGryjrfLmZdKxD-P4-z1DyBbb6G9jUw/viewform
Source: https://medium.com/@js_tut/javascript-operator-precedence-and-associativity-table-71ee154079c

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
👍1
Did you know that JavaScript was created in 10 days?

In May 1995, Brendan Eich wrote the first version of JavaScript in 10 days while working at Netscape.

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Pushbar.js

Pushbar.js is a tiny javascript plugin for creating sliding drawers in web apps

It is fully customizable and dependency free.You can use it as sidebar menus or option drawers.

Get it: https://github.com/oncebot/pushbar.js

Explore: https://oncebot.github.io/pushbar.js/



Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Natural Language Processing with NoSQL and JavaScript

In this article we'll see how to apply sentiment analysis on film (movie) reviews. Sentiment analysis means, that, based on an unknown review, an algorithm can decide whether a newly added review is positive (i.e. the review liked the film) or negative (i.e. the reviewer did not like the film).


Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.


https://fullstack-developer.academy/natural-language-processing-with-nosql-and-javascript/
Make Your PWA Work Offline Part 1:—Static Files

Creating a basic SW file to store static resources in the browser cache is only the first step of adding offline support to your application. You can extend this solution by introducing new features or modifying existing ones. 

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.

https://www.monterail.com/blog/pwa-working-offline
Pug.js to make your life easier with HTML templates

Pug.js is a HTML templating engine, which means you can write much simpler Pug code, which Pug compiler will compile into HTML code, that browser can understand. But why not write HTML code in the first place?

Pug has powerful features like conditions, loops, includes, mixins using which we can render HTML code based on user input or reference data. Pug also support JavaScript natively, hence using JavaScript expressions, we can format HTML code.

An application of that would be Email Templates to send email customized to particular user.

https://itnext.io/pug-js-to-make-your-life-easier-with-html-templates-9c62273626e0

See more here:
https://pugjs.org/api/getting-started.html

Fork it from:
https://github.com/pugjs/pug

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Creating a Markdown editor/previewer in Electron and Vue.js

To explore Electron, we will build a Markdown editor with live preview of generated HTML, using an HTML template of your choice. The UI will be built with a combination of Vue.js, Bulma/Buefy, and the ACE editor component.

Vue.js is a framework for implementing components that run in the web browser. Vue.js applications are built using these components and in theory one could build the UI entirely with Vue.js plus custom-developed CSS and JavaScript. But, again, there are several open source projects offering prebaked UI components with responsive web best practices built-in.

https://blog.sourcerer.io/creating-a-markdown-editor-previewer-in-electron-and-vue-js-32a084e7b8fe

Fork the code:
https://github.com/sourcerer-io/electron-vue-buefy-editor

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
👍1
fullPage.js

A simple and easy to use library to create fullscreen scrolling websites (also known as single page websites or onepage sites). It allows the creation of fullscreen scrolling websites, as well as adding some landscape sliders inside the sections of the site.

A perfect plugin for web slides...

https://alvarotrigo.com/fullPage/

Fork it here: https://github.com/alvarotrigo/fullPage.js/

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Looking for inspiration to work on VueJS?

Here is a showcase site you would like to watch and tinker with...

https://madewithvuejs.com/

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Building a Hangman Game with Vue.js

Working on a project that you are motivated to build is one of the most effective ways to learn how to code. This is a fun little project to learn about Vue.js, HTML and CSS.

To build the Hangman game, we will explore a few of Vue’s core features:
* Declarative Rendering and Template Syntax.
* List Rendering.
* Event Handling and Methods.
* Conditional Rendering.

https://www.30platforms.com/post/building-a-hangman-game-with-vue-js/

Video Tutorial: https://www.youtube.com/watch?v=y4yf5DRJI6k

Tinker with this code:
https://github.com/30platforms/vue-hangman-game

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
DraxtJS

Draxt is a utility module for selecting and manipulating filesystem objects in a Node.js environment. It uses glob patterns as its "selector engine". draxt also provides several DOM-like interfaces representing filesystem objects which build on promisified APIs for the fs and fs-extra modules.

Fork it here:
https://github.com/ramhejazi/draxt


Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Want to create Duotone effect on Images ?

Explore this design tool to easily create and generate Duotone images.

https://cssduotone.com/


Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
AJAX

Asynchronous JavaScript + XML, while not a technology in itself, is a term coined in 2005 by Jesse James Garrett, that describes a "new" approach to using a number of existing technologies together, including HTML or XHTML, Cascading Style Sheets, JavaScript, The Document Object Model, XML, XSLT, and most importantly the XMLHttpRequest object.

https://developer.mozilla.org/en-US/docs/Web/Guide/AJAX

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Uploading Files with AJAX

The ability to communicate with a web server without reloading the page has revolutionised how web applications are built. The primary technology that enables AJAX (XMLHttpRequests) has evolved significantly since the initial conception of dynamic websites.

A nice feature added to XMLHttpRequests in recent years is the ability to handle file uploads. Traditionally many developers have resorted to using technologies like Flash to upload files to a server. The problem with this approach is that the user needs to have a third-party browser plugin installed.

In this post you’ll learn how to upload files to a server using native JavaScript technologies. The example we’re going to use supports uploading multiple files in a single request. However, you can apply the same principles to single-file uploads too.

http://blog.teamtreehouse.com/uploading-files-ajax

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
A basic tutorial for HTML & CSS

HTML & CSS Is Hard to be the only introduction to HTML and CSS that you’ll ever need. If you put in the effort to read every section and write every code snippet, this tutorial has the potential to replace hundreds or even thousand of dollars worth of online courses and live training.

Our goal is to make it as easy as possible for complete beginners to become professional web developers, so if you’ve never written a line of HTML or CSS, but you’re contemplating an expertise, grab a cup of coffee, take a seat, and let’s get to work.

https://internetingishard.com/html-and-css/introduction/

Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.