Search This Blog

Tuesday, November 17, 2009

Portlet and Portal Development Best Practices

As we have doing some research on the Portal development ... i found sometime is useful to share with all other involve on the portal / portlet development...

Here are some of the best pratices

1. Don't Use PortletPreferences
When you store information in the PortletPreferences object, you are giving up control over where the data is stored, how the data is stored, and how easy it is to potentially mine that data in the future. That's a whole lot of control to be giving up.

2. Get Service Oriented
Don't try to do too much in your portlets. Behavior coded into one portlet is very difficult to reuse in another portlet. Instead, factor our useful and potentially common behavior into a service layer.Making a portlet too complex can slow down the portal, and create a frustrating experience for the user.

3. Encode Your NameSpaces
To avoid name collisions on the portal server, all scripts, URLs, HTML form attributes, and the like, should be namespace encoded. Without encoding a namespace, your portlets will likely work properly in a sequestered, local test environment, but may encounter some very obscure and difficult to reproduce errors when your portlets go into production.

Others:
Use Good Variable Names
Minimize Session Bloat
Comment Your Friggin' Code
Handle IO Exceptions
Servlet and JSP Rules Apply
Use the expiration-cache Tag
Not Every Portlet is a Framework Portlet

Some Cool Stuff to Share

1. GWT-Ext UI Tools for web

Click GWT-Ext

2. Gilead stands for Generic Light Entity Adapter

Click Gilead

3. Desktop Look A like EXTJS

Click EXTJS

Friday, August 21, 2009

Virtualization for Dummies


HAHA just got an email from SUN about the Virtualization

"Virtualization for Dummies"
  • Save energy, time and money
  • Allocate memory where it's needed
  • Improve scalability
  • Understand the different types of virtualisation
  • Achieve virtualization success
Who interested can browse the link below
http://www.sun.com/offers/docs/virtualization_sun_amd.pdf

...... but woh i feel betul betul dummy loh haha

Monday, July 20, 2009

What is portal framework ?

In Java there are a lot of portal framework .. from my study i found :
Started with ...
Jakarta Pluto --> Jakarta JetSpeed --> OpenPortal --> BnPortal --> EXO Platform then
Liferay then Glassfish Web Synergy (now it call Web Space !!!) Please don't confuse both Synergy and Web Space, both are same haha ... what a mess previously

Base on my finding ...to answer Which is the best ? i would said Liferay or Web Space ... Web Space is enhance version from Liferay by Sun. However i cannot justify Exo Platform ... as i hardly can test into deep due there are a lot of exceptions ..too bad loh....

Sunday, July 19, 2009

What is EE Portal ?

EE Portal ... Enterprise Exchange Portal ... is a B2B, B2C, C2C, B2G trading portal !
Still in designing stage ... Will call it Getrade ! or tradeChain, BarterDeal, OKDeal, TauTanDuit

Haha ! Cool name ah .... i need to think of some nice name Like Yahoo, Google, Facebook

Thursday, May 21, 2009

www.curimakan.com no more liao


Has think a cool domain for some business while "Yam Chat" chi chat with my friends....

Suddenly think of this www.carimakan.com.my plan to create some services portal and run some advitisation business for food , for source of finding resource ... but too bad this domain was just taken by jobstreet !!!

This dream was just fly away .......

Thursday, April 2, 2009

Malaysia Share Market Up since end of March 09

Wah ... wasted !!! ... Commerze, Bursa, Genting and Resorts price raise up so fast since last week ...

Commerze close at 7.400 raise +0.400
WAHHH !!! my friend ask me to buy in when it was 6 ... too bad i didn't follow ... wasted !!

Bursa close at 5.450 raise +0.300 ...
i was plan to buy when it value was 4+ .. again ! mis out !!! Wasted

Genting close at 4.020 raise +0.240
This share being down up to 3+ and i was plan to buy but too bad because my reminser said not stable due to they seem plan to move they cash for Genting Int plan

Resorts close at 2.230 raise +0.070 ... I was discuss with my friend to buy in when it's value was between 1.85 - 1.9 .. but again because of "his one word" changed all my plan

............. BUT I HAVE invested Maybank in 3.98 ... too bad when it value was 3.7 -3.85 my office network was not stable therefore only manage to buy in next day ... TMI is another good share to invest now ... UEMLAND ... i'm still thinking .. any suggestion ?