Code Monkey home page Code Monkey logo

x-business-card's Introduction

エンタープライヤーのためのWeb Components Study

Web ComponentsでWeb名刺を作ろう!

はじめに

この資料はWeb名刺を作成するハンズオンを通じて、Web標準の「Web Components」学習するための資料です。Polymerの学習ではありませんのでご注意ください。
(なお、資料の内容は2014年9月現在のWeb Componentsの仕様に基づくものです。)

ゴール

Web Componentsの基本を把握し、様々なWeb Componentsのサンプルを見ながら、オリジナルのWeb Componentsを作れるようになるまでをゴールとしています。

前提となるもの

  • 学習を進めるにあたり、ローカルにWebサーバを立てる必要があります、資料の中ではgrunt-contrib-connectを使って簡易Webサーバが起動するようにしてあるため、NodeGruntの実行環境が必要です。
  • GitとChromeがインストールされていることを強く推奨します。
  • Githubアカウントがあると配布がスムーズに行えて尚良です。
  • フロントエンド開発が初めての方、開発環境構築が面倒な方は、ブラウザ上で簡単にフロントエンド開発ができるCloud9のアカウントを作成して、これを利用してください。

デモ

http://html5bizj.github.io/x-business-card

発表スライド

<iframe src="//www.slideshare.net/slideshow/embed_code/38850199" width="427" height="356" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>

目次

  1. 準備
  2. Web ComponentsでHello World
  3. Web名刺を作成
  4. Web名刺をデコレーション
  5. 配布(名刺交換)

脚注

文中での 💝 は技術的な細かい内容について書いています。ハンズオンでは取り扱いません。

作者

mitsuruog

後援:html5jエンタープライズ部

x-business-card's People

Contributors

mitsuruog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

x-business-card's Issues

JavaScriptコードがひとまとまりになっていることについて

JavaScriptが一つにまとまっているが、アクティベートするところは分けるべきでは...

定義したWeb Componentsに
・画像を追加する
・イベントを定義する
といったような内容は
<template>
<script>
SomeThing...
</script>
</template>
として定義すべきであるが、アクティベートするロジックは分けるべきではと思います。
また、templateを定義したファイルにアクティベートするロジックを
入れるべきではないと考えます。

如何でしょう? :-)

English?

Hey, would you write english document instead, we cannot understand Japanese

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.