E-Democracy Pages Wiki

Search Wiki

 

Tools

 

Difference between revisions of "Javascript in GroupServer"

From E-Democracy.org

(Created page with "A growing number of browser UI elements in GroupServer are using JavaScript. As this growth continues, the JavaScript environment provided in the GroupServer framework continues ...")
 
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
==jQuery==
 
==jQuery==
  
Everything uses "jQuery":http://api.jquery.com/. GroupServer provides jQuery via "gs.content.js.jquery.base":https://source.iopen.net/groupserver/gs.content.js.jquery.base/summary. It currently provides version 1.9.1.
+
Everything uses [http://api.jquery.com/ jQuery]. GroupServer provides jQuery via [https://source.iopen.net/groupserver/gs.content.js.jquery.base/summary gs.content.js.jquery.base]. It currently provides version 1.9.1.
  
 
==Bootstrap==
 
==Bootstrap==
  
GroupServer provides "Bootstrap":http://getbootstrap.com/ via "gs.content.js.bootstrap":https://source.iopen.net/groupserver/gs.content.js.bootstrap/summary. It currently provides version 2.2.2.
+
GroupServer provides [http://getbootstrap.com/ Bootstrap] via [https://source.iopen.net/groupserver/gs.content.js.bootstrap/summary gs.content.js.bootstrap]. It currently provides version 2.2.2.
 +
 
 +
==jQuery UI==
 +
 
 +
GroupServer provies [http://jqueryui.com/ jQuery UI] via [https://source.iopen.net/groupserver/gs.content.js.jquery.ui/summary gs.content.js.jquery.ui].
  
 
==Loader==
 
==Loader==
Line 17: Line 21:
 
Because many pages are made up of loosely coordinated viewlets, any of which could require any given JavaScript resources, GroupServer developed a dynamic JavaScript module loader that manages which modules have already been requested and retrieved.
 
Because many pages are made up of loosely coordinated viewlets, any of which could require any given JavaScript resources, GroupServer developed a dynamic JavaScript module loader that manages which modules have already been requested and retrieved.
  
Loader is provided via "gs.content.js.loader":https://source.iopen.net/groupserver/gs.content.js.loader/summary.
+
Loader is provided via [https://source.iopen.net/groupserver/gs.content.js.loader/summary gs.content.js.loader].
 +
 
 +
==Form Supporting JS==
 +
 
 +
* [https://source.iopen.net/groupserver/gs.content.js.autocomplete/summary gs.content.js.autocomplete]
 +
* [https://source.iopen.net/groupserver/gs.content.js.multifile/summary gs.content.js.multifile] - jQuery's Multiple File Upload plugin
 +
* [https://source.iopen.net/groupserver/gs.content.js.required/summary gs.content.js.required] - Resource to validate that a form has all required fields
 +
* [https://source.iopen.net/groupserver/gs.content.js.submit/summary gs.content.js.submit] - Resource that provides a sane UI implementation of submitting/executing a form
 +
 
 +
==Showing/Hiding Content==
 +
 
 +
* [https://source.iopen.net/groupserver/gs.content.js.condense/summary gs.content.js.condense]
 +
* [https://source.iopen.net/groupserver/gs.content.js.disclosure/summary gs.content.js.disclosure]
 +
* [https://source.iopen.net/groupserver/gs.content.js.more/summary gs.content.js.more]
 +
 
 +
==GroupServer JS Objects==
 +
 
 +
The following eggs provide JavaScript resources that include JavaScript objects for interacting with GroupServer.
 +
 
 +
* [https://source.iopen.net/groupserver/gs.search.base/summary gs.search.base] - Provides a GSSearch object to fetch and display search results.
  
 
[[Category:Technology:GroupServer Development Reference]]
 
[[Category:Technology:GroupServer Development Reference]]

Latest revision as of 10:03, 20 August 2013

A growing number of browser UI elements in GroupServer are using JavaScript. As this growth continues, the JavaScript environment provided in the GroupServer framework continues to mature. The following is a summary of the JavaScript environment that is in GroupServer as of August 2013.

gs.content.js.*

Nearly every egg that provides a part of the JavaScript foundation of GroupServer is in this namespace.

jQuery

Everything uses jQuery. GroupServer provides jQuery via gs.content.js.jquery.base. It currently provides version 1.9.1.

Bootstrap

GroupServer provides Bootstrap via gs.content.js.bootstrap. It currently provides version 2.2.2.

jQuery UI

GroupServer provies jQuery UI via gs.content.js.jquery.ui.

Loader

Because many pages are made up of loosely coordinated viewlets, any of which could require any given JavaScript resources, GroupServer developed a dynamic JavaScript module loader that manages which modules have already been requested and retrieved.

Loader is provided via gs.content.js.loader.

Form Supporting JS

Showing/Hiding Content

GroupServer JS Objects

The following eggs provide JavaScript resources that include JavaScript objects for interacting with GroupServer.

  • gs.search.base - Provides a GSSearch object to fetch and display search results.
 

Home - Mobile - Forums - Wiki - Blog - About - Help - Contact - People - Donate - Rules - Archives