Difference between revisions of "Lab Exercises"

From LongJump Support Wiki
imported>Aeric
imported>Aeric
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 a Report
Add to Lab C.2:
:*View a list of records. Click the Help link. View a record


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


* [[Lab C.5: Customize the Application]]
:*; Lab C.4: Customize Your Dashboard
* '''Lab C.n: Give the user choices'''
:** Add a report
** Static data in a pick list (drop down)
:** Yahoo Map Component
** Multiple selections with a multipicklist
:** Google Search Component
** Dynamic lookup of another object


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:* [[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 A-1: Create an application
:* '''Lab C.n: Give the user choices'''
:** Static data in a pick list (drop down)
:** Multiple selections with a multipicklist
:** Dynamic lookup of another object
 
 
:*;Lab C.N: Create an application
--step 1, design the data structures (Order Processing Sample)
--step 1, design the data structures (Order Processing Sample)
--step 2: Choose a creation method
--step 2: Choose a creation method
Line 31: Line 31:
     --point out that you  
     --point out that you  


*; Lab ?.?: Import data
:*; Lab C.N: Import data
** For more, see [[Data Import]]
:** For more, see [[Data Import]]
 
*; Lab ?.?: Define a data policy
** Use an existing policy, if possible
** Else define a simple one


:*; Lab C.N: Define a data policy
:** Use an existing policy, if possible
:** Else define a simple one
-->
-->


Line 43: 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 -- 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.4: Read and store object data -- PAGE EXISTS
*; Lab B.10: Add a Static Resource
:** Read and store cookies?
*; Lab B.11: Deploy an app to a production environment
:*** how to access user data from login profile
** Export a package (choose high-level components, dependencies managed)
:*** ?-define new data dynamically?
** Import the package on a production or Q/A system
:*** ?-how to store session data?
 
:*; Lab B.9: Add an AJAX Control
:*; Lab B.10: Add a Static Resource
:*; Lab B.11: Deploy an app to a production environment
:** Export a package (choose high-level components, dependencies managed)
:** Import the package on a production or Q/A system
-->
-->


Line 74: Line 74:
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]] -- PAGE EXISTS
:*[[Lab A.2: Composite Objects]] -- PAGE EXISTS
** Add and update a collection of related objects that constitute a single logical "entity"
:** Add and update a collection of related objects that constitute a single logical "entity"


*'''Lab A.3: Override Application Behavior'''
:*'''Lab A.3: Override Application Behavior'''
** Doing it at the application level is one way (see [[Lab C.3: Customize the Support Case Manager Application|Lab C.3]])
:** 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
:** Overriding class behavior gives you even more power


*'''Lab A.4 Cascade Data Policy'''
:*'''Lab A.4 Cascade Data Policy'''
** Java fcn to update dependent data in other records<br/> (normal data policies apply only within a record)
:** 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'''
:*'''Lab A.5: Blending in with the Standard Look and Feel'''
** Generate a JSP page using the standard platform styles.
:** 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).

Revision as of 00:01, 30 August 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.