header

For BE/B.Tech/BCA/MCA/ME/M.Tech Major/Minor Project for CS/IT branch at minimum price Text Message @ 9424820157

Flex Interview Questions

Flex Interview Questions



1) State the difference between Item Renderer and Item Editors?

Difference between item renderer and item editors are as follows:

-Both are used for the purpose of editing, but item renderer is used for displaying visual elements.

-Item editor is used for editing purpose. Item editor can pass data back from the particular control to save it as a new value for an item being edited. We can also use item renderer as editor by using Boolean property renders editor.

-Item renderer is used to format and display the contents in components whereas item editor allows us to edit the displayed content.


2) Why is disable auto-update method used?

This method is used as it protects the events that represent changes to the underlying data from being broadcast by the view. It also stops the whole collection from being updated. This method is found to be very effective where multiple items in a collection are being edited at once. By disabling the auto update the changes are received as a batch instead of multiple events.


3) What is a View Cursor?

A cursor is an instrument used for position indicator, it points to any particular item. View cursor is used in order to traverse items in a collection data view and modify the data that is already stored in a collection. Move Next and move Previous to move the cursor forward or backward.


4) Explain Filter Function?

The filter function is used to limit the data view in the collection to any particular subset of source data. The function must be able to adopt a single object parameter that corresponds to a collection item and it is just to return a Boolean value specifying whether to include the item in the view or not.


5) What is a Metadata Tag?

The metadata is the tag used for providing information to the Flex compiler regarding the usage of the component.


6) What is the function of Exclude or Exclude Class related to the data or class?

Exclude (or Exclude Class) tag helps to control the set of choices, available in Flex Builder. But it never excludes the classes from linking. There is an MXML option that depends on how the application is been compiled. Generally, the classes that are included are those that are referenced from the root application or classes, either directly or via some other class that is referenced directly or not from the root application or classes.


7) State the difference between View stack and View state?

View states give one way to change the look and feel of a component in response to user action. And a navigation controller can also be used e.g. Tab navigator etc. It depends on the user to select the navigation as per their requirements.

View stack is a component used to display different data, at once. View states are related views of a single set of data.

View stack components cannot be shared easily between the different views, they had to be created each time view is changed.


8) Differentiate between Flex 3 And Flex 4?

One can clearly spot lots of syntactic and non-syntactic differences between the two, but the major difference is: In Flex 4 the architecture of components have been changed. These components called Spark the older ones in Flex 3 are called Halo have separated the individual role as a developer and a designer. Spark components have one main core component class that contains the main logical part.


9) Explain About Cairngorm Architecture?

Cairngorm architecture can be explained as the process of implementation of several design patterns in order to form a lightweight architectural framework. Cairngorm follows the process of separating the view and business logic. This process is known as the Model-View-Controller pattern or (MVC).

The types of Cairngorm architecture are as follows:

-Model Locator: This Stores all the application’s Value along with shared variables that too at one place.

-View: This allows one or more Flex components bundled just like a named unit, bound to data in the Model Locator.

-Front Controller: This receives Cairngorm event details and then works ahead to map them to the cairngorm commands as and when required.

-Command: This handles business logic, calls cairngorm Delegates or Commands, and other updates.

-Delegate: This is created by a command, and regulates the remote procedure calls and gives the results back to that old command.

-Service: This defines the remote procedure calls to connect to remote data stores.


10) State the difference between Array and Array Collection?

Difference between array and array collection is as follows:


-Array Collection is a wrapper class based on Array.

-Array Collection includes sorting, filtering features apart from Array.

-Array Collection automatically refreshes/updates the view whenever the change happens in Array Collection.


11) Explain Prevent default Method?

In order to cancel the default behavior of the event, few classified ways of the event class can be used in event listener functions in order to affect the behavior. In this few events are associated with default behavior. Therefore in cases, the same event listener can cancel the behavior by using the prevent Default method. Prevent Default method will work only if the Cancellable property is true else it will not.

No comments:

Post a Comment



Please go through below tutorials:


Mule 4 Tutorials

DEPLOY TO CLOUDHUB C4E CLIENT ID ENFORCEMENT CUSTOM POLICY RABBIT MQ INTEGRATION
XML TO JSON WEBSERVICE CONSUMER VM CONNECTOR VALIDATION UNTIL SUCCESSFUL
SUB FLOW SET & REMOVE VARIABLE TRANSACTION ID SCATTER GATHER ROUND ROBIN
CONSUME REST WEBSERVICE CRUD OPERATIONS PARSE TEMPLATE OBJECT TO JSON LOAD STATIC RESOURCE
JSON TO XML INVOKE IDEMPOTENT FILTER FOR EACH FLAT TO JSON
FIXWIDTH TO JSON FIRST SUCCESSFUL FILE OPERATIONS EXECUTE ERROR HANDLING
EMAIL FUNCTIONALITY DYNAMIC EVALUATE CUSTOM BUSINESS EVENT CSV TO JSON COPYBOOK TO JSON
CHOICE ASYNC

Widely used Connectors in Mule 3

CMIS JETTY VM CONNECTOR SALESFORCE POP3
JMS TCP/IP WEBSERVICE CONSUMER QUARTZ MONGO DB
FILE CONNECTOR DATABASE CONNECTOR


Widely used Scopes in Mule 3

SUB FLOW REQUEST REPLY PROCESSOR CHAIN FOR EACH CACHE
ASYNC TCP/IP COMPOSITE SOURCE POLL UNTIL SUCCESSFUL
TRANSACTIONAL FLOW

Widely used Components in Mule 3

EXPRESSION CXF SCRIPT RUBY PYTHON
JAVASCRIPT JAVA INVOKE CUSTOM BUSINESS EVENT GROOVY
ECHO LOGGER


Widely used Transformers in Mule 3

MONGO DB XSLT TRANSFORMER REFERENCE SCRIPT RUBY
PYTHON MESSAGE PROPERTIES JAVA TRANSFORMER GZIP COMPRESS/UNCOMPRESS GROOVY
EXPRESSION DOM TO XML STRING VALIDATION COMBINE COLLECTIONS BYTE ARRAY TO STRING
ATTACHMENT TRANSFORMER FILE TO STRING XML TO DOM APPEND STRING JAVASCRIPT
JSON TO JAVA COPYBOOK TO JSON MAP TO JSON JSON TO XML FLATFILE TO JSON
FIXWIDTH TO JSON CSV TO JSON


Widely used Filters in Mule 3

WILDCARD SCHEMA VALIDATION REGEX PAYLOAD OR
NOT MESSAGE PROPERTY MESSAGE IDEMPOTENT FILTER REFERNCE
EXPRESSION EXCEPTION CUSTOM AND


Exception Strategy in Mule 3

REFERENCE EXCEPTION STRATEGY CUSTOM EXCEPTION STRATEGY CHOICE EXCEPTION STRATEGY CATCH EXCEPTION STRATEGY GLOBAL EXCEPTION STRATEGY


Flow Control in Mule 3

CHOICE COLLECTION AGGREGATOR COLLECTION SPLITTER CUSTOM AGGREGATOR FIRST SUCCESSFUL
MESSAGE CHUNK AGGREGATOR MESSAGE CHUNK SPLITTER RESEQUENCER ROUND ROBIN SOAP ROUTER