GithubHelp home page GithubHelp logo

donson / jx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alloyteam/jx

1.0 2.0 0.0 3.74 MB

JX(Javascript eXtension tools - Javascript 扩展工具库) 是模块化的非侵入式Web前端框架,适合构建和组织工业级大规模的Web App

Home Page: http://alloyteam.github.com/JX/

jx's Introduction

JX(Javascript eXtension tools - Javascript 扩展工具库)

站在巨人的肩上 Standing on shoulders of giants

简介

JX 是模块化的非侵入式Web前端框架,创建于2008年,既适用于 Web Page 项目,也适用当前流行的Web App项目,特别适合构建和组织工业级大规模的Web App,JX兼容全部主流浏览器,包括非常不情愿的IE6。

特性

  • 微内核设计:内核可完全分离出来,用于构建其他的框架

  • 自由拼装各个模块

  • 命名空间、原生对象零污染

  • 无缝集成各种js框架:与jQuery, YUI, Mootools, Prototype.js 等框架无缝集成;与多种局部框架无缝集成,如:Mini, Sizzle, cssQuery, xpath, JSON 等等

  • 多版本共存:如采用的Jx版本过旧,旧有的Javascript代码不能与新版本Jx兼容,则可以采用多版本共存的方式保持程序的可延续性

  • 分层设计:Javascript核心层,与Javascript解释引擎无关的封装和扩展;浏览器端Javascript层,对浏览器中的Javascript引擎部分的封装和扩展

代码示范

  • JX 代码组织方式一(传统):

      var J = new Jx();
      J.out(J.version);
    
  • JX 代码组织方式二(推荐):

      Jx().$package(function(J){
      	J.out(J.version);
      });
    

设计理念

  • 不要重复自己(Don’t Repeat Yourself)

谁在用JX

感谢

感谢团队每一位成员做出的努力,有你我们会更精彩!

Tencent Alloy Team

jx's People

Contributors

hongru avatar kinvix avatar yuanyan avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.