DCL based projects?

Skip to first unread message

Sasha Firsov

Dec 19, 2012, 3:52:25 PM12/19/12
to dc...@googlegroups.com
Hi Eugene,
Lovely concept you have on DCLJS ! 
Is there a plan to use it as a base for some kind of framework/toolkit ? 
While the DCL provides basic lingual support for modular development, it is not sufficient to be accepted by public use. I usually look on surrounding set of widgets, build platform, CDO hosting support, and other required aspects of UI development before use in live projects.
Samples are giving a hint that you have build at least some UI :) Will it be shared for public?

Eugene Lazutkin

Dec 19, 2012, 5:35:02 PM12/19/12
to dc...@googlegroups.com
Personally I do not plan to develop any widget framework on top of dcl. It can be used for that, and it was used for that (closed code), and even the existing Dojo's Dijit was tried with it (dcl can emulate most of dojo.declare). But right now dcl is positioned as a micro-library for node.js and AMD-based projects. It can be used as a part of a framework (OOP usually is not the main part of a framework anyway) to keep the base small structuring it as a set of orthogonal components.
The main motivation to do dcl was based on a bunch of "anti-patterns" I saw in real life code --- somebody wrote a code with good intentions, yet without a way to update/upgrade the code. And after a bunch of "improvements" and patches the final result was a horrible unmaintainable patchwork --- it seems like nobody was at fault, everybody had good reasons for thair hacks, yet the result was invariably horrendous. Another motivational factor was out-of-band knowledge required to use somebody else's code --- "just call it after all work is done", "call my code first, than yours", and so on, when I realized that it can be done much more safely with AOP advices.
Basically I wanted to show those two points with the introductory article, and a widget system is usually a good example of OOP, which is understood by all, even server-side programmers.
Reply all
Reply to author
0 new messages