`
mooncui
  • 浏览: 72713 次
社区版块
存档分类
最新评论

IBM WebSphere Commerce 中的关于catalog 的表设计

阅读更多
在学习IBM WebSphere Commerce的时候,看到关于catalog的表设计,觉得非常灵活强大。
一个store可以对应多个目录,一个目录可以属于多个store,不同子目录在不同store中可以显示,也可以不显示。
Commerce是做大型B2B,B2C网站,基本概念包括:
store  -- 具体的一个网站,实际网站下可以有多个子网站,参考连锁店之类的经营模式。
catalog -- store的主目录
catalog group -- 分组,子目录
catalog entry -- 一类产品,或一个产品,或一个产品包。

one store can have multiple catalogs, on catalog can belong to multiple stores.

TABLES
1. catalog(CATALOG)
PK:catalog_id
(identifier + member_id) 组成index

next: catalog catalog group relation objects

2. catalogdsc(CATALOGDSC)
if catalog without catalogdsc , maybe cannot be viewed in browser, but can ve viewed in accelerator.
for catalogdsc has language_id, so it contains language-dependent imformation.

3. catalog group(CATGROUP)
Used to organize a catalog and help the shopper navigate to the products.

catalog catalog group relation object - links the foremost catalog groups to a catalog
catalog group relation object - links child category groups with their parent group
catalog group catalog entry relation object - links catalog entries with their parent catalog group

4. catalog group attribute(CATGRPATTR)
catagrpattr_id(PK),
language_id(PK),
catgroup_id,
...

It present a view that the shopper uses to compare similar catalog groups.
It includes a sequence column to be used to order the attribute names.

5. Catalog group description(CATGRPDESC)
It contains language-dependent information and an image suitable for viewing.
and a required column: published is important!

thumbnail for gif  -- path?
fullimage for gif  -- path?

6. Catalog catalog group relation(CATTOGRP)
Used catalog_id to find the root categories.
catalog_id(PK),
catgroup_id(PK),
sequence,
catalog_id_link
...
here there is a catalog_id_link bigInt nullable, what purpose?

7. Catalog group relation(CATGRPREL)
relation about group to group
catgroup_id_parent(PK)
catgroup_id_child(PK)
catalog_id(PK)
rule
sequence
catalog_id_link
...
here there is a catalog_id_link bigInt nullable, what purpose?

8. Catalog entry(CATENTRY)
four types:
Item - a tangible unit of merchandise that can be purchased and be shipped.
Product - represents a collection of items that have identical attributes but can be distinguished by their attribute values.
Package - is a collection of items that must be purchased as a single atomic unit, even if its items can be ordered separately.
Bundle - is a collection of items that can be added to the shopping cart with a single selection while its items can be ordered separately.

catentry_id(PK)
member_id
itemspc_id
catenttype_id
mfpartnumber
mfname
markfordelete
url
baseitem_id
...

9. Catalog entry attribute(CATENTATTR)
contains descriptive attributes for catalog entries.
catentattr_id(PK)
language_id
catentry_id
name
value
....

10. Catalog entry description(CATENTDESC)
A catalog entry description object contains language-dependent information and an image suitable for viewing by a shopper.
catentry_id CDATA #REQUIRED
language_id CDATA #REQUIRED
name CDATA #IMPLIED
shortdescription CDATA #IMPLIED
longdescription CDATA #IMPLIED
thumbnail CDATA #IMPLIED
auxdescription1 CDATA #IMPLIED
fullimage CDATA #IMPLIED
auxdescription2 CDATA #IMPLIED
xmldetail CDATA #IMPLIED
available CDATA #REQUIRED
published CDATA #REQUIRED
availabilitydate CDATA #IMPLIED
keyword CDATA #IMPLIED

11. Attribute(ATTRIBUTE)
defines the name, qualified by language, of each attribute used to resolve a product catalog entry into an item that can be added to the shopping cart.
attribute_id CDATA #REQUIRED        (PK)
language_id CDATA #REQUIRED (PK)
attrtype_id CDATA #REQUIRED
name CDATA #IMPLIED
sequence CDATA "0"
description CDATA #IMPLIED
catentry_id CDATA #IMPLIED  -- product's catentry_id


   description2 CDATA #IMPLIED
   field1 CDATA #IMPLIED
   oid CDATA #IMPLIED
   usage CDATA #IMPLIED    --------Default is "1"----- NULL or "1" indicates SKU-resolution. "2" indicates a descriptive attribute and should not be used to resolve SKUs.
   qtyunit_id CDATA #IMPLIED
   groupname CDATA #IMPLIED
   noteinfo CDATA #IMPLIED
   multitype CDATA #IMPLIED
   optcounter CDATA #IMPLIED

     
12. Attribute value(ATTRVALUE)
attrvalue_id CDATA #REQUIRED
language_id CDATA #REQUIRED
attribute_id CDATA #REQUIRED
attrtype_id CDATA #REQUIRED
sequence CDATA "0"
catentry_id CDATA #REQUIRED
name CDATA #IMPLIED

13. Catalog entry relation(CATENTREL)
is used to link a catalog entry to its parent.
--PRODUCT_ITEM: An item can be linked to its product.
--PACKAGE_COMPONENT: A catalog entry of any type can be linked to a
package.
--BUNDLE_COMPONENT: A catalog entry of any type can be linked to a
bundle.

catentry_id_parent CDATA #REQUIRED
catreltype_id CDATA #REQUIRED              -- "PRODUCT_ITEM"....
catentry_id_child CDATA #REQUIRED
sequence CDATA "0"
quantity CDATA #IMPLIED
groupname CDATA #IMPLIED

14. Catalog group catalog entry relation(CATGPENREL)
is used to link a catalog entry to a catalog group. Note that the relationship is qualified by a catalog_id.

catgroup_id CDATA #REQUIRED
catalog_id CDATA #REQUIRED
catentry_id CDATA #REQUIRED
rule CDATA #IMPLIED
sequence CDATA "0"

15. Store catalog(STORECAT)
link catalog objects to a store. The storeent_id is used to find the appropriate set of catalogs to display
catalog_id CDATA #REQUIRED
storeent_id CDATA #REQUIRED
mastercatalog CDATA #IMPLIED
lastupdate CDATA #IMPLIED

16. Store catalog group(STORECGRP)
is used to link catalog group objects to a store.
Typically, a store developer will use the information in these objects to filter the set of catalog groups that are displayed for a given store.
storeent_id CDATA #REQUIRED
catgroup_id CDATA #REQUIRED

17. Store catalog entry(STORECENT)
link catalog entry objects to a store.
Typically, a store developer will use the information in these objects to filter the set of catalog entries that are displayed for a given store.
storeent_id CDATA #REQUIRED
catentry_id CDATA #REQUIRED

18. Display catalog group relation(DISPCGPREL)
is used to link a JSP name to a catalog group. Usually, a default page is provided for an entire site and, when necessary,
an override is provided when the default page is inadequate. Overrides can be selected based on store, member group, device type,
catalog group, language or any combination of these properties.

catgroup_id CDATA #REQUIRED
dispcgprel_id CDATA #REQUIRED   (PK)
language_id CDATA #IMPLIED
devicefmt_id CDATA #REQUIRED
pagename CDATA #REQUIRED
storeent_id CDATA #REQUIRED
mbrgrp_id CDATA #REQUIRED
description CDATA #IMPLIED
rank CDATA #IMPLIED

FOR devicefmt:
XMLHTTP                                                         -10000 -
ECSAXXMLHTTP                                                    -10001 -
XMLMQ                                                           -20000 -
SOAPHTTP                                                        -10003 -
BROWSER                                                         -1 Http browser
I_MODE                                                          -2 I mode
E-mail                                                          -3 E-mail display
MQXML                                                           -4 XML message recieved via MQ
MQNC                                                            -5 Legacy NC message recieved via MQ
SMS                                                             -7 SMS messages
AlertPortlet                                                    -8 MyAlert messages
webservices                                                     -10 webservices

19. Display catalog entry relation (DISPENTREL)
used to link a JSP name to a catalog entry
Overrides can be selected based on store, member group, device type, catalog entry type, catalog entry, language or any combination of these properties.

catentry_id CDATA #REQUIRED
dispentrel_id CDATA #REQUIRED  (PK)
language_id CDATA #IMPLIED
devicefmt_id CDATA #REQUIRED
storeent_id CDATA #REQUIRED
pagename CDATA #REQUIRED
catenttype_id CDATA #REQUIRED
auctionstate CDATA "0"
mbrgrp_id CDATA #REQUIRED
description CDATA #IMPLIED
field1 CDATA #IMPLIED
rank CDATA #IMPLIED
分享到:
评论

相关推荐

    IBM WebSphere Commerce backend dev

    【描述】:尽管描述中没有提供具体信息,但根据“backend dev”这一关键词,我们可以推断本文将聚焦于IBM WebSphere Commerce平台的后端开发实践和技巧。IBM WebSphere Commerce是业界领先的电子商务解决方案,它为...

    基于IBM Websphere Commerce 的电子商务平台简介

    IBM WebSphere Commerce是全球领先的电子商务解决方案之一,专为构建、扩展和管理复杂的在线商务环境而设计。这个平台提供了全面的功能,帮助企业实现B2C、B2B以及多渠道的商业运营。下面,我们将深入探讨基于IBM ...

    IBM WebSphere Commerce安装教程

    IBM WebSphere Commerce是一款强大的电子商务平台,它为企业提供了一整套解决方案,用于构建、管理和扩展线上购物体验。在安装和配置WebSphere Commerce时,我们需要遵循一系列步骤,确保系统能够正确无误地运行。...

    IBM WebSphere Commerce Training

    在"IBM WebSphere Commerce Training"中,我们首先会深入探讨产品架构。WebSphere Commerce的核心架构基于服务导向架构(SOA),这使得它能够轻松集成到企业现有的IT环境中。它由多个模块组成,包括店面模块、业务...

    websphere commerce的使用即websphere commerce图解.pdf

    在本文档中,我们将详细介绍如何使用 IBM WebSphere Commerce 平台以及如何对其进行定制化处理,以满足特定业务需求。WebSphere Commerce 是一款功能强大的电子商务解决方案,它为构建、部署和管理复杂的多渠道零售...

    IBM WebSphere Commerce Suite助BuyUSA提高出口贸易能力

    【IBM WebSphere Commerce Suite】是IBM提供的一款强大的电子商务平台,专为构建和管理复杂的B2B和B2C在线交易而设计。在这个案例中,它被US&FCS(美国与对外商业服务机构)用于提升其出口贸易服务的能力,旨在帮助...

    IBM WebSphere MQ 安装包

    【IBM WebSphere MQ安装包详解】 IBM WebSphere MQ,前身为IBM MQSeries,是IBM公司推出的一款企业级的消息中间件产品。它在信息技术领域扮演着至关重要的角色,为跨网络、操作系统和应用程序提供了高效、安全的...

    IBM WebSphere MQ 技术白皮书.doc

    IBM WebSphere MQ 技术白皮书 IBM WebSphere MQ 技术白皮书是 IBM 公司发布的一份技术白皮书,旨在介绍 IBM WebSphere MQ 产品的技术特性、架构和价值。下面是根据白皮书的内容生成的相关知识点。 概述 在概述...

    IBM WebSphere MQ入门教程.pdf

    IBM WebSphere MQ入门教程 IBM WebSphere MQ 是一种基于消息队列的中间件,用于实现不同的应用程序之间的异步通信。下面是对 IBM WebSphere MQ 的入门教程的总结,涵盖了 WebSphere MQ 的原理、体系结构、重要特点...

    WebSphere Commerce 反编译包

    WebSphere Commerce反编译包是针对IBM的电子商务平台WebSphere Commerce的一款特殊工具,它主要用于查看、分析和可能地修改WebSphere Commerce的源代码。在商业软件开发中,源代码通常是私有的,但反编译工具可以...

    IBM WebSphere DataStage v8.1 中文文档

    IBM Information Server FastTrack, IBM WebSphere® Business Glossary, IBM Information Server Business Glossary Anywhere, IBM WebSphere DataStage®, IBM WebSphere Information Analyzer, IBM WebSphere ...

    IBM WebSphere 认证的教材

    在这个"IBM WebSphere 认证的教材"中,我们可以期待深入学习WebSphere的相关知识,包括其核心概念、功能以及如何在实际环境中应用。 WebSphere Application Server (WAS) 是IBM WebSphere家族的核心组件,它是用于...

    IBM webSphere 认证试题

    综上所述,通过解析IBM WebSphere认证试题中的具体问题,我们深入了解了WebSphere平台在动态Web项目部署、第三方依赖管理、Struts配置以及Servlet初始化等方面的实践要点。这些知识点不仅对准备IBM WebSphere认证...

    IBM WebSphere 认证配套实验帮助文档

    ### IBM WebSphere 认证配套实验帮助文档知识点详解 #### 一、背景介绍与文档概述 IBM WebSphere 是一款由IBM公司开发的企业级应用服务器,主要用于支持Java EE应用程序的部署和运行。IBM WebSphere 认证是业界...

    IBM Websphere Portal Primer

    The dictionary defines a portal as a grand or imposing door or entrance; hence, that picture on the cover. In this book, you will learn why the word portal has become a major buzzword in the world of ...

    ibm websphere portal 学习资料

    IBM WebSphere Portal 是一款强大的企业级门户平台,它允许组织构建、管理和个性化复杂的Web...这些学习资料将是你通往IBM WebSphere Portal专家之路的重要指南,帮助你在实际项目中发挥WebSphere Portal的最大潜力。

    IBM WebSphere MQ消息持久化

    IBM WebSphere MQ是IBM公司开发的消息中间件产品,它能够保证消息在分布式系统中的可靠传递。在IBM WebSphere MQ中,消息持久化是一个重要的特性,它确保了当队列管理器发生异常时,消息数据的安全性和一致性。以下...

    IBM Redbook - WebSphere Commerce Best Practices in Web 2.0 Store

    综上所述,《IBM Redbook - WebSphere Commerce Best Practices in Web 2.0 Store》不仅是一本技术指南,更是电子商务领域中关于如何利用Web 2.0技术提升用户体验和商业价值的重要参考书。通过学习本书,开发者和...

Global site tag (gtag.js) - Google Analytics