Liferay Development Best Practises Quiz

Descripción

Liferay Portal is a platform based on standards that allows plenty of options to develop Web Portal projects. As a Liferay developer, it's very useful to be aware of the Liferay development best practises and available options.
hfernandes
Test por hfernandes, actualizado hace más de 1 año
hfernandes
Creado por hfernandes hace alrededor de 10 años
310
0

Resumen del Recurso

Pregunta 1

Pregunta
What are the standards-based technologies supported by Liferay for incorporating your own applications into a Liferay portal?
Respuesta
  • Portlets
  • IFrame
  • OpenSocial gadgets
  • Web widget
  • Web Parts

Pregunta 2

Pregunta
Choose all the right definitions for Portlets.
Respuesta
  • Portlets are web components based in Java technology.
  • Portlet Specification 2.0 is defined in JSR-168.
  • A portlet is an application that provides a specific piece of content (information or service) to be included as part of a portal page.
  • The lifecycle of a portlet is managed by the servlet container.
  • Web clients interact with portlets via a request/response paradigm implemented by the portal.
  • The content generated by a portlet may vary from one user to another depending on the user configuration for the portlet.

Pregunta 3

Pregunta
Since they’re entirely self-contained, portlets are the least invasive mechanism for extending Liferay
Respuesta
  • True
  • False

Pregunta 4

Pregunta
Portlets are not the most forward compatible Liferay development option.
Respuesta
  • True
  • False

Pregunta 5

Pregunta
Choose which options are not correct about Liferay Portlets.
Respuesta
  • Portlets are hot-deployed as plugins into Liferay instances.
  • The hot-deploy mechanism results in a low downtime for Liferay Portal servers.
  • A single Liferay Portlet Plugin can contain multiple portlets.
  • Liferay Portlets can not be used to build complex applications.
  • Liferay Portlets can leverage the full suite of technologies and libraries for the Java platform.

Pregunta 6

Pregunta
Choose the possible options to reuse existing web applications in Liferay Portal
Respuesta
  • Create simple portlets that interact with the application (possibly using Web Services).
  • If the application is implemented using JSF, it can be converted to a portlet application.
  • Create a portlet that integrates the remote application either using an IFrame or an HTTP proxy (e.g., using Liferay’s WebProxy portlet).
  • Rewrite the application as a portlet.

Pregunta 7

Pregunta
Thanks to the portlet and Java EE specifications, each portlet application can use its own set of libraries and technologies, whether they are used by Liferay or not.
Respuesta
  • True
  • False

Pregunta 8

Pregunta
Ext plugins can use libraries that are not compatible with the ones used by the core Liferay code.
Respuesta
  • True
  • False

Pregunta 9

Pregunta
Select the best options to choose a development framework from the large set available.
Respuesta
  • Use a framework that the development team knows.
  • Choose the simpler solution that covers the project real needs.
  • Choose Liferay's MVC Portlet framework because it's lighter.
  • Choose JSF framework because it's a standard.

Pregunta 10

Pregunta
Liferay has its own JavaScript library called...
Respuesta
  • AlloyUI
  • YUI
  • jQuery UI
  • Dojo
  • Sencha
  • Sproutcore

Pregunta 11

Pregunta
Any JavaScript library can be used, as long as the library does not conflict with libraries referenced by other portlets deployed in the same portal.
Respuesta
  • True
  • False

Pregunta 12

Pregunta
Choose the right options regarding Liferay’s Service Builder framework.
Respuesta
  • Liferay’s Service Builder is a code generation tool
  • Service Builder automates creating interfaces and classes for database persistence and service layers
  • Service Builder automates creating user interfaces and workflow
  • The business logic is implemented in the remote interface
  • The permission checks are implemented in the local interface
  • Objects on the portal instance interact with the local interface
  • Objects outside the portal instance interact with the remote interface via JSON, SOAP, and Java RMI

Pregunta 13

Pregunta
Liferay is designed to be customized. Choose the available options for Liferay developers:
Respuesta
  • The platform look and feel can be customized using a Theme Plugin.
  • You can create custom layout templates to arrange portlets using Layout Templates Plugin.
  • Liferay Out-of-Box functionality can be customized or extended using a Hook Plugin.
  • Liferay core functionality can be customized using an Ext Plugin.
  • All the listed options are valid for Liferay custom developments.

Pregunta 14

Pregunta
Multiple plugins and plugin types can be combined into a single WAR file.
Respuesta
  • True
  • False

Pregunta 15

Pregunta
Liferay's Look and Feel can be fully customized with a custom plugin. Choose the following true options:
Respuesta
  • A theme plugin can specify color schemes.
  • A theme plugin allows to define commonly used images and style for fonts, links, navigation elements, page headers and page footers.
  • To customize the look and feel the developer just have option: use CSS or Velocity templates.
  • In order to create user interfaces consistent with Liferay built-in functionality the developer must use JQuery UI API framework.

Pregunta 16

Pregunta
Layouts specify the arrangement of portlets on a page rather than their look and feel. You can create custom layout templates to arrange portlets just the way you like them.
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

Language Development
aliceschofs
Development and Inequality Junior Cert
Gaeilge SPC
Piaget's Theory of Cognitive Development
Anja Starc
GCSE Biology Module B5
jessmitchell
HPS202 exam revision
kiera.mj
Piaget's Stages of Cognitive Development
Melissa Ramos
FAVORITE WEEKEND ACTIVITIES
sheena garcia
Histology of the Female Reproductive System
Matthew Coulson
Developmental Psychology
Ben Armstrong
Construcción de software
CRHISTIAN SUAREZ
Software Development Standards
beefycrisps99