Sie sind auf Seite 1von 23

Broadvision 8.

1 Kukini Development

Lesson 4 Sample Application Overview

Course Agenda Lesson 1 Introduction and Overview Lesson 2 System Configuration Lesson 3 Developement Architecture Lesson 4 Sample Application Overview Lesson 5 Foundation Components Overview Lesson 6 Building New Features Lesson 7 Integrating to Foundation App/Website Lesson 8 Best Practices

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Agenda Overview Setting up the Sample Application Site Structure Kukini Commerce Pack Foundation AAs Summary

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Overview

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Overview The kukini-commerce sample application is a fictional commerce site that allow users to shop for items, perform searches, register, login, and purchase goods. These functionalities were built using the XFlows, automated actions, and XForms in the kukini-commerce pack. The application is included with a copy of Kukini Workbench.

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Overview Use Kukini-commerce sample application, To reuse the out of the box Automated Actions To understand best practices for developing a site using Kukini Workbench

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Setting Up the Sample Application

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Setting up the sample application Run load_shell script Windows $BV1TO1/apps/shell/setup/bin/load_shell.cmd Unix $BV1TO1/apps/shell/setup/bin/load_shell.sh

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Site Structure

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Kukini Sample Application Home Page


Header Main Navigation Menu Zone 0 Zone2 Zone4

Zone1

Zone3

Zone5

Footer
10
Copyright 2007, BroadVision Inc. All Rights Reserved Company Confidential and Proprietary

Site Structure User templates To define basic configuration parameters for user and visitor accounts. A user template determines access to top-level pages (the menu items in the kukini-commerce sample application). Channels Channels are represented in the kukini-commerce sample application as top-level pages . Subchannels can also be created in the kukinicommerce sample application and are displayed as menu items below the selected menu item (channel) as you navigate through the site.
11
Copyright 2007, BroadVision Inc. All Rights Reserved Company Confidential and Proprietary

Site Structure (Continued) Display templates To render the contents of top-level pages using Div mapping and by referencing XFlows. The use of display templates facilitates XFlow selection for channel and program administrators by including descriptive information about the content they render. Programs To deliver information. Channels and subchannels contain these programs.

12

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Main Navigation Menu The channels associated to the User Template is displayed as the Main Navigation menu (under header) Note:- Page types are not used in the sample application. Instead channels are linked to User Templates and appear as the Main Navigation Menu

13

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Body The Body is divided into 6 zones (zone0zone5). When user clicks on a channel from Main Navigation menu, the programs mapped under the DIV mapping of the channel will be displayed inside the body into their respective zones.

14

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Channel DIV Mapping -BVMC

15

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Channel DIV Mapping Sample Application

16

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Kukini Commerce Pack

17

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Kukini Commerce Pack The kukini-commerce pack can assist developers in creating applications by eliminating the need to create code for commonly required functionalities. The pack consists of: The sample application that demonstrates what you can do with Kukini XFlows for commonly-needed application feature flows. Automated actions for routine tasks, such as authorizing users. XForms to present information.
18
Copyright 2007, BroadVision Inc. All Rights Reserved Company Confidential and Proprietary

Foundation AAs

19

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Foundation AAs Included in the kukini-commerce application pack Can be considered working samples Show best practices Implement frequently needed functionality Allows customers to jump-start their own application packs

20

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Content AAs CategoriesReadAction


Retrieves a list of child categories for a specified parent.

ContentReadAction
Retrieves the XML for a specific content item.

ContentsReadAction
Reads and returns the contents of a category as a paginated list.

DataByQueryAction
This Foundation AA enables the retrieval of database records using SQL statements. Can use pageflow variables in SQL statement.

RuleSetReadAction
Executes a rules set and returns the results as a paginated list.

21

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Navigation AAs

CategoryBrowseAction
Retrieves a category tree suitable to displaying a category browse. very similar to CategoriesReadAction

ChannelBrowseAction
Retrieves a channel tree suitable for displaying a channel browse. indicates whether channel/program is selected. constructs a pageflow URL with parameters

ProgramReadAction
Reads the details about a specific program, it also allows the content pointed to by the program to be retrieved.

22

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Summary Overview Setting up the Sample Application Site Structure Kukini Commerce Pack Foundation AAs

23

Copyright 2007, BroadVision Inc.

All Rights Reserved

Company Confidential and Proprietary

Das könnte Ihnen auch gefallen