Download presentation
Presentation is loading. Please wait.
Published byKevin McFarland Modified over 10 years ago
1
Softwaresponsoren Mediasponsoren
2
www.dnug-koeln.de www.justcommunity.de Jan Molnar Jan-Cornelius.Monlnar@studentprogram.de Dennis Zielke i-denniz@microsoft.com
3
Ajax Library Grundlagen Javascript Debugging, Webservices Javascript Events Javascript Authentifizierung Databinding UI Effekte
4
Cross-Browser Framework Objekt-Orientiertes Javascript.NET Event Modell Imperative + Deklarative Programmierung ControlBinding Control Extensions + Behaviours Data Binding Support für ASP.NET, Java, PHP...
5
ClientClient ComponentsComponents Browser Compability NetworkingNetworking Core Services ServerServer Script Support Web Services Application Services Server Controls
6
String- Builder String- Builder Sys WebRequest- Executor WebRequest- Executor Sys.Net _ProfileService Sys.Services JavaScript- Serializer JavaScript- Serializer Sys.Serialization DOMElement Sys.UI _Debug EventArgs Component _Application XMLHttp- EXecutor XMLHttp- EXecutor _WebRequest- Manager _WebRequest- Manager WebRequest WebService- Proxy WebService- Proxy WebService- Error WebService- Error Other ProfileGroup _Authentication- Service _Authentication- Service DOMEvent Behavior Control Point Bounds _Timer CultureInfo Other
7
Vererbung Interfaces + Abstrakte Klassen Namespaces Enumerations Delegates Events Partial Rendering Engine Reflection
8
Microsoft AJAX Library erweitert JavaScript Array - add, addRange, contains, insert, etc. Boolean - parse Date - format, parselocale, parseInvariant, etc. Error - argumentOutOfRange, etc. Number - format, parseLocale, parseInvariant Object - getType, getTypeName String - format, endsWith, startWith, trim, etc.
9
Globale Funktionen Verweise auf statische Klassen $get -> Sys.UI.DomElement.getElementById $create -> Sys.Component.create $find -> Sys.Application.findComponent $addHandler -> Sys.UI.DomEvent.addHandler $removeHandler -> System.UI.DomEvent.removeHandler $clearHandlers -> Sys.UI.DomEvent.clearHandlers
10
JSON statt XML Ca. 30% weniger Overhead Neues [ScriptService] Attribut Automatische Generierung Webservices Bridge Alternative: PageMethod
12
Sys.Debug Objekt Debugging Tracing MicrosoftAjax.debug.js Lesbare Formatierung Kommentare
13
Debugging unterstützt "assert" "fail" "trace" "traceDump" Sys.Debug = new Sys._Debug();
15
Zuständig für den Client-Page-LifeCycle Läd & initialisiert Komponenten
16
WindowWindowSys.ApplicationSys.ApplicationComponentComponent 1. Open Page 2. init 3. $create 4. load 5. $get 6. Close Page 7. unload
18
function pageLoad() { var element = $get(elementId); $addHandler(element, click, elementClick); } function elementClick(e) { // event handling }
19
Sys.UI.DomElement addCssClass / removeCssClass containsCssClass toggleCssClass getBounds setLocation setVisible
21
Authentication Service Zugriff auf ASP.NET Membership Profile Service Zugriff auf ASP.NET Profil
23
Enthält Databinding fähige Klassen ItemView und ListView
25
Component Timer, DragDropManager, … Behavior Floating, DropZone, Opacity, … Control TextBox, Menu, CheckBox, …
29
www.dnug-koeln.de www.justcommunity.de
30
Softwaresponsoren Mediasponsoren
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.