Thursday, July 2, 2015

Difference between HTML and XHTML


- XHTML is built on XML technology so these codes can be placed directly in XML file.


HTML
- It's not hierarchical you can't spot a particular root. There may be different HTML groups.


Limitations
1. It's not fully furnished UI.SWT is 100% furnished UI but can't be implemented in web browser.
2.

JS
- 13 basic event handlers.
- 56 addons event handlers.
- Opacity --> animations

DOM 2.0
- stylist markup language
- structural markup language
- symantic markup language
- 100% object oriented
- Everything is an object in nature.
- There are 8 objects related to EXT JS from DOM
XMLDOMNodeList- It is a list of collection of objects based on condition.
DOMTree - It is required for hierarchy.


Factory methods
- Methods where production occurs during run time.
- Mass production happens.


Requirements for a simple EXT-JS
1.Call Ext-Base.js in a html file
2.This file should exist under webcontent/adapter/ext - Library is added.
3.Default stylesheet ext-all.css is avb under resources/css
4.Have your own js file link it under HTML file if required.
5.Helping js can also be called inside your HTML file.
6.Have layer to print your object. The layer is called Layer Dialog Area.
7.Use onReady() inside which object can be created and declared
8.Call the object with the EXT.get()
9.To open a window EXT.window() to set the properties and use show() to show the result in the monitor.

No comments:

Post a Comment

What is restrict option in directive?

The restrict option in angular directive, is used to specify how a directive will be invoked in your angular app i.e. as an attribute, class...