锘??xml version="1.0" encoding="utf-8" standalone="yes"?> 7.1 Logical Structure of a Portal The portal uses a tree like hierarchical structure, where the root o tree is called Content Root. Nodes in this hierarchy belong to one of the following types: Pages Labels, URLs, Pages: the basic building block used for displaying content in the form of portlets. Page nodes may contain other nodes, including other pages. Labels: a placeholder for pages. Labels may contain other nodes, but display no content, and are used to provide logical grouping of nodes which are used to define common attributes such as access permissions. URLs: used to access any resource that can be addressed with a URL. URLs obviously do not contain any other nodes. URLs are useful for addressing external Web sites or another part of the portal. 7.2 Browsing through the Content Hierarchy 7.2.1 The Manage Pages window allows you to browse through the content hierarchy. On the right-hand side of the current node name are some buttons: Editing page properties Editing page layout (only for page nodes) Controlling access permissions Deleting the node 7.2.2 Page Inheritance with Shared Pages When content of a new page is based on another page, the new page is essentially the aggregation of the existing page with a new specialized layer on top of latter. This implies that a prerequisite for accessing a page using a shared page is that both the page and the shared page must be accessible by the user. Shared pages essentially implement a form of inheritance. A page based on a shared page inherits the layout and content of latter. An important characteristic of share pages is that any changes made to the share page are reflected on all the pages referencing it. A shared page can reference another shared page, thus creating a chain of page references. 7.2.3 Advanced Layout Editing WebSphere Portal allows six different page basic layouts. Click the Configure button in top-right corner of the window, we can check the box reading Show Toggle Link for Show Layout Tools/Hide Layout Tools. Once do this, the six layout patterns are no longer visible and you may customize your layout by adding as many container as you want. For each column container you may set its width, as well as add row containers within it. 7.2.4 Locks The Locks tab allows the administrator to limit the flexibility of a user in editing the page layout and content. Locking the container prevents users from removing this container from a page, whereas locking the container content prevents users from adding or removing portlets and sub containers from the container. Lock are applicable to shared pages, and allow top-level administrators in cascading portals to define content that is mandatory in a page. Of course, you can un-lock containers.
鏃犵枒 if/else鍑犱箮鏄墍鏈夌紪紼嬭璦鐨勪竴涓噸瑕佽娉曪紝鎴戜滑涓嶄絾鍙互鍦ㄧ畝鍗曠殑鍑芥暟閲岄潰鍙戠幇瀹冪殑瓚寵抗錛屾洿涓嶇敤璇村湪鍏鋒湁澶嶆潅閫昏緫銆佷唬鐮佽鏁扮瘡绱殑鍔熻兘閲岄潰浜?jiǎn)銆傛墍浠ュ敖綆f/else鏄竴涓畝鍗曠殑璇硶緇撴瀯錛屼絾瀹冪殑鍔熻兘寰堝己澶с?br />
if/else鐨勫己澶т嬌寰楁垜浠湪閬囧埌浠諱綍鍒嗘敮閫昏緫閲岄潰閮戒細(xì)浼樺厛鑰冭檻瀹冪殑浣跨敤錛屾墍浠ユ棤璁烘槸綆鍗曠殑錛岃繕鏄鏉傞昏緫鍔熻兘鍑芥暟閮戒細(xì)鍑虹幇if/else錛屼絾鏄繖縐?#8220;浼樺厛鑰冭檻”鏇村鐨勬椂鍊欏嵈鍙樻垚浜?jiǎn)涓縐嶆傛伩鍜岃鎯戙傜壒鍒湪澶嶆潅閫昏緫鍔熻兘鍑芥暟閲岄潰錛屼笉涔廼f/else閿欑敤銆佹互鐢ㄥ拰宓屽鐢ㄣ俰f/else閿欑敤銆佹互鐢ㄥ拰宓屽鐢ㄩ兘浼?xì)鍦ㄤ笉鍚尳E嬪害涓婂噺灝戜唬鐮佺殑鍙鎬э紝闄嶄綆浠g爜鐨勫彲緇存姢鎬э紝澧炲姞娼滃湪bug鐨勫彲鑳芥с?br />
if/else閿欑敤銆備粈涔堟槸if/else閿欑敤錛熺敱浜庝漢鐨勬濈淮蹇熸э紝浣垮緱鎴戜滑鑳藉涓涓嬪瓙瀵逛竴浜涗腑絳夊鏉傜殑閫昏緫鐞嗚В錛岃兘澶熶竴涓嬪瓙鎶婁腑絳夊鏉傜殑閫昏緫緇撴瀯嫻幇鍦ㄨ剳嫻鳳紝鍥犳鍦ㄧ紪紼嬬殑鏃跺欏氨瀹規(guī)槗榪囦簬鑷俊錛屼緷钁姦鐢葷摙錛屾兂鍒板摢鍐欏埌閭c傞氬父榪欏鏄撲嬌寰楁煇浜涗漢鍦ㄤ嬌鐢╥f/else鐨勬椂鍊欏鑷撮敊鐢紝涓嬮潰鏄竴涓猧f/else閿欑敤鐨勪緥瀛愶細(xì)
/*
2 * 鍙瓨鍦ˋ銆丅鍜孋鎯呭喌鐨勯昏緫
3 */
4 if(A){
5 //dosomething
6 }else{
7 if(B){
8 //dosomething
9 }else{
10 if(C){
11 //dosomething
12 }
13 }
14 }
2 //dosomething
3 if(A){
4 //dosomething
5 }else{
6 if(B){
7 //dosomething
8 }else{
9 if(C){
10 //dosomething
11 }
12 }
13 }
14}
2 * 鎬濊礬涓錛氭彧if/else/
3 */
4 if(A){//dosomething}
5 if(B){//dosomething}
6 if(C){//dosomething}
7
8 /*
9 * 鎬濊礬浜岋細(xì)浣跨敤switch
10 */
11 switch(condition){
12 case 'A': //dosomething;break;
13 case 'B': //dosomething;break;
14 case 'C': //dosomething;break;
15 default ://dosomething;break;
16 }
if/esle铏藉皬錛岃屼笖鍔熻兘寮哄ぇ錛屼絾濡傛灉涓嶆紜嬌鐢紝涓嶄絾浼?xì)璁╀唬鐮伨l存姢鍥伴毦錛屾洿鍙曟槸鐣欎笅娼滃湪鐨刡ug銆備互涓?涓棶棰樻槸姣旇緝鏅氬嚭鐜扮殑闂錛屽彧瑕佹垜浠粏蹇?jī)鐨勮瘽锛寴q欎簺闂閮藉彲浠ラ伩鍏嶏紝淇敼鍜屽畬鍠勩?br />
鎽╁皵瀹氬緥鏄敱intel鐨勬垐鐧繪懇灝?dāng)鎻愬嚭鐨勪竴涓鐐癸紝鍏蜂綋鍚箟鍙互鏌ョ湅涓?a style="font-family: " target="_blank">鎽╁皵瀹氬緥銆傛懇灝?dāng)瀹氬緥鎸囧嚭IC鍒朵綔鎶鏈互鐩寸嚎鐨勬柟寮忓悜鍓嶆帹榪涳紝鏅亶嫻佽鐨勮娉曞氨鏄?姣?8涓湀鐣竴鐣?錛屾懇灝?dāng)瀹氬緥鐢氳噷櫩樿鎺q胯嚦鏁翠釜IT琛屼笟銆傜湅鏉ヤ技涔庝竴鍒囬兘鏄偅涔堢鍚堟懇灝?dāng)瀹氬緥锛屼絾鍚屾椂杩欎竴鍒囪鏄庢妸鎽╁皵瀹氬緥鐨?#8220;閭伓”錛屾懇灝?dāng)瀹氬?#8220;璇呭拻”浜?jiǎn)杩欎竴鍒囥傘婃氮娼箣宸呫嬬殑浣滆呭惔鍐涙彁鍑?a style="font-family: " target="_blank">“鍙嶆懇灝?dāng)瀹氬?#8221;鎻ず浜?jiǎn)鎽當(dāng)瀹氬緥鐨勫疄璐ㄣ傚弽鎽╁皵瀹氬緥浠庢懇灝?dāng)瀹氬緥鐨勫弽鏂瑰悜杩涜鎬濊冿紝綆鍗曠殑璇村鏋滀竴涓紒涓氭病鏈夐伒寰懇灝?dāng)瀹氬緥锛屼粖澶╁拰杩囧?8涓湀涓鏍峰崠鎺夊悓鏍峰銆佸悓鏍風(fēng)殑浜у搧錛岄偅瀹冪殑钀ヤ笟棰濆氨鍙湁涓鍗娿傝繖璇存槑浜?jiǎn)浠涔堬紵榪欏氨鎰忓懗鐫鍦ㄤ笉閬靛驚鎽╁皵瀹氬緥涓嬶紝榪欎釜浼佷笟90%閮戒細(xì)鍊掗棴錛侀偅涔堜綘璇磋繖涓槸涓嶆槸涓涓瓟鍜掑摝錛燂紒鎴堢櫥鑳屽悗鎵浠h〃鐨勬槸intel絳夊ぇ鍏徃錛屽畠浠叿鏈夊厛榪涚殑鎶鏈拰闆勫帤鐨勮儲(chǔ)鍔涳紝瀹屽叏鏈夎兘鍔涘仛鍒版懇灝?dāng)瀹氬緥閭f狓P紝浣嗗叾浠栦腑灝忓叕鍙歌兘鍚楋紵鏄劇劧鏄笉鑳界殑錛佺粨鏋滄槸澶у叕鍙歌秺鍙戝崰棰嗗競(jìng)鍦猴紝涓皬鍏徃鍒欒榪涜鍙︿竴杞窐姹板拰鍚為銆?nbsp;
紜疄錛屾垜浠笉鑳藉惁瀹氭懇灝?dāng)瀹氬緥缁欎竴鑸皯浼楀甫鏉ョ殑濂藉錛氫釜浜虹數(shù)鑴戙佺數(shù)鑴戦厤浠朵互鍙?qiáng)鏁扮爜漶斿搧瓒婃潵渚垮疁銆備絾闀胯繙鏉ョ湅錛屾懇灝?dāng)瀹氬緥鋴慑緱浠ュ悗涓瓰畯鍏徃绾肪U峰掗棴錛屽競(jìng)鍦哄彧瀛樺湪灝戞暟鐨勮秴綰уぇ鍏徃錛岄偅甯?jìng)鍦轰笂鐨勭數(shù)鑴戜骇鍝佷讳h牸鎺у埗鏉冧笉鏄畠浠浜?jiǎn)绠楀Q熼偅鎴戜滑鏄笉鏄氨鍙樻垚浜?jiǎn)鐮ф澘鐨勯逼D倝錛屼換浜哄鍓插憿錛熸湁鐐規(guī)壇榪滀簡(jiǎn)錛岃繕鏄洖褰掕瘽棰樸傛懇灝?dāng)瀹氬緥杩櫩U嶅埄鐢ㄨ嚜韜殑浼樺娍鍘?#8220;緇熸不”甯?jìng)鍦虹殑鎷涘紡迤堜笉鏄彧鏈塱ntel浼?xì)鐢ㄥQ屽叾瀹炶法鍥藉ぇ鍏徃閮藉姝よ交杞︾啛璺紝Ibm鎻愬嚭鐨凷OA涓嶆鏄埄鐢ㄨ嚜韜湪浼佷笟鏈嶅姟鐨勮蔣浠跺拰紜歡浼樺娍鍐嶆鎴愪負(fù)榪欎釜甯?jìng)鍦虹殑涓诲畮图烳icrosoft涓嶆柇鐨勬帹鍑烘柊鐨勬搷浣滅郴緇熶篃鏄姝わ紝鏂版搷浣滅郴緇熺殑鎺ㄥ嚭鏈鍚庝嬌寰楁皯浼楃殑鍙h鎲嬩笅鍘諱簡(jiǎn)錛孧icrosoft鐨勮佹澘浠殑鍒鍙堝涓鏍嬨傚緢澶氭椂鍊欙紝鎴戜滑鍏跺疄鏄“鎽╁皵瀹氬緥”浜?jiǎn)锛屽彧鏄垜浠ぇ瀹堕兘杩樹(shù)笉娓呮鑰屽効銆?/span>
1.childNodes
涓嶅悓嫻忚鍣ㄤ嬌鐢╟hildNodes鍦ㄥ鐞員ext鑺傜偣瀛樺湪涓浜涘樊寮傘侻ozilla璁や負(fù)鍏冪礌涔嬮棿鐨勭┖鐧芥槸Text鑺傜偣錛涜孖E錛屼細(xì)蹇界暐榪欎簺絀虹櫧銆傚彲浠ラ氳繃鍒ゆ柇childNodes[x].nodeValue == "#text"錛宑hildNodes[x].nodeType == 1瑙e喅榪欎釜闂錛涙垨鑰呬嬌鐢╟hildren灞炴э紝children灞炴ф槸涓涓暟緇勶紝鍙互閫氳繃绱㈠紩鑾峰彇瀛愯妭鐐癸紱
2.document
IE浣跨敤document.all錛岃屼嬌鐢╠om鏍囧噯鐨勬祻瑙堝彲浠ラ氳繃document.getElementsByTagName("*") 錛?br />
3.Id&getElementById
鍦↖E涓彲浠ユ妸Id褰撲綔鍏冪礌浣跨敤錛屼絾鍦ㄥ叾浠栨祻瑙堝櫒涓嶆敮鎸併傚洜姝ゅ緩璁嬌鐢╣etElementById錛実etElementById鍦↖E6涓嬌鐢紝濡傛灉鍏冪礌Name絳変簬Id錛屼篃浼?xì)涓鍚岃繑鍥烇紱
4.闆嗗悎鏁扮粍
IE涓湪浣跨敤闆嗗悎綾誨璞℃椂鍊欙紝璁塊棶鍙互閫氳繃()涓?/span>[]銆傚緩璁悓涓浣跨敤[]dom鏍囧噯璁塊棶錛?br />
5.body瀵硅薄
鍦?/span>IE涓?/span>body瀵硅薄瑕佸湪<body>鏍囩瀹屽叏璇誨叆鎵嶄細(xì)瀛樺湪錛岃屽湪FireFox涓竴寮濮嬪氨瀛樺湪錛?br />
6.Type灞炴?br />
鍦?/span>IE涓?/span>input鏍囩鐨?/span>type灞炴ф槸鍙鐨勶紝浣嗗湪FireFox涓槸鍙鍐欑殑錛?br />
7.removeNodes/removeChild
鍦‵ireFox鑺傜偣涓病鏈塺emoveNode鏂規(guī)硶錛屽繀欏諱嬌鐢ㄥ涓嬫柟娉?node.parentNode.removeChild(node)錛?br />
8.ParentNode
IE涓嶧ireFox鐨勮闂埗鍏冪礌鏈夊尯鍒紝IE涓篛bj.ParentElement灞炴?FireFox涓篛bj.ParentNode灞炴?/span>瑙e喅鍔炴硶錛氬洜涓篎ireFox涓嶪E閮芥敮鎸丏OM錛屽洜姝ょ粺涓鐢≒arentNode灞炴?/span>錛?br />
9.set/getAttribute
IE鐨剆etAttribute涓嶈兘璁劇疆瀵硅薄灞炴с佷簨浠跺睘鎬у拰style鐩稿叧鐨勫睘鎬э紝瀵逛簬鑷畾涔夌殑鍙互璁劇疆錛涜娉ㄦ剰鍦‵F涓紝閫氳繃鑷畾涔夎緗殑灞炴у拰閫氳繃.鏂規(guī)硶璁劇疆鐨勫睘鎬т笉鏄悓涓涓睘鎬э紱
10.鑷畾涔夊睘鎬?br />
鍦‵F涓笉鏀寔鍍廔E閭f牱鐩存帴鑾峰彇錛屽緩璁粺涓鐢╣etAttribute鏂規(guī)硶錛?br />
11.class/className
IE涓敤”classname”鍋氫負(fù)灞炴у悕鏉ヨ緗垨鍙栧緱css class錛孎F鍜屽叾瀹冩祻瑙堝櫒鐢?#8221;class”鍋氫負(fù)灞炴у悕鏉ヨ緗垨鍙栧緱錛孌om鏍囧噯鐨刵ode object鍏鋒湁className灞炴?br />
12.Range
鍦↖E涓湁document.selection.createRange(),document.body[button|input].createTextRange()錛涜屽湪FF涓彲浠ラ氳繃document.getSelection()[.getRangeAt(0)];鑰屽Range鐨勬搷浣滀腑錛岄櫎浜?jiǎn)IE鍜孌OM鏍囧噯鐨勫悇縐峬ove澶栵紝FF涓殑node element榪樻湁selectionStart,selectionEnd鍙灞炴?br />
Event鐨勫吋瀹規(guī)?br />
1.浜嬩歡嫻佺殑鍖哄埆
IE 鍐掓場(chǎng)浜嬩歡嫻?nbsp; 鍦↖E6澧炲姞<html>絳夊厓绱犲浜嬩歡嫻佺殑鍝嶅簲
Mozillal 鍐掓場(chǎng)浜嬩歡嫻? 鍦↖E6鐨勫熀紜涓婂鍔爓indow瀵硅薄瀵逛簨浠舵祦鐨勫搷搴?br />
Netscape 鎹曡幏浜嬩歡嫻?nbsp; 鍚孧ozillal
DOM鏍囧噯 鍐掓場(chǎng)+鎹曡幏 澧炲姞鏂囨湰鑺傜偣瀵逛簨浠舵祦鐨勫搷搴旓紱鍚屾椂鍐掓場(chǎng)+鎹曡幏浣垮緱浜嬩歡鐩爣榪炵畫鎺ユ敹2嬈′簨浠?br />
錛堣繖鍙兘鏄疍OM鐨勪簨浠跺鍔犲嚱鏁版湁絎?涓弬鏁扮殑鍘熷洜錛?br />
2.浜嬩歡澶勭悊鍑芥暟
IE attach(eventName, fn)銆?nbsp; eventName=on+浜嬩歡鍚?
detachEvent(eventName, fn)
DOM addEventListener(eventName,fn,boolean)
removeEventListener(eventName,fn,boolean) eventName=浜嬩歡鍚?
boolean=true:鎹曡幏|false:鍐掓場(chǎng)
remove鍙湁鍚屼簨浠舵祦鎵嶈兘璧鋒晥
3.浜嬩歡瀵硅薄
瀹氫綅 IE錛歸indow.event錛?nbsp; window.event||arguments[0]
DOM錛歛rguments[0]錛堜簨浠跺鐞嗗嚱鏁扮殑鍙傛暟錛夛紝鍙互閫氳繃caller鏉ラ槻姝㈢‖緙栫爜鑾峰彇錛?br />
浜嬩歡鐩爣 IE錛歟vent.srcElement event.srcElement||event.target
DOM:event.target
闃繪浜嬩歡 IE: event.returnValue = true if(isIE){window.event.returnValue = true;}
榛樿琛屼負(fù) DOM: event.preventDefault() else{arguments[0].preventDefault();}
3.1 榧犳爣浜嬩歡[瀵硅薄]
榧犳爣浣嶇疆 IE錛歟vent.x,event.y event.x?event.x:event.PageX
DOM:event.pageX, event.pageY event.y?event.y:event.PageY
榪涘叆浜嬩歡1 IE 錛歰nmouseenter, onmouseleave 瀹冧滑鐨勫尯鍒湪浜庡鐞嗗祵濂梔om object鍑哄叆涓婏紝鍙湁
DOM錛歮ouseover,mouseout DOM鏍囧噯鎵嶈繘琛屽鐞嗭紝enter/leave浼?xì)蹇界暐锛屼篃灏辨槸璇?
(fromElement!=toElement) && (this.contains(toElement) 瑙﹀彂onmouseover
(fromElement!=toElement) && (this.contains(fromElement) ) 瑙﹀彂onmouseout
榪涘叆浜嬩歡2 IE錛歟vent.fromElement|toElement錛?br />
event.srcElement
DOM錛?target錛宺elatedTarget 瀵逛簬mouseover錛歠romElement=relatedElement,toElement = srcElement=target;
瀵逛簬mouseout : toElement=relatedElement,fromElement = srcElement=target;
3.2 閿洏?shù)簨錃g
瀛楃浠g爜 IE錛歟vent.keyCode錛汥OM: 鏁板間唬鐮?event.keyCode銆俥vent.isChar?event.charCode:event.keyCode 錛屽湪FF涓紝keyCode鍙兘鑾峰緱鍔熻兘閿殑鏁板間唬鐮侊紝鍏朵粬鐨勯渶閫氳繃which鍜宑harCode錛屽湪Opera涓紝鍒欏彧鑳介氳繃which
浠婂ぉ鍜屼竴涓湪璇哄熀浜氬伐浣滆繃鐨勬湅鍙嬭亰Scrum錛岃鍩轟簹鎺ㄥ箍Scrum鏈変袱騫村錛屽拰浠栦氦嫻佸鍒頒簡(jiǎn)寰堝涓滆タ錛岀粰澶у鍒嗕韓涓涓嬶細(xì)
錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛?br />
涓孌靛瘨鏆勪箣鍚庛傘傘?br />
(19:58:23) i: 璇哄熀浜氱敤Scrum鏈夊闀挎椂闂翠簡(jiǎn)闃?br />
(19:58:24) he: 綆楁槸鐢ㄨ繃.鍛靛懙
(19:59:06) he: 鏁翠釜鍏徃鎺ㄨ榪欎釜澶ф涔熸湁涓ゅ勾鐨勬牱瀛?br />
(19:59:18) he: 涓嶈繃鍏蜂綋鍒版垜榪欒竟澶ф鏄竴騫村
(19:59:21) i: 鏃墮棿涔熶笉綆楃煭
(19:59:58) i: 閭d綘緇欐垜璇翠笅閭h竟鐨勬儏鍐墊庝箞鏍?D
(20:00:36) he: 鍏跺疄鎬庝箞璇村憿...N璁頒互鍓嶇殑椋庢牸閮芥槸浣滃潑鍨嬬殑
(20:00:49) he: 姣忎釜浜у搧緇勫氨鏄釜灝忎綔鍧?鎵浠ラ鏍煎悇寮?br />
(20:01:01) he: 鏈夌殑閫傚簲Scrum灝卞揩涓浜?鏈夌殑灝辨湁浜涜蛋鏍?br />
(20:01:16) i: 閭d綘鎵鍦ㄧ殑灝忎綔鍧婃庝箞鏍?br />
(20:01:19) i: 鍛靛懙
(20:02:06) he: 涓嶈繃涓嶇鏈鍚庢槸涓嶆槸鏈変簺璧版牱,榪樻槸鏈変簺濂藉
(20:02:20) i: 鍏蜂綋嫻佺▼鍛?br />
(20:02:31) he: 鍏跺疄涓昏鍘熷洜鏄畠鍘熸潵榪樻湁涓濂楁爣鍑嗙殑浜у搧绔嬮」, 寮鍙? 嫻嬭瘯,
鍙戝竷嫻佺▼.
(20:02:41) he: 鐒惰屽張瑕佹妸Scrum紜鍒頒腑闂村幓
(20:02:55) he: 榪欎腑闂村叾瀹炲氨寰楃湅鎵ц鐨勫洟闃熷拰涓漢鏉冭 浜?br />
(20:02:58) i: 榪欐牱鏄ソ榪樻槸涓嶅ソ銆?br />
(20:03:17) he: 鏄繖鏍?br />
(20:03:56) he: 綆瑕佺殑鏉ヨ,鍘熸潵鐨勫彂甯冩祦紼嬫槸: 鍙鎬х爺絀?-> 绔嬮」 -> 寮鍙?br />
-> 嫻嬭瘯 -> 璇曠敤 -> 鍙戝竷
(20:04:26) i: 浣跨敤scrum浠ュ悗鏄傘?br />
(20:05:08) i: 鍏蜂綋嫻佺▼鏄惁涓ユ牸鎸塖crum鐨勮鍒欐潵鍋氱殑鍛?br />
(20:05:37) he: 閭d箞...鎯蟲(chóng)妸Scrum宓屽叆鍒板紑鍙戣繖涓樁孌靛幓
(20:06:00) i: 鎭?br />
(20:06:00) he: 瀵瑰闈㈡潵璇村師鏉ョ殑閭e嫻佺▼灝變笉鍙?..
(20:06:08) he: 鎵浠ユ湁浜涘湴鏂瑰氨琚寰楀緢姝?br />
(20:06:24) i: 姣斿銆傘?br />
(20:06:39) he: 濡傛灉鍥㈤槦鍙湪寮鍙戣繖涓懆鏈熷仛涓涓や釜榪唬...閭d箞灝遍鍖栧緱璺熷師
鏉ョ殑嫻佺▼宸笉澶氫簡(jiǎn)
(20:07:05) i: 鎴戞劅瑙塖crum鍙互鏇夸唬榪欐暣涓祦紼嬪惂銆?br />
(20:07:20) he: 鍡?)涓嶈繃閭d笉鏄垜鑳芥敼鍙樼殑
(20:07:43) i: 閭d綘涓漢璁や負(fù)嫻佺▼璇ユ庝箞鏀瑰彉鎵嶆瘮杈冨ソ
(20:07:55) i: 灝辨嬁N浠ュ墠鐨勮繖涓負(fù)渚嬪瓙
(20:08:07) he: 鍓嶅洓涓叾瀹為兘鍙互
(20:08:24) he: 涓嶈繃鍥犱負(fù)鍒氭帹琛岀殑鏃跺欏ぇ瀹墮兘瀵筍crum娌℃湁搴?br />
(20:08:38) he: 涓婅竟涔熶笉鎰挎剰鍘繪妸鏂頒笢瑗挎悶寰楅偅涔堟縺榪?br />
(20:09:53) i: 鍙槸鎴戞劅瑙夋妸寮鍙戦偅涓幆鑺傞噰鐢╯crum涔熺畻鏄紜殑鍚э紝鍥犱負(fù)鍓?br />
闈㈢殑鍙鎬х爺絀舵柟闈㈠浣曞幓scrum鍛?br />
(20:10:33) he: 鍡?鍙鎬х爺絀剁殑鎰忔?br />
(20:10:44) he: 鍏跺疄灝辨槸鎶戒袱涓変釜鏈綺懼共鐨勪漢
(20:10:51) he: 緇勬垚涓涓鐮旂殑灝弔eam
(20:11:08) i: en
(20:11:17) he: 鐒跺悗鍦ㄧ粰瀹氱殑鏃墮棿鍐呮妸PM榪樻病鏈夋妸鎻$殑鍔熻兘浣滃嚭demo鏉ラ獙璇佷竴
鏉¤礬鑳戒笉鑳借蛋閫?br />
(20:11:23) he: 鍏跺疄鏄弧閫傚悎Scrum鐨?br />
(20:11:32) he: 涓漢瑙夊緱:)
(20:11:38) i: 鎭╋紝鏈夐亾鐞?br />
(20:12:05) i: Scrum榪欎釜姒傚康鍒版槸涓嶄粎浠呮嫎娉ヤ簬寮鍙?br />
(20:12:16) he: 鐒跺悗榪欎簺灝廸eature鐨刣emo灝變細(xì)鏀寔涔嬪悗鐨勭珛欏圭敵璇?鎵嶈兘鎷垮埌
緇忚垂
(20:12:42) i: 閭g幇鍦?strong>璇哄熀浜氱殑scrum榪樻槸鍦ㄥ紑鍙戠幆鑺?/strong>涓婂悧
(20:13:02) he: 鏄殑
(20:13:21) i: 閭g幇鍦ㄦ槸綆楁垚鍔熷憿錛岃繕鏄傘傘?br />
(20:13:26) he: 鎹垜浜?jiǎn)瑙e鏁版?br />
(20:13:45) he: 鍡?涓嶇鎬庝箞璇? 瀹冨茍涓嶅儚涓涓師鏉ユ爣鍑嗙殑鏍峰瓙, 浣滀簡(jiǎn)鏌愪簺濡ュ崗
(20:13:45) i: 瀵逛簡(jiǎn)錛屽拰浣犲垎浜竴鏈功
(20:13:55) he: 浣嗘垜瑙夊緱榪樻槸鎻愰珮?shù)簡(jiǎn)鏁堢巼鐨?)
(20:14:16) he: 铏界劧,寰堝ぇ紼嬪害涓婂彇鍐充簬鍥㈤槦鍜屼釜浜鴻嚜瑙夌▼搴?br />
(20:14:56) i: 浣犺錛屽亣濡傝浣犲湪涓涓笅鍥㈤槦閲屽幓瀹炴柦Scrum錛屼綘浼?xì)濡備綍鍋氬?br />
(20:15:22) i:
http://www.infoq.com/minibooks/scrum-xp-from-the-trenches
浠婂ぉ鍦╥nfoq鐪嬪埌榪欐湰涔︺?br />
(20:15:41) he: 鍛靛懙, 榪欐湰鎴戞湁PDF
(20:16:10) i: 鍣€傘傘?br />
(20:16:13) i: hehe
(20:16:26) he: 涓嶈繃娌$湅瀹?)
(20:16:33) i: 璇磋浣犵殑鎯蟲(chóng)硶錛屽叧浜庢垜鍒氭墠閭d釜闂
(20:17:41) he: 鏄繖鏍? 鎴戜互鍓嶅甫鐨勫洟闃熼氬父閮芥槸鍦ㄩ鐮斾箣鍚庢帴鎵嬬殑
(20:18:08) he: 鎵浠ュ湪榪欎釜闃舵涔嬪墠, 涓昏榪樻槸鍜孭roduct Manager璁ㄨ浠栫殑闇
姹?br />
(20:18:24) he: 鎮(zhèn)ㄥ彲浠ユ妸N璁扮殑Product Manager鐪嬩綔涓涓唴閮ㄥ鎴?br />
(20:18:30) i: 鎭╋紝閭d簺backlog瑕佸垪鍑烘潵鍚?br />
(20:18:46) he: 榪樹(shù)笉鍒癇acklog閭i噷....
(20:18:53) i: 濂斤紝浣犵戶緇紝鍛靛懙
(20:19:06) he: Product Manager浼?xì)鎻愬囖Z粠浠栬嚜宸辯殑瑙掑害鍑哄彂鏈鐪嬮噸鐨勯渶姹?br />
(20:19:26) he: 榪欎簺闇姹備篃璁告槸寰堢畝鐭殑琛ㄨ堪,灝卞儚涓涓甫鍦烘櫙鐨剈ser story
(20:19:33) i: 鎭?br />
(20:19:47) he: 鍥犱負(fù)浠栦笉浼?xì)寰堝厸_績(jī)鎶鏈? 浠栨洿澶氱殑浠h〃甯?jìng)鍦?br />
(20:20:58) he: 鎵浠ヤ粬鐨勯渶姹備篃璁告槸榪欐牱瀛愮殑:
鑺傜偣A灝嗘敮鎸佺伒媧葷殑瀛樺偍璁懼, 鑷姩鐩戞祴瀹㈡埛緇欎笌鐨勫瓨鍌ㄨ澶囨暟閲忓茍浣滃嚭鎸夋瘮渚?br />
xx:xx鐨勭┖闂村崰鐢?br />
(20:21:21) i: 瀵癸紝鍙槸涓猽ser story
(20:21:31) i: 涓嬩竴姝ュ憿
(20:21:55) he: 鎴栬呭綋鐢ㄦ埛B鐨剉oice浼犺緭鍒拌妭鐐笴鏃?灝嗚嚜鍔ㄧ洃嫻嬪叾濯掍綋綾誨瀷騫?br />
鍋氬嚭璐ㄩ噺鍜岀紪鐮佺殑鍙樻崲
(20:22:27) he: 榪欎簺user story, 鎴戜滑閫氬父浼?xì)鍦ㄤ粬鐨勪細(xì)璁笂鍏堣C笅鏉? 鏁寸悊鎴?br />
涓涓猯ist
(20:22:50) he: PM浼?xì)缁欏囖Z粬鐪嬮噸鐨勪紭鍏堢駭
(20:23:07) i: 瀹㈡埛緇欏嚭浼樺厛綰?錛?br />
(20:23:38) he: 瀵圭殑, 姣斿璇? 灝辯浉褰撲簬闂粬: 鎮(zhèn)ㄦ渶甯屾湜鍦ㄧ涓涓猟emo day涓?br />
鐪嬪埌鐨勬槸鍝竴涓猣eature?
(20:23:43) i: 鑰屼笉鏄垜浠垎鏋愰渶姹傚幓鍒楀嚭浼樺厛綰э紝鏄庣櫧
(20:23:48) he: 鎴栬呮?zhèn)ㄦ渶甯屾湜鎺ㄥ悜甯?jìng)鍦哄崠鐨勬槸鍝竴涓?br />
(20:23:54) i: 鎭?br />
(20:23:58) he: 鏄殑,瀹冮鍏堟槸闈㈠悜feature鐨?br />
(20:24:04) he: 鐒跺悗...鎴戜滑涓嶈兘鍏ㄩ兘絳斿簲
(20:24:27) i: 涓轟粈涔?br />
(20:24:44) i: 鍙互鍒嗚凱浠f潵鍋氬惂
(20:24:59) he: 鎴戜滑闇瑕佷笌鍋歠easibility study鐨則eam娌熼?鐪嬬湅浠栨墍鎻愬嚭鐨?br />
瑕佹眰鏄笉鏄兘鑳藉疄鐜?鎴栬呰兘鍚︿互鍙互鎺ュ彈鐨勪唬浠峰疄鐜?/strong>
(20:25:22) i: 鍣?br />
(20:25:48) i: 鎬庝箞鍙堝洖鍒扮涓鐜妭浜?br />
(20:25:59) he: 濡傛灉涓嶈兘瀹炵幇, 鎴戜滑鍙互榪涗竴姝ヨ窡浠栫‘璁? 鎮(zhèn)ㄧ湅, 浣犳墍璇寸殑
feature鏄疉, 浣嗘槸鎴戜滑瑙夊緱鎮(zhèn)ㄦ洿闇瑕佺殑鍙兘鏄疉+
(20:26:28) he: 鎴栬? 鎮(zhèn)ㄧ湅, 鍦ㄧ粰鍑虹殑寮鍙戝懆鏈熷唴A涓嶈兘鍏ㄩ兘瀹炵幇, 鏄惁鍙互鍏?br />
瀹炵幇A- ...
(20:26:58) he: 鎴栬呭綋鍓嶇殑騫沖彴瀵逛簬瀹炵幇A鏈夋墍闄愬埗, 鎴戜滑鍙互緇欐?zhèn)ㄦ彁渚涗袱涓?br />
鑰? A1 鎴栬匒2
(20:27:11) he: 鏈夌殑鏃跺欎粬鎴栬呭ス閮戒細(xì)鍜嗗摦...
(20:27:13) i: 鎭╋紝搴旇鏄閲忓紡寮鍙戯紝涓姝ユ瀹屾垚瀹㈡埛鐨勯渶姹?br />
(20:27:28) i: 鍛靛懙
(20:27:30) he: 鎴栬呮垜浠弻鏂歸兘鍦ㄥ拞鍝?..
(20:28:17) he: 閭d箞涔熻鏈鍚庤揪鎴愮殑緇撴灉鍙兘浼?xì)鏄垜浠渶瑕佸湪絎竴涓猟emo涓綔
鍑篴, 鐒跺悗鍚屾椂絳夊緟鍙﹀涓涓猼eam鐨勭粍浠禸鐨勬晥鏋? 濡傛灉涓嶈,閭d箞backup鍙兘鏄?br />
c...
(20:28:57) he: 榪欎釜濡ュ崗鍚庣殑緇撴灉閫氬父琚О涓簆roduct feature backlog
(20:29:24) he: 瀹冨浜庢妧鏈粏鑺傚叧娉ㄥ緢灝?涓昏鍏蟲(chóng)敞鏈鍚庤兘瀹屾垚鐨刦eature
(20:29:34) i: 鍣?br />
(20:30:02) i: 榪欎釜鏃跺欏埌sprint璁″垝浼?xì)璁潵缁嗗垎杩欎簺backlog浜?jiǎn)鍚?br />
(20:30:06) he: 瀹㈡埛鍦ㄤ氦璐ф垨鑰呬腑闂寸‘璁よ繘搴︾殑鏃跺欑湅鐨勯氬父閮芥槸feature
backlog
(20:30:45) he: 鏄殑, 閫氬父涔嬪悗姣忎釜feature team閮戒細(xì)鍙泦璧鋒潵寮浼?br />
(20:30:55) he: 涔熷氨鏄疭crum team
(20:31:08) he: 灝嗘瘡涓猣eature閮藉垎瑙d負(fù)鎶鏈笂瀹炵幇鐨勬楠?/strong>
(20:31:32) i: 鐒跺悗緇嗗垎鍑烘潵浜ょ粰鍥㈤槦銆?br />
(20:31:35) he: Scrum Master 浼?xì)灏啒q欎簺姝ラ浣滀負(fù)涓涓釜TASK綰綍
(20:31:45) he: 涓嶆槸緇嗗垎鍑烘潵浜ょ粰鍥㈤槦...
(20:32:01) he: 榪欎釜鏃跺欐瘡涓洟闃熼兘鍙備笌榪涙潵鐪嬭嚜宸辯殑閭i儴鍒唂eature backlog
浜?br />
(20:33:05) i: Scrum Master 璁板綍閭d簺task鍋氫粈涔堛?br />
(20:33:07) he: 鎴愬憳鐜嬪皬鑺卞彲鑳戒細(xì)璇?..鎴戣鐫鍚?瑕佸疄鐜癴eature A 鍙兘鎴戜滑
闇瑕佸厛鍦ㄥ悗孌靛瓨鍌╯涓婂疄鐜頒竴涓娊璞″眰InfA
(20:33:22) he: 瀹冮渶瑕乺outine A1 A2 A3鏉ュ仛
(20:33:31) he: 鐜嬩簩楹誨瓙鍙兘鍙嶅...
(20:33:46) i: 鍛靛懙銆?br />
(20:33:59) he: 璇存垜瑙夌潃鎴戜滑鍙渶瑕佹湇鐢ㄧ粍浠禕鍜岀粍浠禖鎻愪緵鐨勬湇鍔℃帴鍙nfB1鍜?br />
InfC2...
(20:34:20) he: 鐒跺悗緇欎竴涓甫璺敱琛ㄧ殑閰嶇疆鏂囦歡...
(20:34:30) i: 閭h繖涓細(xì)璁渶緇堢洰鏍囨槸瑕佸共浠涔堬紝鎴栬呰瑕佸緱鍒頒粈涔堢粨鏋?br />
(20:34:53) he: 鏈鍚庣殑榪欎簺task, 灝變細(xì)褰㈡垚涓涓懆鏈熷唴鐨剆print backlog
(20:35:13) he: 鑳藉姏瓚婂ソ鐨勫洟闃? 鎵鑳界粏鍒嗗嚭鏉ョ殑task瓚婄簿紜?br />
(20:35:19) i: 鍣紝鏄寚瀹歜acklog鐨勮繃紼?br />
(20:35:27) he: 閫氬父綺掑害鎺у埗鍦?0h
(20:36:28) i: 濡傛灉闇姹傛湁鍙樼殑鎯呭喌濡備綍澶勭悊
(20:37:02) i: 鍦ㄨ凱浠g殑鏃跺?br />
(20:37:14) he: 鍡?..鎴戣寰椾笂嬈℃煇澶у笀鏉ヨ搴х殑鏃跺欐垜浠篃闂繃
(20:37:35) i: 鍛靛懙錛屾庝箞鍥炵瓟鐨?br />
(20:37:45) he: 浠栫殑絳旀鏄爣鍑嗗仛娉曟槸緇х畫鎶妔print鍋氬畬,鐒跺悗鍦ㄦ帴涓嬫潵鐨勪竴涓?br />
sprint涓畬鎴愬彉鍔?br />
(20:38:11) i: 鏄庣櫧浜?jiǎn)銆傘傘?br />
(20:38:37) i: 閭h凱浠f湡闂翠綘浠湁姣忔棩渚嬩細(xì)鍚?br />
(20:39:02) he: 鏄殑, daily meeting
(20:39:25) i: 瀵逛簡(jiǎn)錛屼綘浠槸涓嶆槸涔熻繖鏍峰鐞嗛渶姹傜殑鍙樺寲錛屾斁鍦ㄤ笅涓猻print閲?br />
(20:39:47) he: 涓嶆槸
(20:39:53) he: 鎴戜滑鐨剆print 鍛ㄦ湡闀胯揪涓涓湀..
(20:40:10) i: Scrum閲岃鍒欐槸涓涓湀銆傘傘?br />
(20:40:17) i: 閭c傘傘?br />
(20:40:19) he: 鎵浠ラ氬父鎴戜滑鏈塪rop涓涓棫鐨勫拰add涓涓柊鐨?/strong>
(20:40:42) he: 闄や簡(jiǎn)閫氬父姣旇緝綆鍖栫殑Not Started. On Going鍜孌one 涓変釜鐘舵?br />
涔嬪
(20:40:56) he: 鎴戜滑鏈塂ropped鍜孉dded
(20:42:07) i: 鍣紝榪欐牱澶勭悊涔熷緢縐戝
(20:42:46) he: 鍛靛懙:)鍥犱負(fù)鏈夋椂鍊欎竴涓湀榪樻槸澶暱
(20:43:00) he: 鍥犱負(fù)瀵逛簬涓ゅ湴鎴栬呬笁鍦頒箣闂寸殑鍗忓悓寮鍙?br />
(20:43:06) he: 涓涓湀鍙互鍙戠敓鐨勪簨鎯呭お澶氫簡(jiǎn)
(20:43:23) he: 灝ゅ叾鏄繖鍑犱釜鍦版柟閮芥湁鏃跺樊鐨勬椂鍊?br />
(20:43:47) i: 涓嶈繃榪唬娌℃湁瀹屾垚鐨勮瘽錛屼篃璁稿鎴蜂笉娓呮鑷繁闇姹傜殑鍙樻洿鏄ソ
鏄潖錛屽ぇ甯堥偅涔堣涔熸湁閬撶悊鍚с傝凱浠e畬鎴愶紝璁╁鎴風(fēng)湅浜?jiǎn)浠ュ悗浠栧啀鐪嬫槸鍚﹀彉鍖栭渶姹傘?br />
(20:44:02) i: 鎴戣鐨勬湁娌℃湁鍙兘 錛?br />
(20:44:30) he: 鏄殑:)
(20:45:06) he: 浣嗘槸鏈夋椂鍊欓渶姹傜‘瀹炲緢鎬?..
(20:45:09) i: 鍏蜂綋搴旂敤鍏蜂綋澶勭悊鍚э紝璧風(fēng)爜鏈変簡(jiǎn)澶勭悊鐨勫姙娉曘?br />
(20:45:13) i: 鎭?br />
(20:45:19) he: 姣斿紿佺劧鎷挎煇縐誨姩鐨勫崟
(20:45:27) he: 鑰岃瀹㈡埛浠ラ渶姹傛紓钁楃О
(20:45:34) i: 鍛靛懙
(20:45:38) he: 榪欑鎯呭喌涓嶄竴瀹氶潪寰楃瓑鍒頒笅涓涓?/strong>...
(20:45:45) i: 紜疄
(20:45:55) i: 鎷ユ姳鍙樺寲
(20:46:29) he: 鍏跺疄鎴戣寰楀緢渚濊禆鍥㈤槦鎴愬憳鐨?br />
(20:46:36) he: 濡傛灉鍥㈤槦鎴愬憳寰堜笉縐瀬
(20:46:36) i: Scrum鐨勮鍒欎篃搴旇鏄鍚堝疄闄呮儏鍐電殑緇忛獙鎬ф柟娉曟墠鑳藉彂鎸ヨ兘
閲忋?br />
(20:46:47) i: 涓漢鏁忔嵎鎬?br />
(20:46:55) he: 閭d箞sprint planning灝變細(xì)姝繪皵娌夋矇鍙樻垚浠誨姟鎸囨淳...
(20:47:09) i: Scrum閲岄潰璇磋嚜鎴戠鐞?br />
(20:47:31) i: 濡備綍璋冨姩鎴愬憳鐨勭Н鏋佹ф潵鏇村ソ鐨勫洟闃熻嚜鎴戠鐞?br />
(20:49:18) he: 鍏跺疄鍘熸潵鎴戝甫鐨則eam姣旇緝瀹為檯涓鐐?...
(20:49:23) he: 姣忎釜sprint閮芥湁demo...
(20:49:29) i: 閭eぉ鍦╥nfoq涓婄湅浜?jiǎn)涓綃囨枃绔狅紝鍏充簬榪欎釜闂錛屾槸璇村洟闃熸垚鍛樼殑
涓諱漢緲佺簿紲炰笉澶?br />
(20:49:38) i: 鎭╋紝浣犵戶緇?br />
(20:49:53) he: 澶у閫氬父閮藉緢鏈熸湜demo day閭eぉPM鍙戣瘽璇? 鍡?瀵圭殑,鎴戝氨鏄兂
瑕佽繖涓?br />
(20:50:10) he: 濡傛浠ユ潵...鏁翠釜team灝辮兘鐢寵棰勭畻鍑哄幓澶у悆澶у枬浜?br />
(20:50:20) he: 鍥犱負(fù)鏁翠釜team閮芥瘮杈冨ソ鍚?..
(20:50:23) i: 鍛靛懙
(20:50:29) he: 鎴愰兘濂藉悆鐨勫湴鏂瑰緢澶?涔熶笉寰堣吹
(20:50:39) i: 濂藉悆涓嶆噿鍋?br />
(20:50:58) he: 鍡?鎬葷殑鏉ヨ,灝辨槸寰楁湁promotion:)
(20:51:05) he: 鎴戜釜浜鴻寰?br />
(20:51:29) i: 涓浜涚墿璐ㄦ縺鍔?br />
(20:52:10) he: 鍛?.鍏跺疄涔熶笉闄愪簬榪欎釜...鐗╄川
(20:52:28) he: 鎮(zhèn)ㄨ:)
(20:53:06) i: 姣斿涓璧峰嚭鍘繪父灞辯帺姘達(dá)紝鏀炬澗涓竴涓ゅぉ
(20:53:19) he: 鍡?br />
(20:54:10) i: 瀵逛簡(jiǎn)錛屼綘浠敤鐪嬫澘娌℃湁
(20:54:39) i: 鏄湁涓撻棬鐨勭郴緇熻繕鏄墜宸ョ湅鏉?br />
(20:55:38) he: 鍝?鏈?strong>涓闂村眿涓撻棬鎹簡(jiǎn)鐜葷拑鏉跨殑...
(20:55:50) i: 甯哥敤鍚?br />
(20:55:53) he: 鍥涢潰澧欏彲浠ヤ貢娑備貢鐢?/strong>....
(20:56:03) he: 鍡?緇忓父:P
(20:56:08) i: 鍛靛懙
(20:56:21) i: 鎴戜滑榪欐柟闈㈠仛鐨勪笉澶
(20:56:25) he: 閽堝team閲屽勾杞諱漢琛ㄧ幇嬈查兘姣旇緝寮虹殑鐗圭偣
(20:56:31) he: 鎴戜滑鍒掑嚭涓闈㈠鏉?br />
(20:56:40) he: 褰撴湀sprint瀹屾垚鐨勬渶濂界殑騫磋交浜?br />
(20:56:46) he: 鏈夋潈鍗犳湁閭i潰澧?/strong>...
(20:56:53) i: 鍛靛懙
(20:57:02) he: 鍙涓嶅啓鐨勫お鍙嶅姩...闅忎究浠栨庝箞瑙勫垝
(20:57:04) i: 娑傞甫鍚?br />
(20:57:08) he: 鍡?宸笉澶?br />
(20:57:25) he: 瀵圭緸娑╂ч槦鍛樼殑鏁堟灉鍙兘灝卞樊涓浜?br />
(20:57:33) i: 鎸烘湁鎰忔?br />
(20:57:54) he: :)
銆傘傘?br />
end
getHibernateTemplate().execute(new HibernateCallback(){
2 public Object doInHibernate(Session session) throws HibernateException, SQLException {
3 List result = new ArrayList();
4 String hql = "delete Object";
5 Query query = session.createQuery(hql);
6 result.add(new Integer(query.executeUpdate()));
7 return result;
8 }
9
10 });
榪欑鍋氭硶hibernate鍙細(xì)鐢熸垚涓鏉ql錛屾晥鐜囩浉瀵硅緝楂樸備絾鏄埄鐢ㄥ洖璋冩満鍒訛紝灝界鑳藉垹闄ゆ暟鎹簱鐨勬暟鎹紝鑰屼竴綰х紦瀛樹(shù)腑鐨勬暟鎹茍娌℃湁鍒犳帀錛屽洜姝ゅ湪浣跨敤鐨勬椂鍊欒鏍煎灝忓績(jī)
1 LDAP_OPERATIONS_ERROR Operations error
2 LDAP_PROTOCOL_ERROR Protocol error
3 LDAP_TIMELIMIT_EXCEEDED Timelimit exceeded
4 LDAP_SIZELIMIT_EXCEEDED Sizelimit exceeded
5 LDAP_COMPARE_FALSE Compare false
6 LDAP_COMPARE_TRUE Compare true
7 LDAP_STRONG_AUTH_NOT_SUPPORTED Strong authentication not supported
8 LDAP_STRONG_AUTH_REQUIRED Strong authentication required
9 LDAP_PARTIAL_RESULTS Partial results
10 LDAP referral error and is a good indication that the LDAP server is set up to use referrals. However, WebSphere Portal does not support LDAPs with referrals.
(solution: 1. The LDAP administrator can disable referrals and ensure that your wpconfig.properties file has the correct LDAP settings listed. 2. Use a different LDAP server that does not have or require referrals.)
16 LDAP_NO_SUCH_ATTRIBUTE No such attribute
17 LDAP_UNDEFINED_TYPE Undefined attribute type
18 LDAP_INAPPROPRIATE_MATCHING Inappropriate matching
19 LDAP_CONSTRAINT_VIOLATION Constraint violation
20 LDAP_TYPE_OR_VALUE_EXISTS Type or value exists
21 LDAP_INVALID_SYNTAX Invalid syntax
32 LDAP_NO_SUCH_OBJECT No such object
33 LDAP_ALIAS_PROBLEM Alias problem
34 LDAP_INVALID_DN_SYNTAX Invalid DN syntax
35 LDAP_IS_LEAF Object is a leaf
36 LDAP_ALIAS_DEREF_PROBLEM Alias dereferencing problem
48 LDAP_INAPPROPRIATE_AUTH Inappropriate authentication
49 LDAP_INVALID_CREDENTIALS Invalid credentials
50 LDAP_INSUFFICIENT_ACCESS Insufficient access
51 LDAP_BUSY DSA is busy
52 LDAP_UNAVAILABLE DSA is unavailable
53 LDAP_UNWILLING_TO_PERFORM DSA is unwilling to perform
54 LDAP_LOOP_DETECT Loop detected
64 LDAP_NAMING_VIOLATION Naming violation
65 LDAP_OBJECT_CLASS_VIOLATION Object class violation
66 LDAP_NOT_ALLOWED_ON_NONLEAF Operation not allowed on nonleaf
67 LDAP_NOT_ALLOWED_ON_RDN Operation not allowed on RDN
68 LDAP_ALREADY_EXISTS Already exists
69 LDAP_NO_OBJECT_CLASS_MODS Cannot modify object class
70 LDAP_RESULTS_TOO_LARGE Results too large
80 LDAP_OTHER Unknown error
81 LDAP_SERVER_DOWN Can't contact LDAP server
82 LDAP_LOCAL_ERROR Local error
83 LDAP_ENCODING_ERROR Encoding error
84 LDAP_DECODING_ERROR Decoding error
85 LDAP_TIMEOUT Timed out
86 LDAP_AUTH_UNKNOWN Unknown authentication method
87 LDAP_FILTER_ERROR Bad search filter
88 LDAP_USER_CANCELLED User cancelled operation
89 LDAP_PARAM_ERROR Bad parameter to an ldap routine
90 LDAP_NO_MEMORY Out of memory
1.1 Why do we need portal
As Internet dev, business required to integrate various sites into one to supply more comfortable service. However, this generated a smorgasbord look and feel. Security soon became an issue and each site then required authentication, which mean user would endure the frustrating experiencing of logins on a single site with difference name and password. And now many different devices with different attributes such as desktops, mobile phones, and palm pilots are needed to access into business sys.
Portals help today's business address the Internet challenges. It helps programmers focus on developing the business functionality by letting the portal manage the look and feel, personalization, content management, and security. It allows users to integrate different applications from disparate locations and enables them to seamlessly exchange information. Each user can create a personalized device-independent "desktop" with a consistent look and feel by suing drag and drop components.
1.2 IBM WebSphere Family
IBM WebSphere is made up of three components: foundation and tools, reach and user experience or business portals, and business integration.
1.3 What is WebSphere Portal?
1.3.1 The User Experience
Each user can create his or her own portal pages and customize the content and look and feel of these pages. They can add functionality to their pages through portlets, which are portal app. Based on their permissions, users can choose for each page or set of pages their own themes, skins, and layout.
Themes: define the fonts, colors, spacing, and other look-and-feel components of the page.
Skins: comprise title bars, borders, shadows, etc. that surround the portlets.
1.3.1.1 Content Management
WP provides the user the ability to syndicate content or to get up-to-date personalized and filtered content and services from multiple subscriber source such as Financial Times and others. Also support RSS format. IBM Lotus Workpalce Web Content Management (ILWWCM) provides Web Content Management system. ILWWCM is designed for organizations with user that publish content to a web site, whether it is marketing updating product information or human resources updating information on benefits. Content can be published through templates or forms and consists of images, word doc, excel, html and so forth.
1.3.1.2 Document management
WebSphere Portal Document Manager (PDM) provides user the ability to view, add, edit, and delete documents within a common folder hierarchy that can be user-defined. Documents can be made available immediately or to go through an approval process using a defined workflow model.
1.3.1.3 Search
Use of the search capabilities is made through the search portlet, the WP crawler, or the document indexer. Enhanced search is also provided through IBM Lotus Extended Search and DV2 Information Integrator.
1.3.1.4 Collaboration
WebSphere Portal provides complete support for collaboration through the Notes, Domino, and Domino Web Access portlets. These portlets provide access to collaboration app that use Lotus Notes databases on Domino servers such as Mail, Calendar, To Do, Notes View, TeamRoom, and Discussion. Additional portlets are available that integrate Domino.doc, Discovery Server, QuickPlace, and Sametime.
WP offers Collaboration Center, which is a framework that integrates People Finder, the Web Conference Center, QuickPlace, and Sametime.
1.3.1.5 Personalization
The personalization rules are referenced in the portlets. They are created using web-based tools. Another method provided to match site visitors with content is through the recommendation engine. The recommendation engine uses statistical techniques to identify groups of users with similar interests. WebSphere Portal also provides campaign management tools, which enable a business goal to be reached by defining and executing a set of business rules.
1.3.1.6 Performance
WebSphere Portal creates logs that feed into the IBM Tivoli Web Site Analyzer. The Web Site analyzer will analyze the data and report metric in both graphic and text formats so that you can determine the effectiveness of you web site and focus on areas to improve it.
1.3.2 The Developer Experience
1.3.2.1 Portlets communication
1.3.2.2 Through the portlet API, WebSphere Portal provides programmers the ability to
dynamically discover available services.
1.3.2.3 WP server supports the JAAS architecture
1.3.2.4 WP provides developers with support for Web Service for Remote Portlets
(WSRP)
1.3.2.5 WebSphere Portal Application Integrator (WPAI) support ability to access
Enterprise Application Systems such as SAP, PeopleSoft, Siebel
1.3.2.2 The Administrator Experience
WebSphere Portal enables an administrator to have complete dynamic control over user access right for every portal resource including portlets, pages, and user groups. The permission are defined by the user role. WP has defined roles (Administrator, Security Administrator, Delegator, Manager, Editor, Privileged User, and User).
If a role is assigned to a page, group, or folder, then resource below the parent inherit the permissions unless they are specifically blocked. A user can also delegate his or her role to other users.
WebSphere Portal Member Services provides administration services through portlets for creating, updating, and deleting portal user and for managing their access rights. These services are provided at both the user and group levels. Users can be members of one or more groups and groups can be members of other groups.
User profile information can be supported in an LDAP and/or a database.
WebSphere Portal support form-based authentication (HTML user prompted form) through WAS or a third-party authentication server such as Tivoli Access Manager or Netegrity Siteminder.
1.3.3 WebSphere Portal Architecture