Wednesday, January 9, 2008

Liferay Gateway

What is Liferay?


Is there any ray passing ? Nothing....

Liferay is open source portal server framework.

open source - Anybody can access without any license/cost

portal - is a web application like Yahoo, Google, etc.

Server - which provide services to other machines / Storing and displaying data according to client request

Framework - Working within Frame......

--------------------------------------------------------------------------------------------------------------------------------------
What is Framework?
Technically,
When a large number of objects are required to perform a task, there also exist repeatable patterns which can be used to make building projects simpler. Frameworks take advantage of these reusable patterns to speed up and increase reliability of coding a project.
For example,

you are working in Java platform... you cant use any new keyword / new structure which is not mentioned in Java language... So, you are working within Java Frame... This is Frame work.

"what they said..you follow that structure"..like Hutch Dog...( wherever you go, it follows like that wherever it tells, you should follow) .
To develop portlets, we are using one Framework called Struts.

--------------------------------------------------------------------------------------------------------------------------------------

Why Frameworks?


- Saves developers time

- Many eyes on the code increases stability

- Gives developers a place to start

- Ensures all developers develop code using the same approach.

--------------------------------------------------------------------------------------------------------------------------------------

What is Struts?


This is not any language , software and any company name. It provides components for building Web applications that speed development

Struts is a Java MVC Framework to build a web application.


MVC - Model View Controller


Model Components - Access Data and Systems ( Database)

View Components - What the users see ( JSP pages)

Controller Components - Direct the Action ( Java , Java Bean and Servlet files)
--------------------------------------------------------------------------------------------------------------------------------------

Why do yo want to use Struts?
  1. Do You need applications to run in a Web Browser.?
  2. Do Your developers have Java expertise.?
  3. Do You are currently using JavaServer Pages (JSP).?
  4. Do You are using the J2EE Platform (Tomcat, Weblogic, etc)?
  5. Do You are considering building an application "Framework".?
Then, you should have well knowledge in Struts.

To learn more about struts, Visit

http://www.roseindia.net/struts/

- Gnaniyar

1 comment:

Majid said...

hi gnaniyar.. u have an ability become hero/comedyman/scientist/poet ...... villan ....? not sure..... ? better to become a comedy man