Difference between revisions of "Lab Exercises"

From LongJump Support Wiki
imported>Aeric
imported>Aeric
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
===Customization Exercises===
===Customization Exercises===
In these exercises, you'll explore an existing application and learn how to do simple customizations with a minimum of coding.
In these exercises, you'll explore an existing application and learn how to do simple customizations with a minimum of coding.
* [[Lab C.1: Install an Application]]
:* [[Lab C.1: Install an Application]]
* [[Lab C.2: Explore the Application]]
:* [[Lab C.2: Explore the Application]]
<!--
<!--
* [[Lab C.3: Customize the Application]]
Add to Lab C.2:  
* '''Lab C.n: Give the user choices'''
:*View a list of records. Click the Help link. View a record
** Static data in a pick list (drop down)
** Multiple selections with a multipicklist
** Dynamic lookup of another object


* Lab C.4 Customize a Report
:* Lab C.3 Customize a Report


*; Lab C.5: Customize Your Dashboard
:*; Lab C.4: Customize Your Dashboard
** Add a report  
:** Add a report  
** Yahoo Map Component
:** Yahoo Map Component
** Google Search Component
:** Google Search Component


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:* [[Lab C.5: Customize the Application]]
Application Building Exercises
:** Require: Familiarity with [[List View]] and [[Record View]]
In this exercise, you'll build a simple application from scratch using the
application-construction Wizard
Note: can also create from an existing template, or import from a spreadsheet.


*; Lab ?.?: Import data
:* '''Lab C.n: Give the user choices'''
** For more, see [[Data Import]]
:** Static data in a pick list (drop down)
:** Multiple selections with a multipicklist
:** Dynamic lookup of another object


*; Lab ?.?: Define a data policy
** Use an existing policy, if possible
** Else define a simple one


:*;Lab C.N: Create an application
--step 1, design the data structures (Order Processing Sample)
--step 2: Choose a creation method
    --point to create from template and create by import
    --point out that you
:*; Lab C.N: Import data
:** For more, see [[Data Import]]
:*; Lab C.N: Define a data policy
:** Use an existing policy, if possible
:** Else define a simple one
-->
-->


Line 37: Line 42:
In these exercises, you'll do some basic programming in the platform.
In these exercises, you'll do some basic programming in the platform.


*; [[Lab B.1: Hello World]]
:*; [[Lab B.1: Hello World]]
** Set up a development environment
:** Set up a development environment
** Create a JSP page  
:** Create a JSP page  


*; [[Lab B.2: Simple Interaction]]
:*; [[Lab B.2: Simple Interaction]]
** Controller class
:** Controller class
** JSP button
:** JSP button


*; [[Lab B.3: Adding Functionality]]
:*; [[Lab B.3: Adding Functionality]]
**Pass data to the controller
:**Pass data to the controller
**Pass data from the controller to the next page in the process stream
:**Pass data from the controller to the next page in the process stream
**Use the Debug Log
:**Use the Debug Log


<!--
<!--
*; Lab B.4: Read and store object data
ToDo:
** Read and store cookies?
* Show how to make the page into a Web Tab
*** how to access user data from login profile
* Show how to make it into a Widget
*** ?-define new data dynamically?
* Show how to display the Widget in the Home Page
*** ?-how to store session data?  
* Show how to display the Widget in the Sidebar
 
:*; Lab B.4: Read and store object data -- PAGE EXISTS
:** Read and store cookies?
:*** how to access user data from login profile
:*** ?-define new data dynamically?
:*** ?-how to store session data?  


*; Lab B.9: Add an AJAX Control
:*; Lab B.9: Add an AJAX Control
*; Lab B.10: Add a Static Resource
:*; Lab B.10: Add a Static Resource
*; Lab B.11: Deploy an app to a production environment
:*; Lab B.11: Deploy an app to a production environment
** Export a package (choose high-level components, dependencies managed)
:** Export a package (choose high-level components, dependencies managed)
** Import the package on a production or Q/A system
:** Import the package on a production or Q/A system
-->
-->


Line 68: Line 79:
In these exercises, you'll tackle larger tasks.
In these exercises, you'll tackle larger tasks.


*'''Lab A.1: REST Interfaces'''
:*'''Lab A.1: REST Interfaces'''  
** Explore the HTTP-based REST interfaces available on the platform
:** Explore the HTTP-based REST interfaces available on the platform
*[[Lab A.2: Composite Objects]]
 
** Add and update a collection of related objects that constitute a single logical "entity"
:*[[Lab A.2: Composite Objects]] -- PAGE EXISTS
*'''Lab A.3: Override Application Behavior'''
:** Add and update a collection of related objects that constitute a single logical "entity"
** Doing it at the application level is one way (see [[Lab C.3: Customize the Support Case Manager Application|Lab C.3]])
 
** Overriding class behavior gives you even more power
:*'''Lab A.3: Override Application Behavior'''
*'''Lab A.4 Cascade Data Policy'''
:** Doing it at the application level is one way (see [[Lab C.3: Customize the Support Case Manager Application|Lab C.3]])
** Java fcn to update dependent data in other records<br/> (normal data policies apply only within a record)
:** Overriding class behavior gives you even more power
*'''Lab A.5: Blending in with the Standard Look and Feel'''
 
** Generate a JSP page using the standard platform styles.
:*'''Lab A.4 Cascade Data Policy'''
:** Java fcn to update dependent data in other records<br/> (normal data policies apply only within a record)
 
:*'''Lab A.5: Blending in with the Standard Look and Feel'''
:** Generate a JSP page using the standard platform styles.
-->
-->


<!--
<!--
===Future Exercises===
===Future Exercises===
* '''Create a GUI component'''
:* '''Create a GUI component'''
* '''Build Other Interfaces'''  
:* '''Build Other Interfaces'''  
** Use [http://www.jquery.com jQuery], [http://code.google.com/webtoolkit/ GWT], [http://developer.yahoo.com/yui/ YUI], and [http://www.adobe.com/products/flex/ Flex].
** Use [http://www.jquery.com jQuery], [http://code.google.com/webtoolkit/ GWT], [http://developer.yahoo.com/yui/ YUI], and [http://www.adobe.com/products/flex/ Flex].
**This [http://www.kylehayes.info/2009/03/29/survey-results-javascript-frameworks Survey] has usage statistics: jQuery 42%, GWT 8%, YUI 7%.<br/>(But Flex was still new when the survey was taken).
**This [http://www.kylehayes.info/2009/03/29/survey-results-javascript-frameworks Survey] has usage statistics: jQuery 42%, GWT 8%, YUI 7%.<br/>(But Flex was still new when the survey was taken).

Latest revision as of 23:39, 7 September 2011

These exercises are intended to explore each facet of the platform, using the simplest possible examples, so you can begin using those features in your designs as rapidly as possible.

Customization Exercises

In these exercises, you'll explore an existing application and learn how to do simple customizations with a minimum of coding.

Basic Programming Exercises

In these exercises, you'll do some basic programming in the platform.