Ticket #100 (closed task: fixed)
Evaluate design patterns for modular JavaScript libraries
| Reported by: | clange | Owned by: | cdavid |
|---|---|---|---|
| Priority: | major | Milestone: | JOBAD Complete Code Revision |
| Component: | JOBAD | Version: | |
| Keywords: | Cc: | frabe | |
| Blocked By: | Blocking: | ||
| Due to close: | 2009/10/09 | Include in GanttChart: | yes |
| Dependencies: | Due to assign: | 2009/10/01 |
Description (last modified by clange) (diff)
In particular: Get the "JavaScript design patterns" book and read relevant parts of it (rather on demand than cover to cover).
Old content
JOBAD will be a modular library. There are several ways of designing modular libraries in JavaScript, none of which we know well so far.
- Would it make sense to implement JOBAD as a collection of modules within the jQuery framework? We want to use jQuery anyway. What kind of modularity does jQuery itself support; is it extensible by custom modules? Please find out!
- Can we learn anything else from other "well-known" JavaScript libraries, such as, e.g. Dojo?
- TinyMCE's plugin interface (for loadable modules that register plugins) is also worth considering -- for those parts of JOBAD that will actually be loadable like plugins, i.e. the services (folding, elision, etc.) and the different GUI elements (menu, toolbar, etc.). See below for an example.
- Also consider the Mathdox approach, as they have implemented their formula editor as a modular library, and they are close collaborators of us and interested in exchanging ideas. (See Jan Willem's mail and [ https://mathdox.org/svn/repos/public/formulaeditor the source code].) How does the Mathdox approach compare against jQuery?
Note that I ordered the book " JavaScript design patterns", which Jan Willem recommended, for the library.
Change History
Note: See
TracTickets for help on using
tickets.
