This document summarizes how super() works in different languages like Java, Python, and JavaScript, and then discusses its implementation in KISSY. It notes that in KISSY, callSuper() is used instead of specifying the method name. CallSuper() is built-in and allows calling parent methods without multiple inheritance, instead using extensions, single inheritance, and plugins. The document provides examples of using super() in initialization and method calls for the base and sub classes.
This document summarizes how super() works in different languages like Java, Python, and JavaScript, and then discusses its implementation in KISSY. It notes that in KISSY, callSuper() is used instead of specifying the method name. CallSuper() is built-in and allows calling parent methods without multiple inheritance, instead using extensions, single inheritance, and plugins. The document provides examples of using super() in initialization and method calls for the base and sub classes.
The document discusses KISSY Component System, an infrastructure for building reusable UI components. It describes key concepts like classes, attribute management, base classes, and life cycle methods. It also provides examples of common UI components like draggable, resizable, and controls. Custom components can be built by extending base classes and implementing render and logic code. The KISSY framework supports building complex components and applications with components, containers, and events.
KISSY provides bug fixes, import stylesheets, CSS3 selector support for older browsers, CSS3 animations, touch gestures, optimized component rendering, components using templates, lazy loading tabs, scroll views with plugins like scrollbars and pull-to-refresh, autocomplete comboboxes, and demos including a music player using various KISSY and Gallery modules.
This document discusses various JavaScript and Node.js topics including:
1. Knockout.js is an MVVM library that separates view models and views, allowing views to be bound to view models for automatic updating.
2. ECMAScript 5 introduced useful array and object methods like map, filter, Object.create that simplify programming.
3. Modularization with libraries like Sea.js and KISSY Loader improve maintainability, performance, and debugging of JavaScript applications.
4. Promise libraries like Q and KISSY simplify asynchronous programming by allowing asynchronous calls to be chained together for easier combination and error handling.
This document describes the KISSY DPL (Design Pattern Library) which includes CSS styles and components built with LESS and KISSY. It provides styles and markup for common interface elements like buttons, menus, tables, forms and more. The styles are organized into CSS files for components like overlay, button, menu etc. It demonstrates how to build reusable UI elements with KISSY and provides references for learning LESS and comparing to Twitter Bootstrap.
The document discusses KISSY component API design. It outlines reasons for creating components like ease of development and reusability. It describes principles for API design like providing a contract between users and developers and minimizing waste. It then covers key aspects of KISSY's component API design including structure, subcomponents, subclassing, plugins, events and lifecycles, skins, and creation. Principles for API design discussed are hiding implementation, consistency, simplicity, readability/writability, extensibility, and completeness.
This document outlines KISSY AutoComplete, including what it is, why it was rewritten, usage scenarios, APIs, and design considerations. It provides an autocomplete functionality that can be used for comboboxes and other select-like inputs. It supports static and dynamic data sources, custom rendering and highlighting, and shared autocomplete menus to improve performance. The APIs are designed for consistency and extensibility.
KISSY is a front-end framework that was started in 2009. It has grown from an initial focus on editor components to a full-featured framework with core modules for DOM, events, animations, Ajax, and more. Key components include overlay, switchable, validation, and a new waterfall layout. The framework uses an AMD-like module system and provides a consistent interface across most components.