반응형
반응형

http://www.html5rocks.com/en/search?q=cache+manifest

manifest 파일은 어플리케이션 캐시에 다운로드 되고 저장되어 질 HTML, JavaScript, CSS, 이미지 파일들과 같은 리소스들을 기술한다. 웹 페이지가 첫 번째로 로딩이 된 후 부터 , manifest 파일에 기술되어진 리소스 파일들은 웹 서버가 아닌 application cache에서 획득되어 진다.

manifest 파일은 다음과 같은 속성들을 가지고 있다:

  • MIME-Type이 text/cache-manifest와 같이 제공되어야 한다.
  • 첫 번째 줄에는 CACHE MANIFEST라는 텍스트를 포함하고 있어야 한다.
  • 그 다음 줄들은 캐시할 각각의 리소스의 URL이나 주석을 포함하고 있다.
  • 주석문들은 # 문자로 시작하고 한 줄로 와야한다.
  • URL들은 로컬에 캐시로 다운로드를 원하는 리소스에 대한 파일 경로이다. 파일 경로는 manifest 파일에 대한 상대,절대경로로 표현되어야 한다 —CSS에서 사용되는 파일 경로와 유사
  • manifest 는 반드시 온라인일 시에 접근해야 하는 모든 외부 리소스들에 상응하는 접두어를 포함하고 있는 whitelist를 선언하야 한다. 이 whitelist는 그 자신이 한 줄을 구성하는 NETWORK:라는 식별자와 함께 시작한다.
    또한 network 엔트리 뒤에 그 자신이 한 줄을 구성하는 CACHE:라는 식별자를 삽입함으로써 추가적인 cache 엔트리를 선언할 수 있다.

    만 약 원한다면 manifest는 fallback 섹션들을 둘 수 있다. 이 섹션들은 FALLBACK: 이라는 식별자와 시작할 수 있고, 두 개의 URI들을 포함하고 있는 연속되는 타이들을 포함하고 있다. 두 번째 URI는 브라우져가 첫 번째 URI에 접근하지 못할 때 사용한다. URI들은 반드시 둘 다 manifest 그 자신과 같은 origin을 가지고 있어야 한다. 두 개의 URI 모두 부분적인 경로(partial URIs)만 포함한다.(prefixes);
    예를 들어 아래 예제는 만약 /files/projects 가 찾아지지 않는다면, 클라이언트는 다시 /files/projects/를 /projects로 대체해서 찾는다

FALLBACK:

/files/projects /projects

  • "Manifest 파일 선언하기"에 설명 되어진 대로, manifest파일을 선언한 HTML 파일은 자동적으로 application cache에 포함되게 된다. 당신은 그것을 manifest 파일에 추가할 필요가 없다.
반응형

'프로그래밍 > Web' 카테고리의 다른 글

자바스크립트 차트  (0) 2012.03.05
Comet 이란  (0) 2012.03.02
REST , RESTful  (0) 2011.12.09
[크롬] 모바일 사이즈로 확인해보기  (0) 2011.12.07
크롬에서 json데이터 볼때 설치하시오~ 어디? 크롬에다가~  (0) 2011.11.30
반응형
데이터아키텍처 자격증이 있는데, 과연 실효성이 있는것일까? 민간자격증 3개에 국가자격증 1개라.
갑(甲)업체의 선택은?

: 데이터아키텍처(DA, Data Architecture)란 기업의 모든 업무를 데이터 측면에서 처음부터 끝까지 체계화하는 것입니다.

http://www.dbguide.net/da.db?cmd=snb2_1
www.dbguide.net
※ 합격예정자가 '8단계. 최종합격자 공고 및 확인'의 결과 최종불합격 되었을 경우에 검정센터를 통해 불합격사유를 확인할 수 있으며, 이의신청을 할 수 있
반응형
반응형
HTML5 Web Workers :
A web worker is a JavaScript running in the background, without affecting the performance of the page.
스크립트가 완료될 때까지 HTML 페이지에 스크립트를 실행하면 페이지가 응답된다.

Web Workers는 페이지의 성능에 영향을주지 않고 독립적으로 다른 스크립트의 백그라운드로 실행되는 자바 스크립트입니다. 당신이 원하는 건 뭐든지 할 계속할 수 있도록: Web Workers가 백그라운드에서 실행되는 동안 클릭, 셀렉팅, 기타등등을 합니다.

http://w3schools.com/html5/html5_webworkers.asp
반응형
반응형

사회적 시각으로 개발자는 "지식근로자(knowledge worker)" 이지만, 엄연히 노동자(worker)이다. 그 말인 즉, 프롤레타리아(proletariat)인 것이지.
좋게 보였지만, 실상은 좋지 아니하다.
같은 급여로 본다면 일반노동자에 비해 노동량이 훨씬 많다고 생각한다.
회사의 브랜브밸류로 인정받을수 밖에 없는 현실이 안타까울 따름이다.

도올김용옥선생이 "덕(德)을 쌓아라"라고 하지만, 자기를 포장하는 것도 "덕(德)"인것이야~

개발환경에 불평하지 말고 자기관리를 잘 하는, 우리 후배님들이 되어주었으면 하는 바램이야~
내가 대신 불평해주마!!! ㅋㅋㅋ

반응형
반응형
http://www.ibm.com/developerworks/kr/library/tutorial/j-rest/section2.html

REST란 무엇인가?

REST는 메시지라기보다는 이름이 부여된 자원, 예를 들어 URL(Uniform Resource Locator), URI(Uniform Resource Identifier), URN(Uniform Resource Name)과 같은 형태로 된 자원에 의존하는 느슨하게 결합된 웹 애플리케이션을 디자인하는 한 형식이다. 엄밀히 말해 REST는 이미 웹에서 검증되었고 성공적인 인프라스트럭처라 할 수 있는 HTTP에 올라탄 형태로 HTTP를 잘 이용하고 있다. 즉 REST는 GETPOST 요청과 같은 HTTP의 단면들을 이용했다고 할 수 있다. 이같은 요청들은 표 1에 보인 것처럼 생성(create), 읽기(read), 갱신(update), 삭제(delete) 즉 CRUD라는 표준 비즈니스 애플리케이션의 요구 조건에 꽤나 잘 맞아 떨어진다.


반응형
반응형

20+ Must See Fresh and Useful jQuery Plugins from 2011

jQuery gives developers the chance to enrich websites with amazing elements without the need to write dozens of lines of code. This post presents advanced and cutting-edge jQuery plugins that will enhance your web designs tremendously.

Supersized 3.2 – Fullscreen Slideshow jQuery Plugin

Supersized 3.2 – Fullscreen Slideshow jQuery Plugin
Full screen background slideshow plugin for jQuery.

Expanding Fullscreen Grid Portfolio

Expanding Fullscreen Grid Portfolio
The main idea is to have a grid layout created with jQuery Masonry. View more expand the according item to fullscreen in order to show a longer description of the item and a representative fullscreen background image.

Quovolver

Quovolver
Quovolver is a simple extension for jQuery that takes a group of quotes and displays them on your page in an elegant way.

jQuery Spin Button Plugin: Smart Spin

jQuery Spin Button Plugin: Smart Spin
Smart spin is a jQuery spin button plugin that mimics the very common windows spin button control. Smart spin allows you to select a value between minimum and maximum values using either mouse or keyboard. You can also enter a value via keyboard.

FitText

FitText
FitText makes font-sizes flexible. Use this plugin on your fluid or responsive layout to achieve scalable headlines that fill the width of a parent element.

DropKick

DropKick
Creating custom dropdowns is usually a tedious process that requires a ton of extra setup time. Oftentimes lacking conveniences that native dropdowns have such as keyboard navigation. DropKick removes the tedium and lets you focus on making menu looks good.

HTML5 jQuery Music Player

HTML5 Music Player
Remember that awesome music player psd created by Orman Clark? Well here is the matching jQuery plugin.

Circular Content Carousel with jQuery

Circular Content Carousel with jQuery
A simple jQuery circular content carousel.

jQuery Image Gallery

jQuery Image Gallery Demo
Image Gallery with Lightbox effect and slideshow functionality for jQuery UI.

Overscroll

Overscroll
Overscroll is a jQuery plug-in that mimics the iphone/ipad scrolling experience in a browser.

jBar

jBar
jbar is a jQuery plugin that transforms an unordered list <ul> into a toolbar with dropdown menus.

leanModal

leanModal
Super simple modal window plugin that works with your CSS. Perfect for hidden page content. Flexible width & height, image free, supports multiple instances on one page. Great for login, sign up & alert panels, etc.

ImageLens – A jQuery plug-in for Lens Effect Image Zooming

ImageLens – A jQuery plug-in for Lens Effect Image Zooming
Use this jQuery plug-in to add lens style zooming effect to an image.

My QR Code

My QR Code
Generate QR code for mobile devices using Google Chart Api with jquery. By default, the plugin will generate the QR code for the URL of the page. You can also specify the text, encoding and size of the QR code.

Simple Overlay

Simple Overlay
A jQuery Plugin for easily adding lightweight, flexible overlays to your projects.

MobilyMap

MobilyMap
MobilyMap is a jQuery plugin (7KB) that can create a Google Maps-like, draggable interface from any image.

Snippet

Snippet
Snippet is a jQuery syntax highlighting plugin built on top of the SHJS script found on SourceForge. Snippet provides a quick and easy way of highlighting source code passages in HTML documents.

NETEYE Activity Indicator

NETEYE Activity Indicator
A jQuery plugin that renders a translucent activity indicator (spinner) using SVG or VML.

jLinkPreview

jLinkPreview
jLinkPreview is a plug-in for jQuery Library which simply allows you to see link’s preview image before you visit them by just hovering on it. Link Preview will appear by your cursor when you hover.

jRumble

jRumble
jRumble is a jQuery plugin that rumbles, vibrates, shakes, and rotates any element you choose. It’s great to use as a hover effect or a way to direct attention to an element.

Grid Navigation Effects with jQuery

Grid Navigation Effects with jQuery
jQuery plugin for achieving some neat grid navigation effects.
반응형

+ Recent posts