SlideShare a Scribd company logo
© 2014 IBM CorporationPowered by IBM SmartCloud Meetings
Developing portlets using Script portlet in
WebSphere Portal V8001
Open Mic
Jaspreet Singh
Technical Lead, IBM Script Portlet
IBM Collaboration Solutions
2 © 2014 IBM Corporation
About Us
Jaspreet Singh -Tech Lead -IBM Script Portlet for WebSphere
Portal
jaspsing@in.ibm.com
Vinayak Tavargeri- Support Manager – Facilitator for AP Open Mics
vtavargeri@in.ibm.com
3 © 2014 IBM Corporation
Agenda
§
Introduction
§
Goals
§
Value proposition
§
Demo
§
Script Portlet v/s RAD/WEF portlets
§
Resources
4 © 2014 IBM Corporation
Script Portlet
§
Script portlet is a great tool to start writing portlet using only js, html and css skills and
knowledge
§
Progressively disclose portal concepts like portlet preferences, sharing render params
§
Basic idea
–
People have constructed lots of services - IT team builds them
–
These scripts get created by IT team, citizen developers with just scripting skills
–
IT might make these scripts and people can change them or modify by LOB use
–
We store these in WCM
• LOB or citizen developers to do this stuff - since its safe as you have workflow
approvals
–
Great dev environment - Live preview while I’m editing it
5 © 2014 IBM Corporation
Goals
§
Enable the Line of Business to have autonomy and not be so dependent on Central IT
–
so eliminate the reasons they go off and stand up a drupal site
–
allow them to have a small team of 'programmers' that can make their customizations
quickly and easily
§
Enable customers and partners to write portlets using skills they can hire
–
that is 'scripting skills' that know a variety of scripting libraries and extensions (dojo,
jquery, extjs, whatever)
–
write their first portlet with no knowledge of our system (copy and paste what they have
working elsewhere)
§
Provide a programming model that can be used for customization on the cloud
–
so customers and partners can deploy scripts against existing services (theirs or ours
or internet ones) without deploying code on our cloud servers
6 © 2014 IBM Corporation
Line Of Business usecase
§
Creating of portlets using Javascript
–
IT can create some types of portlets in less time
–
LOB “power users”
• can take what they get from central IT and change the user experience via HTML,
CSS and Script
• Take scripts they find on other sites and bring them into their sites… not have to
wait for the IT team
• Make these changes within a project for isolation and preview in context before
publishing
–
IT can
• Check what is being published for security and other issues before it goes live via
WCM workflow approval
7 © 2014 IBM Corporation
Value Proposition
Leverage Core Scripting Skills Enable exploitation of key portlet and portal concepts
§
Start the programmer off requiring only the skills they already have.
§
Progressively disclose to them additional Portal/Portlet Value Add
§
There are lots of things that portlets can do, but here are some of the most important use
cases that we will enable first
–
Inter portlet communications
–
Portlet preferences
–
Responsive Design and Adaptive Design
–
Live Text
–
Process integration
8 © 2014 IBM Corporation
Value Proposition
 Leverage WebSphere Portal features
– Portlet value add (Inter portlet communications, portlet preferences)
– Portal value add (live text, process integration, etc)
– Mix and match with existing and new portlets written in RAD or WEF on a page and
share context between them
– WEF data builders - these can emit XML or JSON already, so i can leverage all the
existing WEF data builders for enterprise integration
– Points of variability (portlet preferences) - the IT team can build portlets so that the
business can use and re-use them via just changing settings vs coding.
9 © 2014 IBM Corporation
Value Proposition
 Leverage WCM features
– Projects and approval
• Code reviews and checks in place by subject matter experts
• modify the script and test it live without breaking anyone else
• business and/or IT for approval before it goes live
– Access to shared render params and portlet preferences
– Access to 'live text‘, user info etc.
– Content targeting
– Adaptive design (conditional rendering within presentation template based on device
class) – even geography
– Create and store fake JSON data sets in WCM for testing - switch from the test url to
the live data feed for test vs production.
– Create libraries of data, CSS, script and mark up snippets and easily link to them from
within the WCM UI
• Social Business Toolkit snippets
• Worklight integration snippets to jumpstart development
10 © 2014 IBM Corporation
Value Proposition
 Others
– Any text editors can optionally be used for development, by using a WebDav mapped
drive
– Re-usable content – pick and point to script of your choice
11 © 2014 IBM Corporation
Value Proposition
 Leverage Code Mirror features
– Syntax highlighting.
– Auto indentation and outdent.
– Handles huge documents (hundreds of thousands of lines) without trouble.
– Customizable key bindings including Vi and Emacs modes.
– A wide range of language modes.
– Add-ons for autocompletion, code folding, integrated linting.
– A broad programming API
12 © 2014 IBM Corporation
Demo
13 © 2014 IBM Corporation
Add a Script Portlet to the page
14 © 2014 IBM Corporation
Go into Edit mode
15 © 2014 IBM Corporation
HTML JavaScript
CSS Preview
Script Portlet Editor
16 © 2014 IBM Corporation
The Result
16
17 © 2014 IBM Corporation
Script Portlets are first-class Portal citizens and play well with
others
§
Your Portal site can combine Script Portlets with any other
portlets built with WEF, RAD, or other tools
§
Portlets can communicate (e.g., with Public Render
Parameters or JS/jQuery events) and share styling
Script Portlet
Data is from JSON REST
services provided by WEF
WEF Portlet
18 © 2014 IBM Corporation
How Script Portlet fits with WEF and RAD tools
§
Script Portlet does not replace WEF and RAD!
–
It is complementary to those IDE-based tools
§
With Script Portlet you get the unique benefits of cloud-based development and WCM
management of portlet assets
§
With RAD or WEF you get the unique benefits those frameworks provide:
–
WEF uses a model-based code generation approach using “builders,” for rapid
development and multiple variations from a single model
–
RAD includes a very rich set of capabilities for JEE development like JSF, with
WYSIWYG and drag/drop tools for UI development
19 © 2014 IBM Corporation
What about server-side portlets and all the existing tools?
§
Server-side portlets are not going away!
§
They work very well and will continue to be used by many, many customers
§
The tools and frameworks for server-side portlets are very rich and mature, and continue to
be enhanced
§
WEF and RAD roadmaps include continued enhancements for server-side applications,
and for combining server-side with JavaScript in various ways
20 © 2014 IBM Corporation
Resources
•
Download from Greenhouse Solution Catalog here
•
https://greenhouse.lotus.com/plugins/plugincatalog.nsf/assetDetails.xsp?
action=editDocument&documentId=DDB5C467D991413285257C67002476E0
§
Script Portlet community on w3: http://ibmurl.hursley.ibm.com/47QC
§
Charts, demos etc are posted in this community
§
Demo server for IBMers (Sales, ISSC, GBS and others) is available:
–
http://50.97.203.147/wps/portal
§
Here are links to some additional videos that show off this, and different scenarios:
–
Show off html5 video, html5 image capture support, html5 geolocation, all using script portlet,
and display the images on a map, at the location they were taking: https://w3-
connections.ibm.com/files/app/file/3b269ac4-59ed-48f7-911d-5fd16b9f699d
–
google finance in portal/wcm based on scriptportlet one: https://w3-
connections.ibm.com/files/app/file/269c925a-8a42-4298-963f-078836b18766
–
google now implemented in portal/wcm based on script portlet: https://w3-
connections.ibm.com/files/app/file/c7ca78c5-150b-4aa5-9578-e94ed671cabd
–
IO demo (this is our version of a Groupon website and Groupon native app based on
Portal/WCM, also second half of video also shows a whole bunch of script portlet samples:
https://w3-connections.ibm.com/files/app/file/1534ef7d-8553-42d2-a5d5-c9fd5888421f
21 | © 2014 IBM Corporation
Thank you
Q & A
Visit our Support Technical Exchange page or our Facebook page for details on future events.
To help shape the future of IBM software, take this quality survey and share your opinion of
IBM software used within your organization: https://ibm.biz/BdxqB2
IBM Collaboration Solutions Support page
http://www.facebook.com/IBMLotusSupport
WebSphere Portal
http://twitter.com/IBM_ICSSupport

More Related Content

What's hot (20)

PPT
WebSphere Portal Technical Overview
Vincent Perrin
 
PDF
Modernizing i5 Applications
ZendCon
 
PDF
CQ 5.4 Deep-Dive
Gabriel Walt
 
PDF
IBM WebSphere Portal - Die nächste Generation
IBM Lotus
 
PDF
Silverlight difference faqs-1
Umar Ali
 
PPTX
Web Apps atop a Content Repository
Gabriel Walt
 
PDF
IBM IMPACT 2009 Conference Session 2024 - WebSphere sMash Integration, PHP wi...
Robert Nicholson
 
PDF
Zero to Portlet in 20 minutes or less
Davalen LLC
 
PDF
Optimizing HTML5 Sites with CQ5/WEM
Gabriel Walt
 
PPT
Should I Be Writing My Own Web Experience Factory Builder? TECH-D13 from IBM ...
Davalen LLC
 
PDF
Three WEM Dev Tricks
Gabriel Walt
 
PDF
Crx 2.2 Deep-Dive
Gabriel Walt
 
PDF
Zend Con Harris Data Case Study
ZendCon
 
PDF
1812 icap-v1.3 0430
Rohit Kelapure
 
PDF
J2EE Technology Mapping-21-may-2014
Nguyen Tung
 
PDF
IBM IMPACT 2009 Conference Session 2078 - Extending and Integrating Popular P...
Robert Nicholson
 
PPT
Where Does IBM Web Experience Factory Fit in your Architecture? TECH-D22 from...
Davalen LLC
 
PDF
01 web sphere portal business overview
ygolani
 
PDF
Liberty dynacache ffw_iea_ste
Rohit Kelapure
 
PDF
Ajax In Enterprise Portals Wesley Hales
rajivmordani
 
WebSphere Portal Technical Overview
Vincent Perrin
 
Modernizing i5 Applications
ZendCon
 
CQ 5.4 Deep-Dive
Gabriel Walt
 
IBM WebSphere Portal - Die nächste Generation
IBM Lotus
 
Silverlight difference faqs-1
Umar Ali
 
Web Apps atop a Content Repository
Gabriel Walt
 
IBM IMPACT 2009 Conference Session 2024 - WebSphere sMash Integration, PHP wi...
Robert Nicholson
 
Zero to Portlet in 20 minutes or less
Davalen LLC
 
Optimizing HTML5 Sites with CQ5/WEM
Gabriel Walt
 
Should I Be Writing My Own Web Experience Factory Builder? TECH-D13 from IBM ...
Davalen LLC
 
Three WEM Dev Tricks
Gabriel Walt
 
Crx 2.2 Deep-Dive
Gabriel Walt
 
Zend Con Harris Data Case Study
ZendCon
 
1812 icap-v1.3 0430
Rohit Kelapure
 
J2EE Technology Mapping-21-may-2014
Nguyen Tung
 
IBM IMPACT 2009 Conference Session 2078 - Extending and Integrating Popular P...
Robert Nicholson
 
Where Does IBM Web Experience Factory Fit in your Architecture? TECH-D22 from...
Davalen LLC
 
01 web sphere portal business overview
ygolani
 
Liberty dynacache ffw_iea_ste
Rohit Kelapure
 
Ajax In Enterprise Portals Wesley Hales
rajivmordani
 

Viewers also liked (20)

PDF
Photography
Jessica Bezuijen
 
DOCX
Tujuan
suryatirbg
 
PDF
Teams power point
weinsteinprops
 
DOC
ΣΥΝΑΛΛΑΚΤΙΚΗ ΑΝΑΛΥΣΗ : ΓΟΝΕΑΣ, ΕΝΗΛΙΚΑΣ, ΠΑΙΔΙ
Anastasia Petraki
 
DOC
ΚΟΙΝΩΝΙΚΗ & ΠΟΛΙΤΙΚΗ ΑΓΩΓΗ Γ' ΓΥΜΝΑΣΙΟΥ ΑΠΟΛΥΤΗΡΙΕΣ ΕΞΕΤΑΣΕΙΣ 2015
Anastasia Petraki
 
PPTX
Homeostasis
Jose_1506
 
PDF
Caring For Your Skin Has Never Been Easier
sordiddealer2057
 
DOCX
αίσιο τέλος, διήγημα
artedinou
 
PPT
ο μικρος πριγκηπας
artedinou
 
PPTX
Molodechno trade economics college
yury_chica88
 
PPTX
Avoiding conflict and litigation with hmrc
India inc
 
PDF
Hama 1956
Abhishek Mittal
 
PDF
Md. Shafiquzzman Resume
Md Shafiquzzaman
 
PDF
Tổng quan du học các nước 2014
Du Học Inec
 
DOC
φυλλα εργασιαs
artedinou
 
PPTX
20140813 summer school_indicators
Anja Haider-Wallner
 
PPT
Area and perimeter (1)
Mari QZ
 
PDF
Brands & Publishers: A Symbiotic Relationship for the Digital Age - Stacy Mar...
Energy Digital Summit
 
PDF
Global Social Channels: A Panel Moderated by Deven Nonbgri - Energy Digital S...
Energy Digital Summit
 
Photography
Jessica Bezuijen
 
Tujuan
suryatirbg
 
Teams power point
weinsteinprops
 
ΣΥΝΑΛΛΑΚΤΙΚΗ ΑΝΑΛΥΣΗ : ΓΟΝΕΑΣ, ΕΝΗΛΙΚΑΣ, ΠΑΙΔΙ
Anastasia Petraki
 
ΚΟΙΝΩΝΙΚΗ & ΠΟΛΙΤΙΚΗ ΑΓΩΓΗ Γ' ΓΥΜΝΑΣΙΟΥ ΑΠΟΛΥΤΗΡΙΕΣ ΕΞΕΤΑΣΕΙΣ 2015
Anastasia Petraki
 
Homeostasis
Jose_1506
 
Caring For Your Skin Has Never Been Easier
sordiddealer2057
 
αίσιο τέλος, διήγημα
artedinou
 
ο μικρος πριγκηπας
artedinou
 
Molodechno trade economics college
yury_chica88
 
Avoiding conflict and litigation with hmrc
India inc
 
Hama 1956
Abhishek Mittal
 
Md. Shafiquzzman Resume
Md Shafiquzzaman
 
Tổng quan du học các nước 2014
Du Học Inec
 
φυλλα εργασιαs
artedinou
 
20140813 summer school_indicators
Anja Haider-Wallner
 
Area and perimeter (1)
Mari QZ
 
Brands & Publishers: A Symbiotic Relationship for the Digital Age - Stacy Mar...
Energy Digital Summit
 
Global Social Channels: A Panel Moderated by Deven Nonbgri - Energy Digital S...
Energy Digital Summit
 
Ad

Similar to IBM - Developing portlets using Script portlet in WP 8001 (20)

PDF
Dart Past Your Competition by Getting Your Digital Experience into Market Fas...
Perficient, Inc.
 
PDF
What's new in Portal and WCM 8.5
Vinayak Tavargeri
 
PPT
IBM WebSphere Portal 6.1 Preview - What's New
Dvir Reznik
 
PDF
IBM Digital Experience Overview - ICS.UG 2016
ICS User Group
 
PPT
IBM Websphere Portal | Portal Accelerators
Jason Faszholz
 
PPT
01. Portal Business Overview
Nick Davis
 
PPTX
Web Sphere Portal
Jawwad Jafri
 
PPTX
Webcenter Portlal training...
Vinay Kumar
 
PPTX
Engage 2014 - Breda - IBM WebSphere Portal In Action
Thomas Van Driessche
 
PDF
What's New in IBM Web Experience Factory
Davalen LLC
 
PPT
Web2.0 Ajax and REST in WebSphere Portal
Munish Gupta
 
PPT
Webcast Wcm
Edson Oliveira
 
PPT
Implementing SOA with Portal, an IBM Impact 2010 Presentation
guestbc8b80
 
PDF
Enterprise portals, gate to the gold
SensePost
 
PDF
Enterprise Portals - Gateway to the Gold
Security B-Sides
 
PPT
Working with Portlets in ADF and Webcenter
DataNext Solutions
 
ODP
Impact 2014 IEC1159 - Trends in Integration & Governance
Nicola Hills
 
PDF
Nyheterna i Portal och Web content management version 8
IBM Sverige
 
PPT
Web Center Services and Framework
Jaime Cid
 
PPTX
Integrating Alfresco with Portals
Piergiorgio Lucidi
 
Dart Past Your Competition by Getting Your Digital Experience into Market Fas...
Perficient, Inc.
 
What's new in Portal and WCM 8.5
Vinayak Tavargeri
 
IBM WebSphere Portal 6.1 Preview - What's New
Dvir Reznik
 
IBM Digital Experience Overview - ICS.UG 2016
ICS User Group
 
IBM Websphere Portal | Portal Accelerators
Jason Faszholz
 
01. Portal Business Overview
Nick Davis
 
Web Sphere Portal
Jawwad Jafri
 
Webcenter Portlal training...
Vinay Kumar
 
Engage 2014 - Breda - IBM WebSphere Portal In Action
Thomas Van Driessche
 
What's New in IBM Web Experience Factory
Davalen LLC
 
Web2.0 Ajax and REST in WebSphere Portal
Munish Gupta
 
Webcast Wcm
Edson Oliveira
 
Implementing SOA with Portal, an IBM Impact 2010 Presentation
guestbc8b80
 
Enterprise portals, gate to the gold
SensePost
 
Enterprise Portals - Gateway to the Gold
Security B-Sides
 
Working with Portlets in ADF and Webcenter
DataNext Solutions
 
Impact 2014 IEC1159 - Trends in Integration & Governance
Nicola Hills
 
Nyheterna i Portal och Web content management version 8
IBM Sverige
 
Web Center Services and Framework
Jaime Cid
 
Integrating Alfresco with Portals
Piergiorgio Lucidi
 
Ad

More from Vinayak Tavargeri (6)

PDF
IBM SmartCloud Notes Mail Routing - 21st Oct
Vinayak Tavargeri
 
PDF
Improving notes addressing experience with recent contacts
Vinayak Tavargeri
 
PDF
Open Mic Webcast: "Connections Next - what to expect from the next version "
Vinayak Tavargeri
 
PDF
IBM Notes : Have it your way and make it work for you
Vinayak Tavargeri
 
PDF
Usage and Benefits of IBM SR Tool
Vinayak Tavargeri
 
PDF
Open Mic on Sametime9 Install -Best Practices
Vinayak Tavargeri
 
IBM SmartCloud Notes Mail Routing - 21st Oct
Vinayak Tavargeri
 
Improving notes addressing experience with recent contacts
Vinayak Tavargeri
 
Open Mic Webcast: "Connections Next - what to expect from the next version "
Vinayak Tavargeri
 
IBM Notes : Have it your way and make it work for you
Vinayak Tavargeri
 
Usage and Benefits of IBM SR Tool
Vinayak Tavargeri
 
Open Mic on Sametime9 Install -Best Practices
Vinayak Tavargeri
 

Recently uploaded (20)

PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
PDF
Next level data operations using Power Automate magic
Andries den Haan
 
PDF
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
PDF
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PDF
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
PDF
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
 
PDF
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
PDF
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
PDF
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PPTX
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
Next level data operations using Power Automate magic
Andries den Haan
 
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
Why aren't you using FME Flow's CPU Time?
Safe Software
 
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 

IBM - Developing portlets using Script portlet in WP 8001

  • 1. © 2014 IBM CorporationPowered by IBM SmartCloud Meetings Developing portlets using Script portlet in WebSphere Portal V8001 Open Mic Jaspreet Singh Technical Lead, IBM Script Portlet IBM Collaboration Solutions
  • 2. 2 © 2014 IBM Corporation About Us Jaspreet Singh -Tech Lead -IBM Script Portlet for WebSphere Portal [email protected] Vinayak Tavargeri- Support Manager – Facilitator for AP Open Mics [email protected]
  • 3. 3 © 2014 IBM Corporation Agenda § Introduction § Goals § Value proposition § Demo § Script Portlet v/s RAD/WEF portlets § Resources
  • 4. 4 © 2014 IBM Corporation Script Portlet § Script portlet is a great tool to start writing portlet using only js, html and css skills and knowledge § Progressively disclose portal concepts like portlet preferences, sharing render params § Basic idea – People have constructed lots of services - IT team builds them – These scripts get created by IT team, citizen developers with just scripting skills – IT might make these scripts and people can change them or modify by LOB use – We store these in WCM • LOB or citizen developers to do this stuff - since its safe as you have workflow approvals – Great dev environment - Live preview while I’m editing it
  • 5. 5 © 2014 IBM Corporation Goals § Enable the Line of Business to have autonomy and not be so dependent on Central IT – so eliminate the reasons they go off and stand up a drupal site – allow them to have a small team of 'programmers' that can make their customizations quickly and easily § Enable customers and partners to write portlets using skills they can hire – that is 'scripting skills' that know a variety of scripting libraries and extensions (dojo, jquery, extjs, whatever) – write their first portlet with no knowledge of our system (copy and paste what they have working elsewhere) § Provide a programming model that can be used for customization on the cloud – so customers and partners can deploy scripts against existing services (theirs or ours or internet ones) without deploying code on our cloud servers
  • 6. 6 © 2014 IBM Corporation Line Of Business usecase § Creating of portlets using Javascript – IT can create some types of portlets in less time – LOB “power users” • can take what they get from central IT and change the user experience via HTML, CSS and Script • Take scripts they find on other sites and bring them into their sites… not have to wait for the IT team • Make these changes within a project for isolation and preview in context before publishing – IT can • Check what is being published for security and other issues before it goes live via WCM workflow approval
  • 7. 7 © 2014 IBM Corporation Value Proposition Leverage Core Scripting Skills Enable exploitation of key portlet and portal concepts § Start the programmer off requiring only the skills they already have. § Progressively disclose to them additional Portal/Portlet Value Add § There are lots of things that portlets can do, but here are some of the most important use cases that we will enable first – Inter portlet communications – Portlet preferences – Responsive Design and Adaptive Design – Live Text – Process integration
  • 8. 8 © 2014 IBM Corporation Value Proposition  Leverage WebSphere Portal features – Portlet value add (Inter portlet communications, portlet preferences) – Portal value add (live text, process integration, etc) – Mix and match with existing and new portlets written in RAD or WEF on a page and share context between them – WEF data builders - these can emit XML or JSON already, so i can leverage all the existing WEF data builders for enterprise integration – Points of variability (portlet preferences) - the IT team can build portlets so that the business can use and re-use them via just changing settings vs coding.
  • 9. 9 © 2014 IBM Corporation Value Proposition  Leverage WCM features – Projects and approval • Code reviews and checks in place by subject matter experts • modify the script and test it live without breaking anyone else • business and/or IT for approval before it goes live – Access to shared render params and portlet preferences – Access to 'live text‘, user info etc. – Content targeting – Adaptive design (conditional rendering within presentation template based on device class) – even geography – Create and store fake JSON data sets in WCM for testing - switch from the test url to the live data feed for test vs production. – Create libraries of data, CSS, script and mark up snippets and easily link to them from within the WCM UI • Social Business Toolkit snippets • Worklight integration snippets to jumpstart development
  • 10. 10 © 2014 IBM Corporation Value Proposition  Others – Any text editors can optionally be used for development, by using a WebDav mapped drive – Re-usable content – pick and point to script of your choice
  • 11. 11 © 2014 IBM Corporation Value Proposition  Leverage Code Mirror features – Syntax highlighting. – Auto indentation and outdent. – Handles huge documents (hundreds of thousands of lines) without trouble. – Customizable key bindings including Vi and Emacs modes. – A wide range of language modes. – Add-ons for autocompletion, code folding, integrated linting. – A broad programming API
  • 12. 12 © 2014 IBM Corporation Demo
  • 13. 13 © 2014 IBM Corporation Add a Script Portlet to the page
  • 14. 14 © 2014 IBM Corporation Go into Edit mode
  • 15. 15 © 2014 IBM Corporation HTML JavaScript CSS Preview Script Portlet Editor
  • 16. 16 © 2014 IBM Corporation The Result 16
  • 17. 17 © 2014 IBM Corporation Script Portlets are first-class Portal citizens and play well with others § Your Portal site can combine Script Portlets with any other portlets built with WEF, RAD, or other tools § Portlets can communicate (e.g., with Public Render Parameters or JS/jQuery events) and share styling Script Portlet Data is from JSON REST services provided by WEF WEF Portlet
  • 18. 18 © 2014 IBM Corporation How Script Portlet fits with WEF and RAD tools § Script Portlet does not replace WEF and RAD! – It is complementary to those IDE-based tools § With Script Portlet you get the unique benefits of cloud-based development and WCM management of portlet assets § With RAD or WEF you get the unique benefits those frameworks provide: – WEF uses a model-based code generation approach using “builders,” for rapid development and multiple variations from a single model – RAD includes a very rich set of capabilities for JEE development like JSF, with WYSIWYG and drag/drop tools for UI development
  • 19. 19 © 2014 IBM Corporation What about server-side portlets and all the existing tools? § Server-side portlets are not going away! § They work very well and will continue to be used by many, many customers § The tools and frameworks for server-side portlets are very rich and mature, and continue to be enhanced § WEF and RAD roadmaps include continued enhancements for server-side applications, and for combining server-side with JavaScript in various ways
  • 20. 20 © 2014 IBM Corporation Resources • Download from Greenhouse Solution Catalog here • https://greenhouse.lotus.com/plugins/plugincatalog.nsf/assetDetails.xsp? action=editDocument&documentId=DDB5C467D991413285257C67002476E0 § Script Portlet community on w3: http://ibmurl.hursley.ibm.com/47QC § Charts, demos etc are posted in this community § Demo server for IBMers (Sales, ISSC, GBS and others) is available: – http://50.97.203.147/wps/portal § Here are links to some additional videos that show off this, and different scenarios: – Show off html5 video, html5 image capture support, html5 geolocation, all using script portlet, and display the images on a map, at the location they were taking: https://w3- connections.ibm.com/files/app/file/3b269ac4-59ed-48f7-911d-5fd16b9f699d – google finance in portal/wcm based on scriptportlet one: https://w3- connections.ibm.com/files/app/file/269c925a-8a42-4298-963f-078836b18766 – google now implemented in portal/wcm based on script portlet: https://w3- connections.ibm.com/files/app/file/c7ca78c5-150b-4aa5-9578-e94ed671cabd – IO demo (this is our version of a Groupon website and Groupon native app based on Portal/WCM, also second half of video also shows a whole bunch of script portlet samples: https://w3-connections.ibm.com/files/app/file/1534ef7d-8553-42d2-a5d5-c9fd5888421f
  • 21. 21 | © 2014 IBM Corporation Thank you Q & A Visit our Support Technical Exchange page or our Facebook page for details on future events. To help shape the future of IBM software, take this quality survey and share your opinion of IBM software used within your organization: https://ibm.biz/BdxqB2 IBM Collaboration Solutions Support page http://www.facebook.com/IBMLotusSupport WebSphere Portal http://twitter.com/IBM_ICSSupport