• Post Reply Bookmark Topic Watch Topic
  • New Topic

Which are the differences between Component Based and Action Based  RSS feed

 
André Asantos
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which are the differences between Component Based and Action Based please?

I imagine the following below:

Component Based is a way to work with Objects that is difference between Oriented-Object.

and

Action Based works is an Action manager.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seeing your other questions, I suspect you are talking about web application frameworks.

There are different web application frameworks which use different concepts. Some of them are action based, such as Struts and Spring Web MVC and some of them are component based, such as JSF and Wicket.

In an action based web app framework, you write classes that represent actions by the user, for example "view customer details", "submit an order", etc. Those action classes should get the data submitted with the HTTP request and work with it.

In a component based web app framework, the things that a user interacts with on a web page (such as text boxes, buttons, links etc.) are represented by components which hide the low-level details of the HTTP request, response etc.

It's hard to explain it in just a few sentences. You can lookup the documentation of the web app frameworks I mentioned above.
 
André Asantos
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jesper,
thank you very much you are a great teacher I understand completly...

bye,
André AS
Brazil
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!