IT TIP

Sencha Touch 또는 jQuery Mobile?

itqueen 2020. 11. 3. 19:36
반응형

Sencha Touch 또는 jQuery Mobile?


모바일 웹 앱을 개발해야하는지 (지금, 2 주 또는 한 달 안에) 어떤 앱으로 가야할까요? 모바일 웹 개발자는 누구를 선택 하시겠습니까?

jQM 1.0이 오늘 공식적으로 출시 되었다면, 나는 그것을 받아 들일 것입니다 (실제로 약속 한 것을 전달하는 한). 이제 알파 버전이므로 상용 등급 프로젝트에 아직 뛰어들 가치가 있는지 궁금합니다. Sencha Touch가 더 나은 대안이 될까요?


나는 한동안 jQuery 모바일을 사용하고 있습니다. Blackberry 6, iPhone 및 Android에서 잘 작동합니다.

여기에 대한 기사를 썼습니다. jQuery 모바일 알파

알파이지만 좋은 진전을 보이고 있습니다. 나는 github에서 그들의 개발을 조사해 왔는데, 2011 년 초까지 멋진 일이있을 것 같습니다.

업데이트 2011-12-01 jQuery Mobile은 버전 1.0을 다시 출시했으며 드디어 알파 버전이되었습니다. 여기에서 자세히 알아보세요. http://jquerymobile.com/blog/2011/11/16/announcing-jquery-mobile-1-0/


Sencha Touch는 애플리케이션 프레임 워크 (Javascript를 통해 프로그래밍 방식으로 인터페이스를 생성) 인 반면 jQuery Mobile은 모바일 향상 라이브러리에 가깝습니다 (콘텐츠에 대한 일반 HTML을 작성한 다음 전환 / 애니메이션을 위해 jQuery mobile을 추가합니다). jQuery Mobile은 학습 곡선이 더 쉽지만 Sencha Touch는 "네이티브"앱을 더 잘 시뮬레이션 할 수 있습니다.


자신에게 물어볼 첫 번째 질문은 응용 프로그램의 목적이 무엇인지입니다. 소매점 (iTunes, Andoid App Store) 중 하나에서 판매용 애플리케이션을 출시하거나 아직 로컬 API를 통해 액세스 할 수없는 장치 별 기능 (가속도계, 카메라, 연락처 등)에 액세스해야하는 경우 네이티브 또는 하이브리드 솔루션 (Appcelerator, PhoneGap 등) 중 하나를 생각해야합니다.

청중이 기업 웹 데스크탑 사이트의 모바일 버전이나 인트라넷 웹 애플리케이션 포트와 같은 "모바일 웹"공간에 더 많이있을 것이라면 Sencha Touch 및 jQuery Mobile을 살펴 봐야합니다. 이 둘 사이의 결정은 실제로 당신의 개발 경험과 당신이 더 편하게 느끼는 것에 기반을 둘 것입니다. Sencha Touch는 서로를 미러링하는 데스크톱 (ExtJS)과 모바일 (Sencha Touch)이있는 매우 강력한 플랫폼이므로 하나를 거의 알면 다른 하나를 시작하고 실행할 수 있습니다. 또한 Sencha는 클라이언트 측 코드를 구성하고 서버 측 개발 플랫폼과 훨씬 더 잘 어울리는 클라이언트 측 코드를 구성하는 데 도움이되는 클라이언트의 MVC 모델로 이동했습니다.

위의 게시물은 실제로 올바르지 않습니다. 클라이언트의 MVC 패턴을 디스패치 명령의 historyUrl과 결합하면 브라우저의 브라우저 뒤로 및 앞으로 버튼을 사용할 수 있으므로 jQuery Mobile에만 국한되지 않습니다. 또한 Sencha 팀의 제품군에는 UI의 드래그 앤 드 로그 생성을 허용하는 WYSIWYG 편집기 인 Designer를 제공하는 Designer 애플리케이션이 포함되어 있습니다. 이 회사의 로드맵에는 MVC 패턴으로 작동 할 터치 모바일 화면 및 애플리케이션의 드래그 앤 드롭 디자인을 허용하기 위해 Designer 앱을 업데이트하는 과정에 있습니다. 또한 몇 분 만에 전체 MVC 애플리케이션 구조를 자동으로 생성하는 새로운 버전의 Sencha Command 도구를 출시 할 준비를하고 있습니다. 그런 다음 필요한 사용자 지정 코드를 추가하여 응용 프로그램을 완성 할 수 있습니다. 마지막으로, 새로운 SASS 테마 기능을 통해 디자이너는 CSS3 및 SASS 구성 파일을 변수 및 믹스 인과 함께 사용하여 애플리케이션을위한 브라우저 간 CSS 스타일 시트를 생성 할 수 있습니다.

따라서 모바일 웹 개발 질문에 대한 결정은 객체 지향 자바 스크립트에 얼마나 익숙한 지에 달려 있습니다. 매우 편안하다면 Sencha Touch는 핵심 엔진에 내장 된 매우 확장 가능한 클래스 시스템으로 갈 수있는 방법입니다. 심장 내용에 맞게 사용자 정의 할 수 있습니다 ... 그러나 JS에 대한 경험이 거의없고 원하는 경우 서버가 UI를 제공하고 페이지 사이를 이동하기 위해 주소 표시 줄 드롭 다운 (웹 2.0이 적음)을 보는 것을 신경 쓰지 않으면 jQueryMobile이 갈 길입니다.

잘 짜여진 클래스 구조, 확장 성, 매우 활동적인 사용자 커뮤니티, 웹 / 모바일 연속성, 개발 노력을 단순화하는 새로운 도구와 핵심 프레임 워크에 대한 지속적인 개선으로 인해 Sencha Touch에 편향되어 있다는 것은 꽤 분명합니다. 그리고 jQM이 아직 생산 모드에 도달하지 않았기 때문에 Touch 플랫폼이 더 성숙하다는 것은 말할 것도 없습니다.


웹 사이트의 모바일 버전을 만들려면 jQuery Mobile을 사용하겠습니다. "네이티브"모바일 애플리케이션을 만들려면 Sencha Touch를 사용하는 것이 더 좋습니다.

http://tysonlloydcadenhead.com/blog/jquery-mobile-vs-sencha-touch


Sencha touch는 jquerymobile보다 오래 살았지만 jquerymobile이 SenchaTouch보다 장치 뒤로 버튼을 훨씬 더 잘 처리한다는 것을 알았습니다. 나는 항상 내 앱에서 뒤로 / 기록 버튼 처리가 중요하다고 생각하므로 jquerymobile을 선호합니다. 저는 항상 제 자신을 JavaScript 프로그래머라고 생각하지만 jquerymobile을 사용할 때 JavaScript 코드를 거의 입력 할 필요가 없다는 사실이 마음에 듭니다. jquerymobile 디자인은 훌륭한 IMHO입니다.


나는 또한 sencha에 찬성하고, JQM은 정말 느리고 네이티브 앱의 인상을주지 못했습니다.

  • Praveen

왜 자신을 제한 하는가 ...

PhoneGapTitanium Appcelerator 살펴보기

달성하려는 작업을 기반으로 비교합니다. Sencha Touch에는 라이센스 비용이 있으며 jQM은 아직 공식적으로 출시되지 않았습니다.

실행 가능한 옵션이 너무 많기 때문에 모바일 공간에 있기에 좋은 시간입니다.


jQuery 모바일이 배우기 쉽고 매우 유망하다고 생각합니다. 버전 1.0은 아직 사용할 수 없지만 좋은 제품이 될 것입니다. jQuery를 기반으로하기 때문에 매우 매력적입니다. 단순함이 모토입니다.


Dojo Toolkit Mobile도 있다는 것을 잊지 마십시오. 적어도 처음에는 멋지게 보이며 검증되고 견고한 Dojo Toolkit 코어 위에 구축되었습니다. http://dojotoolkit.org/features/mobile . Dojo Toolkit은 최근 많은 관객을 얻지 못했지만 조금 무거웠을 때부터 많은 진전을 이룬 것 같아서 볼 가치가 있다고 생각합니다.


나는 sencha 건축가를 시험해 왔고 솔직히 달리는 것은 악몽이었습니다.

내 배경은 DotNet, html, javascript, VB, java이며 한동안 이클립스 등을 사용해 왔으므로 종속성 등을 파악하는 데 큰 초보자가 아닙니다.

내가 쳤던 것은 다음과 같다.

Sench 사이트에 가서 Architect를 다운로드했습니다. 그런 다음 툴킷과 센차 터치를 다운로드했습니다. 도움말 파일 / 사이트에서 권장 / 지시 한 내용을 정확하게 다운로드했습니다. Sencha Architect V2.1.0 Build 584., sencha-touch-2.0.1.1-commercial.zip, SenchaSDKTools-2.0.0-beta3-windows.exe가 있습니다.

또한 새로운 자바 SDK / 런타임 등을 다운로드하여 설치했습니다. 설치는 죽은 클린 XP 박스 (vmware)에서 수행되었습니다. 웹 서버는 xampp입니다.

Sencha는 SenchaSDKTools-2.0.0-beta3을 인식하지 못합니다. 찾기 어려운 지침을 사용하여 해킹해야합니다. 해킹 후에도 아키텍트는 적절한 SDK를 사용하지 못하고 배포시 오류 메시지를 표시합니다.

또한 문자에 대한 지시를 따랐 는데도 데이터가로드되지 않는 문제와 길을 따라가는 수많은 오류가있었습니다.

응용 프로그램이 윙윙 거리지 않고 제대로 실행될 때까지 11 시간을 보냈지 만 배포되지 않습니다. 슬픔을 유발하는 ide와 경로를 안내하는 "교육용 데모"없이 새로운 도구 / 프레임 워크 등을 배우는 것은 충분하지 않습니다.

많은 사람들이 동일한 오류를 겪고 있습니다.

15 시간의 노력 끝에 나는 그것을 나쁜 일로 포기하고 구식의 수작업으로 코딩 된 html5 / CSS3 및 jquery / Ajax / JSon 앱을 사용하여 IBM XPages / PHP 및 Blueprint CSS로 돌아갑니다.

이 작업을 수행하는 이유 : Application Architect는 계속해서 명령 줄로 다시 밀어 넣습니다. 나는 커맨드 라인을 좋아하고 bash 쉘과 vi를 제공하고 갈 수 있습니다. 그러나 모바일 앱과 같은 복잡한 다중 파일 배포의 경우 좋은 IDE는 그만한 가치가 있습니다. 건축가는 아직 없습니다. 작업을 수행하려면 계속 후드를 들고 해킹해야합니다.

저는 원래 모바일 앱에 관심이 있고 사용할 아이디어를 찾고있는 12 세의 Sencha를 살펴 보았습니다. 나는 그것을 시도했다-적합하지 않다-심지어 hello world 유형 앱을 실행하는 것은 초보자에게 너무 많을 것이고 도움말 파일의 첫 번째 앱은 자체 설명을하지 않지만 웹 사이트에서 데이터를 가져 오기위한 코드를 복사하게됩니다. 가입해야합니다. (ccitybars 앱).

A big improvement for sencha will be when Architect works out of the box (possibly an installer with sdk, tools , touch and architect all in one) and the fisrt app -walk through is a simple hello world that then builds to entering data, saving data and then displaying data before going multi form.


I was faced with the same choice about half a year ago, then went for jQTouch instead of Sencha Touch, which I found to be extremely Javascript centered. I'm currently working on a port of that same project to jQuery Mobile and I think the transition will be much smoother than it would have been with a Sencha Touch project.


If you know basic PHP I strongly suggest jqmphp.com. Up and running in less than 3 days a whole online mobile based site to order food!


MoSync team has recently done an interesting comparison:

Which Mobile JavaScript framework is the best: jQuery Mobile, Sencha Touch, jQtouch, or Kendo UI?

http://www.codefessions.com/2012/04/mobile-javascript-frameworks-evaluation.html http://www.codefessions.com/2012/04/which-mobile-javascript-framework-is.html http://www.codefessions.com/2012/05/which-mobile-javascript-framework-is.html

jQueryMobile wins but huge boost in arm is because of licensing. I prefer jQueryMobile because I don't want someone(thing) else to write my markup, that way hacking becoming difficult (at least for me), however, I do have couple of HTML5 apps under my belt now, one each in jQM and Sencha Touch. Sencha Touch makes it smoother, very hard to learn though while jQM gets you started in a day, there are bug but you usually get around them because of amazing web community around this framework.


I've built a nice production app in a few days using Sencha Touch 2.0 and it's delivering as documented. And, it's FAST. There might be some bugs, but, when I've run into one (which, is rarely), there seemed to be many ways to approach a solution so that it's really not that relevant.


Sencha Touch looks great but it is difficult to use. The Sencha support forums offer minimal support. Sencha Touch 2.x is still in alpha is quite buggy


Sencha touch will be the best option is you are just starting because it is well documented and it has a community support. Also, with phonegap, you spend more time on the development and less on things about other mobile platforms. Phonegap will build the application for you , once you upload it to the builder .


Comparing the two is like comparing apples and grapes...though you want to develop mobile apps with both, the level of comfort with either depends entirely on you.

This chart might be helpful if you want to compare the features : http://www.markus-falk.com/mobile-frameworks-comparison-chart/


Sencha Touch based apps can only work on WebKit based browsers. JQueryMobile based apps can work on all mobile web browsers.

I think you can go ahead with JQueryMobile for next 2 to 3 years. I am expecting in 2-3 years all mobile browsers will be based on WebKit engine. Once all mobile browsers start supporting WebKit, move to the Sench Touch mainly because of very good quality user interface.


I suggest KendoUI

It is unbeatable and fast performance in a training of couple of days. Not to mention the fast update and new features and support for server side wrappers (asp.net, php, jsp). It is unique!


I have used both and they each have conditions where one is better suited then the other.

In my opinion you would use JQueryMobile when 1. You need a quick and light weight mobile implementation of an web application. 2. You have time constraints (definitely faster to learn and implement then Sencha Touch). 3. Native look and feel is not a requirement.

When making an extension to an existing web application where relatively simple functionalities have to be extended to extended to mobile (really fast and easy) I found JQM to be extremely useful and straight forward.

In my opinion you would use sencha when 1. You want a native look and feel 2. You want a higher degree of functionality on the mobile side (possible access to native api's through phone gap) 3. Targeting the latest smartphones (performance is impressive)

참고URL : https://stackoverflow.com/questions/4066167/sencha-touch-or-jquery-mobile

반응형