W2UI

用于数据驱动的网络应用的 JavaScript UI 库。「JavaScript UI library for data-driven web applications」

  • 所有者: vitmalina/w2ui
  • 平台: Linux, Mac, Web browsers, Windows
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    2
      比較:

Github星跟蹤圖

Road to 2.0

The master branch has new, in-progress version of w2ui. You might want to consider 1.5 branch that is stable and supports older browsers. Here are the goals for the new version of w2ui.

Road to 2.0 discussion

About W2UI

W2UI is a modern JavaScript UI library for building data-driven web applications. It aims to let you define UI in expressive JSON-like structures. The library has small footprint and has only one dependency - jQuery.

The library implements following UI controls:

The complete library is under 100Kb (minified & gzipped).

Quick Start

Current stable version is 1.5
Current development version is 2.0

Getting Started Guide

You can download latest stable version here: http://w2ui.com. If you want to use dev version, see dist/ folder in the master branch.

To start using the library you need to include into your page:

  • w2ui.js (or w2ui.min.js)
  • w2ui.css (or w2ui.min.css)

All the controls and their css classes are defined inside of these two files. There is no image dependencies, some images
are embedded into CSS file, as well as font icons.

There is no requirement for a server side language. Node, Java, PHP, ASP, Perl or .NET all will work, as long as you can
return JSON format from the server (or write a converter into JSON format on the client). Some server side example implementations
can be found here.

Documentation & Demos

You can find documentation and demos here:

Bug Tracking

Have a bug or a feature request? Please open an issue here https://github.com/vitmalina/w2ui/issues.
Please make sure that the same issue was not previously submitted by someone else.

Building

It is a Node.JS repository, so, you need to have node installed to install all dependencies run

npm install

To compile JS and CSS, run

gulp

It will bundle all necessary files into dist/w2ui.min.js and dist/w2ui.min.css

File Structure

- dist        - compiled JS and CSS files
- src         - source JS files
  - kickstart - module loader & router, see https://github.com/vitmalina/w2ui-starter
  - less      - LESS files (source for css)
- demos       - all demos, same as on the website
- libs        - external libs, som used in demos, etc.
- server      - server api samles (to get you started)
- specs       - some qunit test
- test        - manual testing files

Who is Using It

List of projects that use w2ui!

If you're using w2ui, I'd love to hear about it, please email to vitmalina@gmail.com the name of your project and a link to a public website or demo, and I will add it to the list.

Contributing

Your contributions are welcome. However, few things you need to know before contribution:

  1. Please check out latest code before changing anything. It is harder to merge if your changes will not merge clean.
  2. If you are changing JS files - do all changes in /src folder
  3. If you are changing CSS files - do all changes in LESS in /src/less/src
  4. If you want to help with unit test - do all changes in /qa
  5. If you want to change documentation - do all changes in /docs
  6. If you want to add demos - do all changes in /demos

概覽

名稱與所有者vitmalina/w2ui
主編程語言JavaScript
編程語言JavaScript (語言數: 10)
平台Linux, Mac, Web browsers, Windows
許可證MIT License
發布數12
最新版本名稱2.0.0 (發布於 )
第一版名稱1.0 (發布於 2013-02-04 00:45:33)
創建於2011-04-12 14:26:20
推送於2024-05-11 15:47:06
最后一次提交2024-05-07 10:51:02
星數2.6k
關注者數178
派生數732
提交數4k
已啟用問題?
問題數1747
打開的問題數300
拉請求數546
打開的拉請求數1
關閉的拉請求數151
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?
去到頂部