Development on Various Platforms
12.0K views | +0 today
Follow
Development on Various Platforms
Your new post is loading...
Your new post is loading...
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

High Performance Web Components

How many photo carousels have you built? Date pickers? Dynamic tables and charts? Wouldn't it be great if there was a way to make these custom elements encapsulated and reusable? Welcome to Web Components! The building blocks are well known: HTML templates, custom elements, HTML imports, and shadow DOM. It's fairly easy to build simple examples. But what happens when performance degrades? Join this discussion of the synchronous and asynchronous nature of web components, and how they can impact the rendering of the entire page.


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Lucuma - A Web Components library for ClojureScript

Lucuma - A Web Components library for ClojureScript | Development on Various Platforms | Scoop.it

At its core lucuma helps with creating custom HTML tag elements (Web Component) encapsulating content, style and logic. It is not a fancy MV* framework and aims at being a thin layer building on top of next generation web standards (mainly Custom Elements and Shadow DOM). 

It also makes the extra effort of being flexible and open to existing ClojureScript standards and libraries.

Lucuma is conceptually similar to polymer, x-tags or Polymer.dart.


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Getting started with web components and polymer.js - II

Getting started with web components and polymer.js - II | Development on Various Platforms | Scoop.it

This article describes still rarely supported Shadow DOM features. 

This article will describe things to improve the checkbox component, that got built up in the last article. By improving I mean making the web component more configurable and making it stylable from the “outside”. Additionally it will cover some mistakes that were made in first place, but let us just dive into it. ;)


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

The Future of AngularJS

The Future of AngularJS | Development on Various Platforms | Scoop.it

Brian Ford shows the use of ES6 Modules and Web Components used by templates in AngularJS. Also it is shown how object.Observe could replace $apply.


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

X-Tag - Web Components Custom Element Polylib

X-Tag - Web Components Custom Element Polylib | Development on Various Platforms | Scoop.it

X-Tag is a small JavaScript library, created and supported by Mozilla, that brings Web Components Custom Element capabilities to all modern browsers.

Web components is an emerging group of specifications under the banner of the W3 that provide developers with a serious, browser-integrated mechanism for creating reusable components for the web platform. X-Tag is focused on making a foundational piece of the Web Component spec, Custom Elements, available to all recent browsers.

X-Tag was developed at Mozilla by Daniel Buchner and Arron Schaar, working directly to help shape and advance the W3 specs in partnership with various key individuals at Google (most notibly, Dimitri Glazkov and Alex Komoroske).


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Brick by Mozilla

Brick by Mozilla | Development on Various Platforms | Scoop.it

About a week or so ago, Mozilla announced the release of Brick. Brick is a set of components based on the W3C standard for Web Components. It is essentially a way to create your own HTML tags and have them rendered out on the client. Anyone who has ever downloaded a UI library knows that there is a strong need for this. Imagine a developer who does not have good JavaScript experience. Instead of having to learn something like jQuery UI to add tabs to their application they can simply include a library and use tags to write out their HTML. We aren't quite there yet but it's approaching.


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Custom Elements - A Web Components Gallery for Modern Web Apps

Most popular elements:

* github - Web Component wrapper for @mdo's GitHub button using Polymer

* gravatar - Web Component wrapper for Gravatar using Polymer

* youtube - Web Component wrapper for Youtube's player using Polymer


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Web Components and the Future of Web Development

Web Components and the Future of Web Development | Development on Various Platforms | Scoop.it
A short introduction and overview of Web Components - what is this new HTML5 technology, why it's needed for development, and how it helps website builders.

Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Building a tag editor with Ember.js

Building a tag editor with Ember.js | Development on Various Platforms | Scoop.it

I’m often still amazed at just how well Ember deals with complexity.

Ember Components are one of many reasons for this, they very neatly allow us to create decoupled views which can be reused throughout our application. Below tag editor component which consists of 30 lines of clean JavaScript. (view the source on jsbin)


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Ember Components – Reusable Building Blocks For Your Application

Ember Components – Reusable Building Blocks For Your Application | Development on Various Platforms | Scoop.it

Web components promise to bring reusability and encapsulation to the next version of JavaScript. The bad news is that their power is out of reach until mainstream browsers fully implement the ECMAScript 6 standards that make up web components. Fortunately for Ember.js developers, the power of web components can be leveraged today in the form of Ember components. Ember components share more than a similar name with Web Components, they aim to adhere as closely to the W3C Web Component spec as possible.

In this article, I’ll show you how to use Ember components to build a reusable building block for a scrum card management application. For those of you who have never used Ember before, don’t worry, we’ll also cover some of the basics of Ember.js that you need to know.


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Creating a Markdown Tag with Polymer

Creating a Markdown Tag with Polymer | Development on Various Platforms | Scoop.it

Ah Markdown… Such an amazing tool. I honestly would not be writing this blog post if Markdown did not exist. I tried many times to get in to blogging but I always found the writing experience, whether it be in a GUI or WordPress’ HTML mode, too limiting. Markdown changed all of that for me and I think it’s high time we make it a full fledged member of our developer toolbox.

So today I’m going to show you how to build a Markdown tag using Polymer, a Web Components framework from Google.


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Getting started with web components and polymer.js

Getting started with web components and polymer.js | Development on Various Platforms | Scoop.it

Web components are basically small encapsuled units inside of a website or web application(like for example the HTML5 video element). They include their own styling(CSS) and their own behaviour(JS). And this is the main advantage of them. Imagine little pieces inside of your web app, that are not influenced by the global stylesheet and whose children are not affected by any written JavaScript function. This way you end up with a box of bricks and the only thing to do is putting them together easily. Additionally you can use them whereever you want, because they include everything they need to look awesome and to behave awesome. Sounds really like a dream to me. :)

I started looking around and decided to use polymer.js (written by the Google guys) to play around with the principle of web components. Unfortunately they are rarely supported these days and this library gives me the opportunity to use this technique already today by providing needed polyfills.


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

gremlin.js - cuddly javascript components

gremlin.js - cuddly javascript components | Development on Various Platforms | Scoop.it

GREMLIN.JS will help you add modular, robust and well organized Javascript functionality to all the classic websites existing and created in the future.

Classic? GREMLIN.JS isn’t for every website: it is no MVC library, does not provide magic binding tricks, it was not created to add another SPA (single page application) client library to the list… It’s a library for the masses. All the sites currently built Spaghetti style without any supporting layer that helps you structuring the site and organizing the code at all will benefit greatly.

If this isn’t enough for you, think of your current way adding Javascript functionality to websites. In most cases jQuery will be used, plugins are included, and in the best case, there is some sort of main.js that handles all the magic inside a $(document).ready handler. This tends to end in a huge mess of hardly maintainable code snippets and it’s up to you to initialize new elements added with Javascript to the document.

GREMLIN.JS forces you to write modular and sandboxed Javascript that can be used everywhere. It will manage all components for you, takes care of them and initializes every single one when needed.

 


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Exploring HTML Imports

Exploring HTML Imports | Development on Various Platforms | Scoop.it

Web Components have come a long way in the past few months and one of the technologies that I’m most interested in is HTML Imports (or “imports”, for short). Imports allow you to load additional documents into your page without having to write a bunch of ajax. This is great for Custom Elements where you might want to import a suite of new tags. I spent the day playing with imports and thought it would be useful to write up my progress.


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Brick - UI Components for Modern Web Apps

Brick - UI Components for Modern Web Apps | Development on Various Platforms | Scoop.it

Brick is a bundle of reusable UI components created to enablerapid development of HTML5 apps. Brick adds new HTML tags- allowing developers to express the structure of an application in a clearer, more concise manner.


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Speed Up App Development with X-Tag and Web Components

Speed Up App Development with X-Tag and Web Components | Development on Various Platforms | Scoop.it

In the last few years we’ve witnessed an evolution in what ‘app’ means to both developers and consumers. The word app evokes the idea of a rich, task-oriented user experience with highly optimized user interface that responds to its environment and can be used on an array of common devices. In order to make development of rich app experiences easier, native platforms have generated many of their own controls and components that Just Work™.

For other native technology stacks, extensible components are all but assumed – not so much for the web. Soon, that all changes. We are on the verge of a declarative renaissance that will dramatically advance app development for the web platform, and Web Components will drive it.

 


Via Jan Hesse
more...
No comment yet.