반응형
반응형
JointJS: JavaScript diagramming library

 

Chart, Graph, javascript

 

JointJS is a JavaScript diagramming library. It includes basic diagram elements, interactive elements and links, touch support, animations, and more.

jointjs

Homepage: http://jointjs.com/
GitHub: https://github.com/DavidDurman/joint
Demo Page: http://jointjs.com/demos

 

 

http://jointjs.com/rappid

 

.Supported browsers

Only the good ones (those that support SVG):

  • Latest Google Chrome (including mobile)
  • Latest Firefox
  • Safari (including mobile)
  • IE 9+

 

 

반응형
반응형


Angularjs 도입가이드 공개



http://helloworld.naver.com/helloworld/1172239



AngularJS 는 2009년 Miško Hevery과 Adam Abrons에 의해 개발된 MVC(또는 MVW – Model View Whatever) 웹 프레임워크로, SPA(Single Page Application) 형태의 웹 애플리케이션을 빠르게 개발할 수 있도록 도와줍니다.

2013년을 기점으로 해외에서도 그리고 국내에서도 많은 개발자들이 관심을 가지고 있으며, AngularJS를 실제 서비스 개발에 사용하는 곳들도 점차 증가하고 있는 추세입니다.

AngularJS를 사용하는 개발은 기존 프런트엔드 영역에서의 개발방식과는 다른 접근 방법을 필요로 합니다.

기존 방식(DOM 제어방식)은 변경이 필요한 대상 DOM 요소를 먼저 선택하고, 이후 필요한 작업을 수행하는 형태로 진행하게 됩니다. 반면 AngularJS는 출력할 데이터에 초점을 맞추어 작업이 수행되며, 데이터의 값이 변경되면 출력도 자동적으로 수행되도록 처리됩니다.

AngularJS를 사용해본 많은 개발자들이 생각하는 장점들은 다음과 같습니다.

  • 유지보수가 쉽다, 개발속도가 빠르다.
  • 간편한 데이터 바인딩을 통해 뷰 업데이트가 쉽다.
  • 코드 패턴이 동일해 개인간 차이에 따른 결과물의 차이가 적다. 코드량이 감소한다.
  • SPA 개발에 최적화되어 있다.
  • 기능적인 분리가 명확해 협업이 쉽다.

그러나 항상 모든 것에는 장점만이 존재하지는 않습니다. AngularJS는 분명 좋은 프레임워크이지만 서비스 개발에 도입하고자 한다면 여러가지 면들을 충분히 검토해야 합니다.

이러한 고민을 하고 있는 분들을 위해 'AngularJS 도입 선택 가이드'를 공개합니다.

해당 가이드는 AngularJS의 사용방법을 다루지 않습니다. AngularJS를 사용한 애플리케이션 개발을 계획하고 있거나, 또는 도입을 고려하는 경우 참고 문서로서의 역할 수행을 목표로 하고 있습니다.

본 가이드는 기존 프런트엔드 개발 방법(DOM 제어방식)과 라이브러리/프레임워크 사용에 익숙한 개발자, 또는 AngularJS의 실 업무 도입여부에 대한 판단을 필요로 하는 실무자를 대상으로 하고 있습니다.

 

반응형
반응형
Matter.js: An HTML5 2D physics engine

 

 

Matter.js is a JavaScript/HTML5 2D physics engine for the web. It includes WebGL and Canvas renderers, it’s cross-browser and mobile compatible, and supports a variety of physics properties.

matter.js

Matter.js

Matter.js is a JavaScript 2D rigid body physics engine for the web

brm.io/matter-js

Features - Status - Install - Usage - Docs - Implementation - References - License

Build Status

Demos

Features

  • Physical properties (mass, area, density etc.)
  • Rigid bodies of any convex polygon
  • Stable stacking and resting
  • Collisions (broad-phase, mid-phase and narrow-phase)
  • Restitution (elastic and inelastic collisions)
  • Conservation of momentum
  • Friction and resistance
  • Constraints
  • Gravity
  • Composite bodies
  • Sleeping and static bodies
  • Events
  • Rounded corners (chamfering)
  • Views (translate, zoom)
  • Collision queries (raycasting, region tests)
  • Time scaling (slow-mo, speed-up)
  • Canvas renderer (supports vectors and textures)
  • WebGL renderer (requires pixi.js)
  • MatterTools for creating, testing and debugging worlds
  • World state serialisation (requires resurrect.js)
  • Cross-browser (Chrome, Firefox, Safari, IE8+)
  • Mobile-compatible (touch, responsive)
  • An original JavaScript physics implementation (not a port)
반응형
반응형

Snabbt.js: A minimalist JavaScript animation library

 

Snabbt.js is a minimalist JavaScript animation library that offers 60FPS animation, even on mobile. It’s lightweight (less than 4kb minified and gzipped), and simple to use.

snabbt.js

 

 

 

 

 

반응형
반응형

[javascript] DropzoneJS - drag'n'drop file uploads with image previews library

 

http://www.dropzonejs.com/

 

Github : https://github.com/enyo/dropzone

 

Dropzone.js 

Installation

Download the standalone dropzone.js and include it like this:

<script src="./path/to/dropzone.js"></script>

Dropzone is now activated and available as window.Dropzone.

Dropzone does not handle your file uploads on the server. You have to implement the code to receive and store the file yourself.

With component

If you use component you can just add dropzone as a dependency:

"enyo/dropzone": "*"

Then include it like this:

var Dropzone = require("dropzone");

so it is activated and scans the document.

The basic CSS markup is also included with component, but if you want it to look the same as on this page, you have to download the CSS (see below).

With RequireJS

Dropzone is also available as an AMD module for RequireJS.

You can find the dropzone-amd-module in the downloads folder.


This is all you need to get dropzone up and running. But if you want it to look as cool as my dropzone, you’ll need to download the css/dropzone.css, images/spritemap.png and images/spritemap@2x.png as well from the downloads folder.

If you change the folder names make sure you adjust the paths in the css.

The @2x.png spritemap is to support high density (retina) displays.

Usage

The typical way of using dropzone is by creating a form element with the class dropzone:

<form action="/file-upload"
      class="dropzone"
      id="my-awesome-dropzone"></form>

That’s it. Dropzone will find all form elements with the class dropzone, automatically attach itself to it, and upload files dropped into it to the specified action attribute. The uploaded files can be handled just as if there would have been a html input like this:

<input type="file" name="file" />

If you want another name than file you can configure dropzone with the option paramName.

If you’re using component don’t forget to require("dropzone"); otherwise it won’t be activated.

If you want your file uploads to work even without JavaScript, you can include an element with the class fallback that dropzone will remove if the browser is supported. If the browser isn’t supported, Dropzone will not create fallback elements if there is a fallback element already provided. (Obviously, if the browser doesn’t support JavaScript, the form will stay as is)

Typically this will look like this:

<form action="/file-upload" class="dropzone">
  <div class="fallback">
    <input name="file" type="file" multiple />
  </div>
</form>
반응형
반응형

남은 시간 카운터 - 자바 스크립트

 

 

 

 

 

 

 

 

 

 

 

 

 

.

반응형

+ Recent posts