Essential guidelines
Your portlet code must meet these minimum guidelines to ensure portlet quality.
A.1. Refrain from using instance variables.
A.2. Pass data to the view (JSP) as a bean in the request object.
A.7. Follow Struts design guidelines for Struts portlets.
B.1. JSPs should contain HTML fragments only.
B.2. Design view to fit on a page with other portlets.
B.4. Use portlet style classes instead of specific style-oriented attributes.
B.6. URIs, HTML element name attributes, and JavaScript resources must be namespace encoded.
D.1.Use portlet settings to store user-independent configuration data.
D.2. Use portlet data to store user-dependent configuration data.
D.3. Use servlet configuration for storing static initialization information for a portlet.
E.1. Limit the use of the portlet session for storing portlet state information.
E.2. Do not rely on portlet sessions if the portlet is to allow anonymous access.
E.3. Always request an existing portlet session.
E.4. Prevent temporary sessions from being generated in the JSP.
F.3. Use the preferred language of the requester to look up resource bundles.
G.2 Avoid the use the HttpSession to share data with other portlets/servlets.
H.1. For WML output, keep view between 4 and 5 decks.
I.1. Do not spawn threads.
I.2. Do not use threads to access J2EE resources.
I.4. Avoid synchronized methods.
I.5. Avoid long-running loops.
J.1. Use the Credential Vault to store sensitive data.
J.2. Be careful of what data is passed to the client.
K. For portlets that can be viewed offline:
. 1. Do not use PortletActions.
. 2. Specify explicit support for the PDA markup.
. 3. Avoid the use of potentially harmful action buttons.
. 4.a. Do not use cascading forms.
. 4.b. Avoid the use of dynamic lists of links.
L. Provide documentation for the administrator, including:
. 1. All context parameters and configuration parameters.
. 2. How the portlet uses caching.
. 3. Portlet session requirements.
. 4. Portlet messaging requirements.
. 5. The portlet’s use of the portal user profile.
Important guidelines
Your portlet code should meet these guidelines to ensure portlet quality. There might be circumstances where you would deviate from these guidelines for provide better erformance, reliability, or a better end user experience. In this case, you should document your justifications for deviating from these guidelines.
A.3. Use the portlet logging facility.
A.4. Adopt good code documentation habits.
A.5. Use the ContentAccessService to fetch external content, when necessary.
A.6. Cache portlet settings or portlet data.
B.5. Pages should be fully accessible.
B.7. Minimize dependencies on JavaScript.
B.8. Do not use pop-ups.
B.10. Use IFRAMEs with caution.
F.1. All portlet strings should be fetched from resource bundles.
F.2. All view JSPs should be language-independent.
F.4. Enable bi-directional support for text and images.
F.5. Organize portlet help files by language.
F.6. Be sensitive to cultural-specific formatting.
H.2. Fit the content to the device’s viewing area.
H.3. Eliminate unnecessary clutter.
I.3. Limit temporary storage.
I.6. Use JSPs instead of XML/XSLT.
I.7. Use caching as much as possible.
J.3. Enable single sign-on as appropriate.
Beneficial guidelines
Your portlet code would benefit from following these guidelines. However, they are not required.
B.3. Use Java style comments instead of HTML style.
B.9. Use taglibs whenever possible.
C.1. Make common functions available externally to portlets.
C.2. Combine portlets with similar functions into a single portlet with multiple
configuration settings.
G.1. Use portlet messaging to communicate (send messages) to other portlets on the
same page.
G.3. Use Click-to-Action to quickly enable inter-portlet communication.
H.4. Put links at the end of the document.
Indians Earn 25000 Monthly.Easy Form Filling Jobs
Friday, December 14, 2007
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2007
(729)
-
▼
December
(386)
- SOA
- Business Process Management
- Enabling Application-to-Application Processes
- How to guides - XI for NW 2004s
- SAP XI How To Documents
- 8 Lessons Learned from an SAP CRM 2005 Data Migrat...
- Expand Target Groups Using SAP BW Data in Segment ...
- First Look: SAP CRM Service On-Demand
- Best Practices for Transferring Data from SD to SA...
- Why Not Use Business Server Pages?
- SAP CRM Marketing On-Demand: Wave 3 and 4 Updates
- SAP E-Commerce for mySAP CRM: Integrate Your E-Com...
- SAP CRM 2005 or SAP CRM 2007: Which is Best For You?
- From Siebel to SAP CRM: How Dow Corning Switched i...
- Publish SAP BI Content More Easily with SAP Enterp...
- Create Web Services Quickly with the New Web Servi...
- Quickly Build Impressive Dashboards in SAP BW 3.5
- Data Mining with the Analysis Process Designer in ...
- Make Sure That User-Defined Statuses Appear in SAP...
- What’s New with mySAP CRM 2005 Marketing: Coupon M...
- Avoid Data Inconsistency in SAP NetWeaver BI in Ju...
- BEx Information Broadcasting in SAP BW 3.5 Puts Us...
- Use SAP NetWeaver BI as an ESA-Oriented Data Source
- Query SAP NetWeaver BI’s Metadata and Result Sets ...
- What's Coming in 2004
- Optimize FI-GL Processing with Intelligent Lookup ...
- Open Hub Transformation Meets Complex Business Req...
- Effectively Gather BW Functional Requirements
- Use Selective Deletion to Substitute InfoCube Char...
- Use Selective Deletion to Substitute InfoCube Char...
- Use Reverse Loading to Substitute InfoCube Charact...
- Rolling Off Data from Data Targets: Which Process ...
- Empower Your End Users with Accurate BW Reports
- Save Time and Resources by Managing Excel Workbook...
- How to Copy Process Chains
- Modify BW-BPS Web Interfaces with JavaScript to In...
- Refine BW Querying with Real-Time Data
- R/3 Can Be Your One-Stop Shop for BEx Web Reports
- Use Virtual Time Hierarchies for Flexible Reportin...
- Display Text Longer Than 60 Characters in Web Queries
- Take the Guesswork Out of 0CALWEEK Selection
- Three Methods for Editing DataStore Object Data Wi...
- Use IDocs to Retrieve a Failed Request Job
- Maximize Your Query Optimization Options in BW
- Uncover New Insight into Your Customers with mySAP...
- SAP NetWeaver 2004s SR1 Java on Windows: MS SQL Se...
- SAP NetWeaver 2004s Java on Windows pdf
- PDF Devloper Workplace
- [PDF]
- Application Log Answers Key Questions About Applic...
- Find the Best Leads and Uncover Potential Customer...
- 6 Steps to Enhance a CRM DataSource Using a BDoc BAdI
- Directly Populate User-Defined Hierarchies
- Simplify Data Distribution with the Open Hub Process
- Data Modeling Strategies to Avoid Data Inaccuracy ...
- Implement Custom Process Types in Process Chains f...
- Data Modeling Strategies to Avoid Data Inaccuracy ...
- Optimize BW’s Data Modeling Capabilities with BPS
- Data Modeling Strategies to Avoid Data Inaccuracy ...
- Visual Composer 7.0’s BI Extension Kit Offers New ...
- How to Add Custom Fields to a Fixed Asset
- Discover the Logic and Parameter Changes in the Ne...
- Plan for and Implement SAP Learning Solution’s Aut...
- Express Planning Gives Managers Access to Plan Dat...
- Expedite Your BI Implementation with SAP Best Prac...
- View Your Profit and Loss Data and Analyze Your In...
- Plan For and Implement SAP Learning Solution
- Prepare Your Data for Better Reporting with Start ...
- Create Unparalleled Analytical Applications with S...
- Set Up Users for SAP Biller Direct the Right Way
- mySAP CRM Analytics Harnesses SAP NetWeaver BI Ana...
- Layer SAP xApp Analytics on Top of SAP SEM for a S...
- Choose the Appropriate SAP NetWeaver BI and mySAP ...
- Initiate and Track the Planning Process with Colla...
- New Analysis Authorizations Ease Administration
- SAP NetWeaver 2004s Simplifies Architecture for Tr...
- What’s New in SAP NetWeaver 2004s Business Content
- Enhance Web Analyzer in SAP NetWeaver 2004s for Ad...
- What’s New in the BI Front End: Part 2
- What’s New in the BI Back End
- What’s New in the BI Front End: Part 1
- How to Migrate Transformation Logic to SAP NetWeav...
- Custom Program Grants Users Easy Access to Both BE...
- How to Migrate to the New DataSource Concept in SA...
- Data Upload Feature Enhances Sarbanes-Oxley Consol...
- mySAP solution manager (SOLMAN):
- mySAP PLM logistics:
- mySAP logistics reports:
- mySAP human capital management:
- mySAP financial accounting (FI):
- mySAP financial accounting (FI):
- mySAP accounting reports:
- My SAP Basis Overview
- CO T-Codes
- T-codes
- SAP Solution Manager
- SAP NetWeaver
- XI/PI: sender IDOC adapter packaging ?
- JDBC Connectivity with Webdynpro and Max DB
- Visual Abap : Creating Selection screen
-
▼
December
(386)
No comments:
Post a Comment