1 / 12

IPTV Portal Practice

IPTV Portal Practice. 簡報人:陳駿逸 日 期: 2011/08/29. 建立專案. 一個完整的專案需至少包含 pom.xml maven build 的資訊 src 目錄 src/main/js/ 底下是 JS module source code com/ericsson/iptv/portal/ 底下是 portal 的部份 src/main/webapp/ 底下是 web pages 可以從現有專案或 examples 複製整個結構過來,把不需要的刪掉、調整 pom 檔內容,就可以成為自己的專案開始開發. pom.xml.

dora-potter
Download Presentation

IPTV Portal Practice

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IPTV Portal Practice 簡報人:陳駿逸 日 期:2011/08/29

  2. 建立專案 • 一個完整的專案需至少包含 • pom.xml • maven build的資訊 • src目錄 • src/main/js/底下是JS module source code • com/ericsson/iptv/portal/底下是portal的部份 • src/main/webapp/底下是web pages • 可以從現有專案或examples複製整個結構過來,把不需要的刪掉、調整pom檔內容,就可以成為自己的專案開始開發 智慧財產權屬資拓宏宇國際(股)公司,複製或轉載必究

  3. pom.xml • 指定parent,即這個專案繼承的父專案 • 修改groupId與artifactId,這是這個專案在整個portal中的ID • 修改plugin部份,要加入何種plugin可參考 http://maven.apache.org/plugins/index.html • 修改dependencies部份,即這個專案include的libraries • 如果在parent已經宣告的dependency,只要設定groupId、artifactId及type即可,否則還要設定version及scope 智慧財產權屬資拓宏宇國際(股)公司,複製或轉載必究

  4. JavaScript module • 位於src/main/js/com/ericsson/iptv/portal/底下 • project_name/ • code/ • view/ • skin/ • interfaces/ • lang/ • interfaces/ • … 智慧財產權屬資拓宏宇國際(股)公司,複製或轉載必究

  5. JavaScript Code • (function() { var module={}; return module; }); • id, version • type • code, interface, abstraction • implementing, dependencies, resources • publics, constraints • Get a handle • Reference to other module • Variables and functions 智慧財產權屬資拓宏宇國際(股)公司,複製或轉載必究

  6. Deploy • 先build portal SDK • Portal SDK目錄下,執行mvn clean install • 將portal SDK deploy到web server中 • Build自己的專案 • 在自己的專案目錄下,執行mvn clean install • 將自己的專案deploy到web server中 • 從portal中可看到新增的menu item、submenu item以及執行動作的結果 智慧財產權屬資拓宏宇國際(股)公司,複製或轉載必究

  7. First Practice • 在Main Menu增加一個Menu Item • 在Menu Item底下增加一個Submenu Item • 點選此Submenu Item後popup一些訊息 • 點選此Submenu Item後顯示一個List 智慧財產權屬資拓宏宇國際(股)公司,複製或轉載必究

  8. Pilot Project – Portal I • VoD play list • "Add to playlist"/"Remove from playlist" options in popup menu for purchased VoD • A submenu named "My Playlist" under VOD main menu • Cell view • Remove VoD from playlist view • Playback in loop mode or non-loop mode 智慧財產權屬資拓宏宇國際(股)公司,複製或轉載必究

  9. Pilot Project - Portal II • TV message box • A submenu under "My Content" • List view • Type, sender, subject, content, time, read/unread • Remove message • Message box anywhere in portal upon SSP, read/ignore • Multimedia message – text, image, video 智慧財產權屬資拓宏宇國際(股)公司,複製或轉載必究

  10. Pilot Project - SI • Provisioning client • List all subscribers/users/equipment • List service specific parameters for a subscriber • Add new subscriber • Provision services • Login/logout 智慧財產權屬資拓宏宇國際(股)公司,複製或轉載必究

  11. Experience Sharing • 已經大致瞭解HTML Portal的設計與開發 • 對後端的資料存取有初步的概念,不過對於json資料往後送的部份因為還沒拿到後端的source code,所以還不知道controller要怎麼開發 • SI的部份Ericsson似乎也不太清楚,提供的source code與文件也有些出入,若要做SI(Provisioning)的話,還需要再研究這份程式與CAI3G 智慧財產權屬資拓宏宇國際(股)公司,複製或轉載必究

  12. - 敬請指教- 公司總部:22041 新北市板橋區縣民大道二段7號6樓 電話:(02)8969-1969 傳真:(02)8969-3359

More Related