Các thư viện JavaScript chuyên phát triển ứng dụng web nền tảng di động Các ứng dụng dựa trên nền tảng web dành cho điện thoại di động, điện thoại thông minh ngày càng phát triển nhanh không ngừng. Bằng chứng cho sự phát triển này là số lượng ứng dụng của hai nền tảng di động phổ biến nhất hiện nay iOS và Android, tăng chóng mặt về số lượng và lượt tải, cũng như doanh thu, lợi nhuận.

Hầu hết các ứng dụng dành cho di động được xây dựng dựa trên ngôn ngữ C và Java, nhưng riêng trong bài viết này, jsB@nk muốn đề cập và giới thiệu đến bạn các thư viện JavaScript chuyên dụng để xây dựng các ứng dụng web như: Scripty2, MochaUI, jQuery Mobile, jQTouch and XUI. Bạn vui lòng vào trang chi tiết để xem thêm.

Các bài viết liên quan:
- 10 thư viện JavaScript tuyệt vời để phát triển ứng dụng JavaScript nhanh hơn
- 10 JavaScript framework hàng đầu theo Google, Yahoo, Bing
- 17 thư viện JavaScript dành cho các hoạt hóa

Miễn phí web hosting 1 năm đầu tại iPage

Nếu bạn vẫn còn đang tìm kiếm một nhà cung cấp hosting đáng tin cậy, tại sao không dành chút thời gian để thử với iPage, chỉ với không quá 40.000 VNĐ/tháng, nhưng bạn sẽ được khuyến mãi kèm với quà tặng trị giá trên 10.000.0000 VNĐ nếu thanh toán cho 24 tháng ~ 900.000 VNĐ?

Có trên 1 triệu khách hàng hiện tại của iPage đã & đang hài lòng với dịch vụ, tuyệt đối chắc chắn bạn cũng sẽ hài lòng giống họ! Quan trọng hơn, khi đăng ký sử dụng web hosting tại iPage thông qua sự giới thiệu của chúng tôi, bạn sẽ được hoàn trả lại toàn bộ số tiền bạn đã sử dụng để mua web hosting tại iPage. Wow, thật tuyệt vời! Bạn không phải tốn bất kì chi phí nào mà vẫn có thể sử dụng miễn phí web hosting chất lượng cao tại iPage trong 12 tháng đầu tiên. Chỉ cần nói chúng tôi biết tài khoản của bạn sau khi đăng ký.

Nếu muốn tìm hiểu thêm về ưu / nhược điểm của iPage, bạn hãy đọc đánh giá của ChọnHostViệ nhé!
Thử iPage miễn phí cho năm đầu tiên NGAY

JavaScript has been frustrating developers for years, but with javaScript libries and frameworks like jQuery JavaScript is regaining its street cred. jQuery is not of course the only javaScript framework around, but the main reason that JavaScript is becoming more interesting and exciting is the ever increasing development of JavaScript libraries and frameworks.

To meet industry demand Silicon Beach Training has updated our JavaScript training course and intruduced  jQuery training and Ajax training courses to whet your appetite. Of course if you need HTML5 training or CSS training we can offer these too only 5 mins walk from Brighton railway station.

The real problem with JavaScript (released in 1995) lay with what we now call the DOM (document object model). Browsers implemented what we now know as the DOM in different ways meaning that browser cross compatibility was a nightmare. The standardisation of the DOM made thing a little easier but Internet Explorer (the bane of many a developers life) did not support basics like addEventListener until 2010 in IE9.

JavaScript frameworks provided developers with solutions to more easily overcome many browser bugs, allowing developers more time to develop.

The five market Leaders in JavaScript frameworks or libraries are:

jQuery is the strongest at DOM manipulation, and thats why we like it.

It provides simple ways to create any custom effect and a range of simple to powerful Ajax methods.

Prototype is a JavaScript language library that extends the feature set of JavaScript but still includes a way to manipulate the DOM. Prototype provides class-style Object Oriented and AJAX, freely distributable under the terms of an MIT-style license.

YUI seems to offer everything! It includes the basics of DOM manipulation and event handlers, but also has a huge host of utilities available to it, ranging from internationalisation to history management and animation. What makes YUI special is its ability to load the utilities during runtime, so visitors do not suffer from slow page downloads. Built by frontend engineers at Yahoo! and contributors from around the world, its an industrial-strength JavaScript library.

Dojo is akin to enterprise-level JavaScript applications, and its homepage shows off how IBM, Cisco and Sun are among those whove chosen to make good use of it.

Indeed, Dojos documentation demonstrates how accessible the toolkit is via the ARIA support it provides. Dojo saves you time, delivers powerful performance, and scales with your development process

MooTools is a compact, modular, Object-Oriented JavaScript framework designed for the intermediate to advanced JavaScript developer. It allows you to write powerful, flexible, and cross-browser code with its elegant, well documented, and coherent API.

These JavaScript libraries provide these important features in common:

  • Cross-browser support, particularly for older browsers even IE6 RESULT!
  • Experienced developers who share their knowledge and experience with the community
  • Open licences enabling developers to use the projects privately and commercially
  • Strong communities of developers that support them
  • Extendable functionality

Great stuff to have in common but they all cover the fundamentals of web development in their own way. Most people getting started with JavaScript these days are faced with the challenging task of picking a library to use, or at least which one to learn first. If youre starting a project from scratch and know that including a JavaScript library or framework is going to save you time and therefore money, then you have the advantage of being able to shop around for the perfect candidate.

UI frameworks

jQuery TOOLS UI library for the Web is a very light weight (2.5kb) collection of the most popular user-interface components offering functionality over load time. It provides libraries for the following jQuery elements: Tabs, Tooltip, Scrollable, Overlay, Forms and Flashembed. jQuery can be downloaded as selected modules, so you dont have to worry about pulling in the entire UI library if you just want draggable windows, for instance. It has the same benefits as jQuery and is under the same licence, so if you require a standard set of components, such as a date picker, progress bars or drag and drop, jQuery UI is a good choice for you. In addition, all the jQuery UI components can have different skins applied, either by your own designers, Mobile Website Design or with a predetermined template. Both would use the ThemeRoller application, a web GUI for styling jQuery UI components.

jQuery UI is a widget and interaction library built on top of the jQuery core that allows you to animate different elements giving you impressive front-end interactions, all with relative ease.
The UI package is basically a collection of user interface-related functions that and can be broken into 3 main modules:

  • the widgets, which contain prebuilt and customizable user interfaces
  • the effects, which are very simple and straightforward animations you can do to a page element
  • expanded mouse interaction with page elements (dragging and dropping) is a popular UI kit that extends the Prototype Framework by adding visual effects, user interface controls, and utilities via the DOM.

Scripty2, essentially the second incarnation of Scriptaculous, goes beyond the animation framework that it was originally known for. Although Scripty2 is still in alpha, its likely to be the UI framework of choice for Prototype developers because it builds on the library. In addition to some super-smooth effects, it will come with accordions, dialogs, progress bars, tabs, sliders and an autocompleter.

MochaUI A Web Application User Interface Library requires MooTools and also requires an XHTML 1.0 strict doctype. So its no good for HTML5 entusiasts. It provides a slick UI for windows, drag and drop, file views and panel views. It is a popular extension to the MooTools Javascript Framework and ExplorerCanvas, to develop quick Web Applications, Web Desktops, Web Sites, Widgets, Standalone Windows, Modal Dialogs and much more.

JavaScript libraries and frameworks for Mobile

JavaScript libraries and frameworks  are making their way into the mobile development community. Mobile is unchartered territory and getting exiting. Its really where the future of web development is. There are, however many considerations to be met: performance of the mobile device, whether you want to replicate the native UI and whether the mobile device even supports the newest JavaScript methods

jQuery Mobile is a Touch-Optimized Web Framework for Smartphones & Tablets. jQuery Mobile provides a unified user interface system across all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. jQuery will support mobile browsers from B-grade and upwards, another reason why we think that jQuery is the one to watch.

jQTouch isnt so much a framework as a jQuery plug-in that provides a native UI feel to iPhone-based web apps. This includes transition effects, a few template styles for all the UI widgets (such as lists, buttons and toolbars), swipe detection so that it interacts like an iPhone app and, finally, the ability to extend the functionality of the plug-in. There are number of jQTouch-based iPhone apps have already and are available in the iTunes store, compiled via PhoneGap.

XUI is a super micro tiny (3k-compressed)  DOM library for authoring HTML5 mobile web applications. It includes Ajax and Effects via Emile.js. Like jQuery, it supports the simple <code>xui.fn.myplug</code> plug-in model, so its extendable. The project aims to be compatible with mobile browsers based on WebKit, Mozillas mobile browser Fennec, Opera, IE and BlackBerry. Its still in-project but is fairly stable.

JavaScript theo ngày

Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web