You can seriously compare these two files:component.json and manifest.json. 
JBS does not directly allow load JS file or the CSS file by 
"manifest.json", but you can load these other non-standard class files by 
the definition of class on JCS. Of course, I can allow JBS to do so, but 
this is not conducive to building class-oriented system. Compare the 
specifications, I have come to the conclusion, "JCS + JBS" better than 
"component" , can support classes and class loaders.

在 2013年2月22日星期五UTC+8下午4时33分29秒,Eldar写道:
>
> Javascript require system just unpaired. What's the point of this spec? 
> Bundle format? Have a look at 
> components<https://github.com/component/component/wiki/Spec> in 
> case you haven't.
>
> On Friday, February 22, 2013 7:38:11 AM UTC+4, [email protected] wrote:
>>
>> visit URL is: https://github.com/fch415/jss
>>
>> *#1 Javascript Class Specification*Summary 
>>
>> This specification solves JS Class and Package definitions and auto 
>> loading. Allows loading general js or css file of JS Class's dependent 
>> resources. Because of each class namespace under its own class loader, so 
>> the class system will not conflict namespace. Plus the reflect Object and 
>> APIs of class system.
>> * #2 Javascript Bundle Specification
>> *Summary 
>>
>> This specification is based on "JS Class Specification", solves JS Class 
>> Library definition and packaging. Any directory you can regarded as a 
>> bundle, includes package dirs and class files, other JS files not support 
>> the "JCS" spec., CSS files, images or video files, and so on. But as really 
>> "JS Bundle", this directory need a necessary file named "manifest.json". In 
>> this json file, define key informations, such as the bundle name which not 
>> is this directory name.
>>
>> Offical implement framework is JSDK 1.0: https://github.com/fch415/jtdk
>>
>>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to