반응형

Technical Reference – Intel® HTML5 App Porter Tool - BETA


Introduction

The Intel® HTML5 App Porter Tool - BETA is an application that helps mobile application developers to port native iOS* code into HTML5, by automatically translating portions of the original code into HTML5. This tool is not a complete solution to automatically port 100% of iOS* applications, but instead it speeds up the porting process by translating as much code and artifacts as possible.

It helps in the translation of the following artifacts:

  • Objective-C* (and a subset of C) source code into JavaScript
  • iOS* API types and calls into JavaScript/HTML5 objects and calls
  • Layouts of views inside Xcode* Interface Builder (XIB) files into HTML + CSS files
  • Xcode* project files into Microsoft* Visual Studio* 2012 projects

This document provides a high-level explanation about how the tool works and some details about supported features. This overview will help you determine how to process the different parts of your project and take the best advantage from the current capabilities.

How does it work?

The Intel® HTML5 App Porter Tool - BETA is essentially a source-to-source translator that can handle a number of conversions from Objective-C* into JavaScript/HTML5 including the translation of APIs calls. A number of open source projects are used as foundation for the conversion including a modified version of Clang front-end, LayerD framework and jQuery Mobile* for widgets rendering in the translated source code.

Translation of Objective-C* into JavaScript

At a high level, the transformation pipeline looks like this:

This pipeline follows the following stages:

  • Parsing of Objective-C* files into an intermediate AST (Abstract Syntax Tree).
  • Mapping of supported iOS* API calls into equivalent JavaScript calls.
  • Generation of placeholder definitions for unsupported API calls.
  • Final generation of JavaScript and HTML5 files.

About coverage of API mappings

Mapping APIs from iOS* SDK into JavaScript is a task that involves a good deal of effort. The iOS* APIs have thousands of methods and hundreds of types. Fortunately, a rather small amount of those APIs are in fact heavily used by most applications. The graph below conceptually shows how many APIs need to be mapped in order to have certain level of translation for API calls .

Currently, the Intel® HTML5 App Porter Tool - BETA supports the most used types and methods from:

  • UIKit framework
  • Foundation framework

Additionally, it supports a few classes of other frameworks such as CoreGraphics. For further information on supported APIs refer to the list of supported APIs.

반응형
반응형

Backgrid.js – A set of core Backbone UI elements

http://codevisually.com/backgrid-js/


Dated Added → Feb 16, 2013Categories → Framework

Backgrid.js is a set of components for building semantic and easily stylable data grid widgets. It offers a simple, intuitive programming interface that makes easy things easy, but hard things possible when dealing with tabular data.
The goal of Backgrid.js is to produce a set of core Backbone UI elements that offer you all the basic displaying, sorting and editing functionalities you'd expect, and to create an elegant API that makes extending Backgrid.js with extra functionalities easy.
Backgrid.js - A set of core Backbone UI elements


반응형
반응형

아침.

수영장으로 나서본다.

6시 10분 입수

자유형...

계속 자유형

자유형~~~

100m 자유형

배영 1

7시 10분.

자유형만 계속 하면 허리아프니 배영도 하자.


반응형

'운동일지 > 수영' 카테고리의 다른 글

2013.02.19 수영일지  (0) 2013.02.19
2013.02.18 수영일지  (0) 2013.02.18
2013.02.15 수영일지  (0) 2013.02.15
2013.02.14 수영일지  (0) 2013.02.14
2013.02.07 수영일지  (0) 2013.02.07
반응형

파이썬 3의 특징

  1. 모든 문자열은 유니코드로 처리한다.
  2. 변수명에 한글을 사용할 수도 있다.
  3. print문은 없어지고 함수 print()만 사용할 수 있다.
  4. raw_input()은 없어지고 input()을 사용한다.

 

 

 

반응형
반응형

정말
놀라운 여행이었다.
얼마만의 휴식이던가?
그동안 나는 다른 사람들을
내 귀중한 시간을 빼앗고 목표달성을 방해하는
장해물로 여겨왔다. 하지만 이제 더 이상 그런 생각을
해서는 안 된다. 나는 혼자가 아니다. 내 업무와
일상에 빨리 적용해보고 싶다.


- 스티븐 런딘ㆍ카 헤이저먼의《한 걸음만 더》중에서 -


* 5년 동안 토요일 일요일도 없이
대통령 연설문을 작성하면서 가장 필요한 것이
휴식이었습니다. 대통령 임기를 마치던 날, 다른 사람들은
'좋은 자리'를 찾아 뛰어다닐 때 저는 배낭 하나 달랑 메고
동유럽 배낭여행을 떠났습니다. 당시도 경제가 어려웠지만
그때의 '휴식 여행'이 오늘의 저를 있게 했습니다.
휴식이 필요한 사람! 다름 아닌 당신입니다.
열심히 살아온 사람에게는 휴식할
자격이 있습니다.

반응형

'생활의 발견 > 아침편지' 카테고리의 다른 글

내면의 어린아이  (0) 2013.02.19
사랑할수록  (0) 2013.02.18
"우리는 행복했다"  (0) 2013.02.14
단식과 건강  (0) 2013.02.13
아버지의 포옹  (0) 2013.02.12
반응형

미모의 아름다움은 눈만을 즐겁게 하나,
상냥한 태도는 영혼을 매료시킨다.
부드러움과 친절은 나약함과 절망의 징후들이 아니고,
힘과 결단력의 표현이다.
-칼린 지브란

‘친절은 세상을 아름답게 한다.
모든 비난을 해결한다.
얽힌 것을 풀어헤치고, 곤란한 일을 수월하게 하고,
암담한 것을 즐거움으로 바꾼다.’(톨스토이)

‘사람은 남에게 친절하고 관대한 것이
자기 마음의 평화를 유지하는 길이다.
남을 행복하게 할 수 있는 사람만이
행복을 얻을 수 있다.’(플라톤)

 

반응형
반응형

안개가 낀것이. 저기압인가? 몸이 무겁다.

5시 58분 입수

배영 발차기  1

체조

자유형 4

킥판잡고 자유형/평영 6

자유형/평영 6

자유형 25m 대시 12

걷고...

스타트 연습 4

스타트 접영 6

 

 

숨차고,

졸린다.

반응형

'운동일지 > 수영' 카테고리의 다른 글

2013.02.18 수영일지  (0) 2013.02.18
2013.02.16 수영일지  (0) 2013.02.16
2013.02.14 수영일지  (0) 2013.02.14
2013.02.07 수영일지  (0) 2013.02.07
2013.02.06 수영일지  (0) 2013.02.06
반응형

인생은 초콜릿 상자에 있는 초콜릿과 같아서, 어떤 초콜릿을 선택하느냐에 따라 맛이 틀려지듯이 우리의 인생도 어떻게 선택하느냐에 따라 결과도 달라질 수 있다. - 영화 Forrest Gump 中 -

반응형

+ Recent posts