1.0.10 • Published 10 years ago

jQuery.component v1.0.10

Weekly downloads
1
License
MIT
Repository
github
Last release
10 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

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago