1.0.10 • Published 9 years ago

jQuery.component v1.0.10

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

jQuery.component

Make the directory structure

 packages/
 |  pkg1/
 |  |comp1/
 |  |  | main.html
 |  |  | main.js
 |  |  | model1.php
 |  |  |  ...

We can use

 $.package({pkg:"pkg1",comp:"comp1"}); 

and element

 <div id="pkg1" comp="comp1"></div>

initialize component

and asynchronous get page

 view        main.html  
 controller  main.js

the view is pure html

and controller is js file

controller is designed to closure by

 (function(comp){
      
      ...
      
 })($.package.CurrentComp);

we can use

 $(comp).model({}) 

in the controller (main.js)

asynchronous call dynamic server page likes php,jsp,aspx etc.

Model was only process CRUD(create, read, update, delete) action

--

http://jqcomp.org/

Team

 Wei-TaWang
 Ronnie Chang
 David Weng

wa114040@gmail.com

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago