What does it mean this sentence :
With a component based MVC
framework you don't need to write much code yourself. However you have less fine grained control over the process and the HTML/CSS/JS
output.
Can you give me a real example ?
What does it mean this sentence :
With a component based MVC
framework you don't need to write much code yourself. However you have less fine grained control over the process and the HTML/CSS/JS
output.
Can you give me a real example ?
That sentence you quoted is very generic and probably said by some people who don't have lot of experience in component based frameworks at all. The aim of a component based framework is to provide you with some pre-built components to avoid having to implement HTML code and its binding to server side by yourself everytime you have a requirement. In case of JSF this is done by a Java Servlet which converts JSF's own code to HTML at server side.
That components are by default customizable by specifying some attributes in their declaration, i.e. you can look at all the attributes h:selectOneMenu
provides to you in order to customize its behaviour. If a component still doesn't meet your requirements at all, you always have the option of implementing your own one.
You can also add JS behaviour and CSS styles to your components, don't forget all the framework does is converting its own tags into plain HTML code which can be understood by the browser. As JS and CSS are applied at client side, you could attach them also to the created components. I think in this case what you're getting confused about is the use of third party component libraries, as Primefaces or Richfaces could be for JSF. This libraries have their own components which also add JS-JQuery behaviour and CSS styles. They'll probably cover most of the cases for your application, but even if you need a more specified solution you always have the choice to do by your own.
See also: Creating Custom UI Components and Other Custom Objects