1 / 12

ThinkSpace

Pete Boysen. ThinkSpace. Outline. Demo Programming Environment System Architecture Example Code. Demo. ThinkSpace in hosted mode. Programming Environment. Enterprise Development Thousands of users Clustered computers Must support Windows,Mac and Linux

yoshino-gen
Download Presentation

ThinkSpace

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pete Boysen ThinkSpace ThinkSpace Design

  2. ThinkSpace Design Outline • Demo • Programming Environment • System Architecture • Example Code

  3. ThinkSpace Design Demo • ThinkSpace in hosted mode

  4. ThinkSpace Design Programming Environment • Enterprise Development • Thousands of users • Clustered computers • Must support Windows,Mac and Linux • Multiple diverse applications • Limited Staff (me) • Limited Funds • Bottom Line: can one person support the needs of the many?

  5. ThinkSpace Design Oh, CRUD • Many widgets will issue CRUD operations automatically • You can directly call DataSources to fetch(read), add(create), remove(delete) or update(update) • You can add datasource parameters if needed

  6. ThinkSpace Design System Architecture Browser XQuery think?a=1&b=2 SmartGWT ThinkSpace XML Tomcat Model – XML files and DB data View – SmartGWT Controller - XQuery AFS DB

  7. ThinkSpace Design Available Resources • HTML Editor • Librarian Widget (file manager) • Note Taker • Video and chat conferencing tool

  8. ThinkSpace Design <profile help="false" photo="" forward="" provider=""theme="SilverWave"> <apps> <app> <id>libraryapp</id> <name>Library of files</name> <description>Manage your files</description> <icon>apps/Notes.png</icon> <category>Utility</category> </app> </apps></profile> Example - Profile • Theme • Email Forward • Cell Provider • Photo • Selected Apps

  9. ThinkSpace Design Profile - Browser • Create DataSource dataSource = new ProjectDataSource ("ThinkSpace", "ThinkSpace", "profile.xq"); • FetchData dataSource.fetchData(); • Parse XML photo = XMLTools.selectString(data,"/response/data/profile/@photo"); • Populate Interface

  10. ThinkSpace Design Testing • TestServiceImpl is provided to test data transfer in hosted mode • _operationType is sent to servlet along with name of xquery file • Servlet looks for file path (model=ThinkSpace, xq=profile.xq)data/ThinkSpace/profile.xq.xml

  11. ThinkSpace Design profile.xq.xml • <xq> <fetch> <response> <status>0</status> <data> <profile help="false" photo="" forward="" provider="" theme="SilverWave"> ..... </profile> • </data> </response> </fetch> <add>...</add> <update>....</update> <remove>...</remove></xq>

  12. ThinkSpace Design Suggestions • What object does a widget need? • Separate small XML files is preferable to one large file • Data can be paged (example: gradebook of 1000 students) • Browser limits async calls to two at once

More Related