Difference between revisions of "Lab Exercises"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric Β |
||
(5 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]] | ||
<!-- | <!-- | ||
Add to Lab C.2: | |||
:*View a list of records. Click the Help link. View a record | |||
* | :* Lab C.3 Customize a Report | ||
* | :*; Lab C.4: Customize Your Dashboard | ||
:** Add a report | |||
** | :** Yahoo Map Component | ||
** | :** Google Search Component | ||
** | |||
:* [[Lab C.5: Customize the Application]] | |||
:** Require: Familiarity with [[List View]] and [[Record View]] | |||
*;Lab | :* '''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 30: | ||
Β Β Β --point out that you Β | Β Β Β --point out that you Β | ||
*; Lab | :*; Lab C.N: Import data | ||
** For more, see [[Data Import]] | :** For more, see [[Data Import]] | ||
Β | |||
:*; Lab C.N: Define a data policy | |||
:** Use an existing policy, if possible | |||
:** Else define a simple one | |||
--> | --> | ||
===Basic Programming Exercises=== | ===Basic Programming Exercises=== | ||
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 | ||
<!-- | |||
ToDo: | |||
* Show how to make the page into a Web Tab | |||
* Show how to make it into a Widget | |||
* Show how to display the Widget in the Dashboard | |||
* Show how to display the Widget in the Sidebar | |||
:*; Lab B.4: Read and store object data -- PAGE EXISTS | |||
*; Lab B.4: Read and store object data -- PAGE EXISTS | :** Read and store cookies? | ||
** Read and store cookies? | :*** how to access user data from login profile | ||
*** how to access user data from login profile | :*** ?-define new data dynamically? | ||
*** ?-define new data dynamically? | :*** ?-how to store session data? Β | ||
*** ?-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 | ||
--> | --> | ||
===Advanced Exercises=== | ===Advanced Exercises=== | ||
In these exercises, you'll tackle larger tasks. | In these exercises, you'll tackle larger tasks. | ||
<!-- | |||
:*'''Lab A.1: REST Interfaces''' | |||
:** 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.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]]) | |||
:** Overriding class behavior gives you even more power | |||
*'''Lab A. | :*'''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. | |||
Β | |||
*'''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 00:12, 3 December 2013
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.
-
- Set up a development environment
- Create a JSP page
-
-
- Controller class
- JSP button
-
-
- Pass data to the controller
- Pass data from the controller to the next page in the process stream
- Use the Debug Log
-
Advanced Exercises
In these exercises, you'll tackle larger tasks.
- Lab A.2: Composite Objects
- Add and update a collection of related objects that constitute a single logical "entity"
- Lab A.2: Composite Objects