concept for future magnolia (possibly 3.5) (MAGNOLIA-587)

[MAGNOLIA-620] Javascript: clean up Created: 12/Jan/06  Updated: 03/Dec/13  Resolved: 03/Dec/13

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Philipp Bärfuss Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Date of First Response:

 Description   

Libs


  • prototype.js library
  • templates.js from trimpath
  • query.js from trimpath

OOP
------

  • each method is asigned to an object / class (no mgnlBlaBliMethod())
  • each class uses ONE file
  • JS supports inheritance by prototype: we use it (do not mix up with inheritance by classes like Java)!
  • static methods are asigned to the prototype
  • make things private if they are

AJAX
-------

  • DWR (return only data no html)
  • using templating facility (see trimpath)
  • templates are placed in hidden divs (readable)


 Comments   
Comment by Philipp Bracher [ 13/Apr/06 ]

The js model should reflect the ViewTree in JSF.

Events to cascade:

  • onresize
  • onload
Comment by Philipp Bärfuss [ 03/Dec/13 ]

Hi,

Thanks for reporting and/or commenting on this issue. We are currently reviewing issues that have had no or minimal activity for several years. Magnolia has evolved tremendously since this issue was reported; in order to focus our work, we are closing such issues.

We realize that some of these might still be valid today - and we ask for your cooperation here. In some cases, we will be linking to overarching stories, or simply more up-to-date similar issues. If you believe this issue is still relevant today, please leave a comment below and we will get back to you.

Cheers,

Generated at Mon Feb 12 03:19:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.