Sencha ExtJS 4 Krishna Mohan Koyya Proprietor and Principal Consultant

Slides:



Advertisements
Similar presentations
HTML Forms. collect information for passing to server- side processes built up from standard widgets –text-input, radio buttons, check boxes, option lists,
Advertisements

Google Web Toolkit (GWT) Steve Wargolet. Introduction Desktop client-server applications and their drawbacks. Static-only Web pages Introduction of Web.
JavaScript and AJAX Jonathan Foss University of Warwick
JQuery A Javascript Library Hard things made eas(ier) Norman White.
Getting started with ExtJS Javascript screen library and Catalyst Perl framework – Perl Mova 2008, Kyiv, Ukraine 1 Getting started with ExtJS and Catalyst.
Internet Technologies 1 Master of Information System Management Java Server Faces Model/View/Controller Design Pattern for Web Development Slides.
Chapter 16 Dynamic HTML and Animation The Web Warrior Guide to Web Design Technologies.
Fast Track to ColdFusion 9. Getting Started with ColdFusion Understanding Dynamic Web Pages ColdFusion Benchmark Introducing the ColdFusion Language Introducing.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 10: Server Administration.
Chapter 14 Introduction to HTML
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
Fundamentals, DOM, Events, AJAX, UI Doncho Minkov Telerik Corporation
Web Services & Widgets Godmar Back. Mash-Ups Applications that combine information from different sources in one web page Different architectural choices.
CST JavaScript Validating Form Data with JavaScript.
Presented by…. Group 2 1. Programming language 2Introduction.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
NextGen Technology upgrade – Synerizip - Sandeep Kamble.
Christopher Paolini Computational Science Research Center College of Engineering San Diego State University Computational Science 670 Fall 2009 Monday.
WaveMaker Visual AJAX Studio 4.0 Training Studio Overview.
Nguyen Ich Cuong.  Course duration: 45’  Purpose: Present Introduction to JQuery  Targeted attendees: NICorp Trainee  Tests/quiz: Yes - 10’
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
Page: 1 Creating AJAX-Powered Forms with the Dojo Toolkit Presented By: James Harmon Object Training Group, Inc.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Ajax Runtime Toolkits IBM Emerging Technologies. What is an AJAX Toolkit/Framework? An AJAX Toolkit/Runtime is more than just XMLHTTPRequest Should includes:
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
© 2005 by IBM; made available under the EPL v1.0 | March 1, 2005 Tim deBoer Gorkem Ercan Extend WTP Server Tools for your.
JQuery 10/21. Today jQuery Some cool tools around the web JavaScript Libraries Drawing libraries HTML Frameworks Conventions.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Google Web Toolkit An Overview By Shauvik Roy Choudhary.
Towards Industrial Strength Web Applications Brian Becker, Dyalog LTD. APL Tools Group.
JavaScript Framework for Rich Apps in Every Browser Maura Wilder Joan Wortman
© 2006 IBM Corporation Agile Planning Web UI. © 2006 IBM Corporation Agenda  Overview of APT Web UI  Current Issues  Required Infrastructure  API.
Flex 2 We’re Not in Kansas Anymore! or Welcome to Flex Theo Rushin Jr TeraTech, Inc.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Designer Basics.
Copyright © 2002 ProsoftTraining. All rights reserved. JavaServer Pages.
.  A multi layer architecture powered by Spring Framework, ExtJS, Spring Security and Hibernate.  Taken advantage of Spring’s multi layer injection.
Adweb Opentopic AJAX Speechmaker: DVilla PPTmaker: Ruby Loading… E x t J S.
JavaScript Framework for Rich Apps in Every Browser Maura Wilder Joan Wortman
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
Rails & Ajax Module 5. Introduction to Rails Overview of Rails Rails is Ruby based “A development framework for Web-based applications” Rails uses the.
Developing Great Dashlets Will Abson About Me Project Lead, Share Extras Alfresco Developer and previously Solutions Engineer DevCon 2011 –
ForeCiteNote by Emma Nguyen, 11 th June Outline Overview Server side Client side  JavaScript classes.
Creating Elements with Ext.DomHelper By Aaron Conran.
RIA and Web2.0 Development with no Coding Juan Camilo Ruiz Senior Product Manager Development Tools.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
Intro to jQuery. What is jQuery? A JavaScript library Lightweight (about 31KB for the minified version) Simplifies HTML document traversing (DOM), event.
® IBM Software Group © 2007 IBM Corporation Module 1: Getting Started with Rational Software Architect Essentials of Modeling with IBM Rational Software.
Presentation.
05 | Integrating JavaScript and MVC 4 Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
Google Web Toolkit for Mobile Applications Development INGENUITY AT ITS BEST……………….
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
#SummitNow The Share Widget Library 13 th November 2013 Dave Draper
Layouts To understand various layouts extjs provides, and overview of some commonly used layouts.
Developing Great Dashlets Will Abson About Me Project Lead, Share Extras Alfresco Developer and previously Solutions Engineer DevCon 2011 –
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
GUI and Web Programming CSE 403 (based on a lecture by James Fogarty)
Building Desktop Apps with Node.js and Electron
XML-RPC Web Services in WinCC OA An Application: online PARA JCOP FWWG Meeting Lorenzo Masetti.
The Share Widget Library
Unleash the Power of jQuery
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Application with Cross-Platform GUI
PHP Training at GoLogica in Bangalore
Fundamentals, DOM, Events, AJAX, UI
jQuery The Easy JavaScript Nikolay Chochev Technical Trainer
AJAX Toolkit Framework
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
Presentation transcript:

Sencha ExtJS 4 Krishna Mohan Koyya Proprietor and Principal Consultant Glarimy Technology Services krishna@glarimy.com | www.glarimy.com

Protocol Please switch-off or mute your mobile phones Please do not bring your regular work to the class No cross discussions Primarily demonstration based, not slides Stop me for any questions Visit http://www.glarimy.com/files/extjs for references Visit http://www.glarimy.com for code samples Timings: 9.30-17.30 Breaks: 11.15-11.30, 12.45-13.45 and 15.30-15.45

Lab Set-up Windows or any other O/S of your choice ExtJS 4.x Notepad++ or any other editor of your choice Google Chrome or any other browser of your choice with debugger installed Tomcat 6 or any other HTTP server of your choice JDK 6, if required for your server

Schedule: Day-1 Overview of JavaScript, CSS and DOM Asynchronous communication using AJAX, Web 2.0 with AJAX and JSON Getting Started with Ext JS 4 Loading the Library Application Architecture Ext Application Design, Introducing Sencha MVC Fundamental Classes Ext.Element, Ext.CompositeElement, Ext.DomHelper, Ext.DomQuery Event Handling Events in Ext & DOM Events, Event Handlers & Delegated Event Handling Creating & Extending Classes Creating a Class & Extending a Class, Extending a Component, Class System, Class Definition, Class Loading

Schedule: Day-2 Working with Data Defining Models, Validating your Data, Defining Associations, Defining Proxies, Defining Stores Component Model Overview, Component Manager, Component vs. Element, Component configuration Laying out your GUI Defining Panels, Headers, Resizing Panels, Defining Toolbars Defining Layouts and Panels HBOX, VBOX, Tabs, Viewport, TabPanel, Tree Panel, GridPanel, FormPanel

Schedule: Day-3 Form Components Overview Checkbox, ComboBox, CompositeField, DateField, DisplayField, Hidden, HtmlEditor, NumberField, Radio, SliderField, TextArea, TextField Working with Forms Understanding Form Layout, Applying Validations, Form wizards Effects and animation Drag and Drop

Schedule: Day-4 Introducing grid features Defining a read-only grid, Editing within a grid, Pagination and scrolling Sencha MVC Ext.applysmd, Ext.util.Format Internationalization Debugging Logging Customization Performance

Trainer Introduction Name: Krishna Mohan Koyya Proprietor & Principal Consultant of Glarimy Areas: Java, JEE, Web 2.0, Design & Architecture Academics: B.Tech (ECE) and M.Tech (CST) Development Experience: 10 years in Java & NMS domain with Cisco, Wipro & HP Training Experience: Since 2008 Recent Clients: Oracle, Bosch, McAfee, ADP and etc., Profile: http://www.glarimy.com/krishna.php

Schedule: Day-1 Overview of JavaScript, CSS and DOM Asynchronous communication using AJAX, Web 2.0 with AJAX and JSON Getting Started with Ext JS 4 Loading the Library Application Architecture Ext Application Design, Introducing Sencha MVC Fundamental Classes Ext.Element, Ext.CompositeElement, Ext.DomHelper, Ext.DomQuery Event Handling Events in Ext & DOM Events, Event Handlers & Delegated Event Handling Creating & Extending Classes Creating a Class & Extending a Class, Extending a Component, Class System, Class Definition, Class Loading

Exploring Sencha ExtJS A Javascript library for Web 2.0 development Offers API for Element Selection DOM Manipulation Style Manipulation Event Handling AJAX Also offers pre-built UI Components Layouts Form Widgets and Application Widgets

Exploring Sencha ExtJS Architecture Ext Foundation: Ext class system Ext Core: DOM, CSS, Event & AJAX API Ext JS: UI Components Distribution File ext.js: Ext Foundation & Ext Core (Minified) File ext-all.js: All three layers (Minified) File xxx-debug.js: Without minification File xxx-dev.js: Development distribution The CSS files under resources/css Available on CDN: http://cdn.sench.io

ExtJS Class System Defining a class Instantiating a class Ext.define(name, properties_and_methods, callback) Class name must not use Ext as the root Instantiating a class Ext.create(name, properties) Applying properties Ext.apply(this, properties || {}) Alias to the class name Add alias property to the class definition

ExtJS Class System Extending a parent Mixing multiple classes Add extend property to the class definition Every class is an extension of Ext.Base Mixing multiple classes Add mixins property to the class definition Each mixed-in class must have a reference name Access properties using mixins of the object This is a way to implement multiple inheritance

ExtJS Class System Configuration Add config property to the class Setters and getters are automatically created Call applyConfig() in the constructor function Pass config values during instantiation Validating before setting config value applyXXX method with a return value

ExtJS Class System Making a singleton Static Members Set property singleton to ‘yes’ Class can not be instantiated Normally used for class configurations Static Members Add statics property to the class All instances share the same reference to statics Use self operator on the objects to access statics

ExtJS Class System Dynamic loading Loading the class Using the class Ext.Loader must be configured Loader is disabled in ext-all.js Loading the class Using Ext.require() function Loads the class asynchronously Class name must match file name Class namespace must match file path Using the class Within the Ext.onReady() function Executed only after all the required classes are loaded

DOM Element Selection Ext.Element Ext.CompositElement Encapsulates the DOM element Ext.CompositElement Encapsulates a collection of DOM elements Operations are transmitted to all the elements within Selecting elements Ext.get(id or DOM reference) Returns Ext.Element Ext.select(selector expression) Returns Ext.CompositElement

DOM Manipulation Ext.Element offers several DOM manipulation API getHTML/setHTML: gets or sets inner HTML getAttribute/setAttribute: gets or sets the attribute value getValue/setValue: gets or sets value appendTo: append this element to the passed appendChild: appends the passed element to self child: selects the single direct child contains: checks if it is the ancestor of the passed one insertAfter/insertBefore/insertFirst Consider using DOMHelper

Style Manipulation Ext.Element offers several style manipulation API addCls, hasCls, removeCls, replaceCls, toggleCls Hide and show setStyle and applyStyles

Event Handling Ext.Element offers event handling API Setting up listener on(eventName, function(event, htmlElement, options), [scope], [options]); Shorthand: addListener A JSON can be used for attaching multiple event listeners Removing listener un(eventName, cbHandler) or removeListener Ext.EventManager can be handy Event can be inspected for the target and other details

Lab Session Demonstration: Online Library console application using which a librarian should be able to add new titles to the stock, view the titles and their details and order for new titles. Exercise : An E-mail client application using which the mails and mail folders can be listed and new mails can be composed and sent. Assignment: Online Banking component using which the customer can view the account details and request for various services and track them.