extensibility

11 views
Skip to first unread message

Ged Wed

unread,
Jun 23, 2013, 9:11:50 AM6/23/13
to cuj...@googlegroups.com
This is a really nice framework. A thank you.
I see that it has taken many tears but i can see you have really thought about the hard problems and not he low hanging fruit

I can understand how it works from the examples easily in the first 15 minutes
Also the way to extend it looks easy too. I can see where the extension points are just by reading the examples.

1. Can i do loading of applications after the initial page load. I would like to load in other areas of the page later as the user required them.

2. Can you guys make a wiki page where you list other people writing adapters? For example i use levelUP (indexdb, leveldb) allot and would like to write an adaptable based on levelup.
If you dont know levelup for Nodejs and client then have a look. Its very well written and supported now.

3. Cola. Its a real pity that Cola is not being developed. I would rather use Cola than other libraries out there. The patterns you use could be easily applied to binding so that it is self describing like the rest of your architecture. 

4. I just thought of one more. Because the architecture is slf describing i think it lends itself to an Cujo IDE of sorts. Or for example a CMS could be written from this easily.

5 Last one i promised. I do allot of webgl stuff. I think Cujo is perfect for developing a modelling application that runs in the browser.

ged


Charilaos Skiadas

unread,
Jun 23, 2013, 12:27:58 PM6/23/13
to cuj...@googlegroups.com

On Jun 23, 2013, at 9:11 AM, Ged Wed wrote:
> 1. Can i do loading of applications after the initial page load. I would like to load in other areas of the page later as the user required them.

I think what you're looking for is described in this page:
https://github.com/cujojs/wire/blob/master/docs/components.md#defer-example

I agree I would like some more examples myself though.

> 3. Cola. Its a real pity that Cola is not being developed. I would rather use Cola than other libraries out there. The patterns you use could be easily applied to binding so that it is self describing like the rest of your architecture.

I think they will be working on Cola soon, or at least make some plans for it. See:
https://github.com/cujojs/cola/issues/5

Haris Skiadas

Brian Cavalier

unread,
Jun 23, 2013, 3:17:12 PM6/23/13
to cuj...@googlegroups.com


On Sunday, June 23, 2013 12:27:58 PM UTC-4, Charilaos Skiadas wrote:

On Jun 23, 2013, at 9:11 AM, Ged Wed wrote:
> 1. Can i do loading of applications after the initial page load. I would like to load in other areas of the page later as the user required them.

I think what you're looking for is described in this page:
https://github.com/cujojs/wire/blob/master/docs/components.md#defer-example

Yep, wire defer is one technique, and there are others, such as wiring child contexts programmatically (e.g. parentContext.wire(childSpec), to injecting wire (wire can inject itself: https://github.com/cujojs/wire/blob/master/docs/wire.md#injecting-wire), to injecting a wire defer function.  All of these allow you to modularize ("modularize in the coarse grained sense, not in the AMD sense) an app using wire specs to describe large sections of it, bring them into existence when you need then, and then destroy them when you no longer need them.
 

I agree I would like some more examples myself though.

Yes, I agree as well.

Charilaos Skiadas

unread,
Jun 23, 2013, 4:12:12 PM6/23/13
to cuj...@googlegroups.com
Perhaps a new doc page is called for, dedicated to this, showing different ways and their tradeoffs. A dynamically loaded component is my next plan for https://github.com/skiadas/example-cujo-guide but I haven't gotten around to it yet, partly because I wasn't sure of the best way to go about it.

Haris Skiadas

Reply all
Reply to author
Forward
0 new messages