The Hebrew University Magnes Press


 View book pages:
  




portal produces everything

by Joey Bernal, Peter Blinstrubas, Tim Hanis, Stefan Hepper, Ron Lynn, Cayce Marston, Usmon Memon, Varadarajan Ramamoorthy
portal produces everything else visible on the portal page, such as the portlet window, the portlet window controls, and the layout of the page. Until now, all our examples have been HTML- based, but portlets aren’t restricted to HTML. Figure 1.7 shows an example of a portlet that can produce different markups for different devices. For desktop browsers, it produces HTML markup; for Wireless Markup Language ( WML) devices ( e. g., mobile phones), it pro-duces WML markup. This multidevice support offered by portlets lets users access the same applications regardless of the device they use. CREATING PORTLETS Thus far, you’ve learned a lot about what portals and portlets are. In this section, we start looking at how to make portlets. There are three main scenarios: • creating a new portlet- based application project • migrating a portlet- based application from a proprietary portlet API to the standard portlet API ( Java Portlet Specification) • transforming an existing Web application into a portlet- based application We’ll cover all of these scenarios, beginning with creating new portlet applications from scratch. Creating Portlet Applications from Scratch Why would someone write portlet- based applications? That’s a good question and one we’ll answer in this section. CHAPTER 1: Portals and Portlets: The Basics 16 Figure 1.7: Alternative portlet markups ( HTML for a desktop browser and WML on a mobile phone)

Zoom in  zoom  Zoom out
  << Topic >>  | Contents | Index             |<   <<    Page       >>   >|  
portal produces everything else visible on the portal page, such as the portlet window, the portlet window controls, and the layout of the page. Until now, all our examples have been HTML- based, but portlets aren’t restricted to HTML. Figure 1.7 shows an example of a portlet that can produce different markups for different devices. For desktop browsers, it produces HTML markup; for Wireless Markup Language ( WML) devices ( e. g., mobile phones), it pro-duces WML markup. This multidevice support offered by portlets lets users access the same applications regardless of the device they use. CREATING PORTLETS Thus far, you’ve learned a lot about what portals and portlets are. In this section, we start looking at how to make portlets. There are three main scenarios: • creating a new portlet- based application project • migrating a portlet- based application from a proprietary portlet API to the standard portlet API ( Java Portlet Specification) • transforming an existing Web application into a portlet- based application We’ll cover all of these scenarios, beginning with creating new portlet applications from scratch. Creating Portlet Applications from Scratch Why would someone write portlet- based applications? That’s a good question and one we’ll answer in this section. CHAPTER 1: Portals and Portlets: The Basics 16 Figure 1.7: Alternative portlet markups ( HTML for a desktop browser and WML on a mobile phone)
Zoom in  zoom  Zoom out
  << Topic >>  | Contents | Index             |<   <<    Page       >>   >|  

MC Press Online - 978-1-931182-28-7


 Other related titles:
IBM WebSphere Portal PrimerIBM WebSphere Portal Primer
SOA for the Business DeveloperSOA for the Business Developer
You Want to Do What with PHP?You Want to Do What with PHP?

 Already viewed books:
Programming PortletsProgramming Portlets