The West Wind Web Connection 5.0 Web Control Framework The West Wind Web Connection 5.0 Web Control Framework An overview of the new Web Control Framework.

Slides:



Advertisements
Similar presentations
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
Advertisements

Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
ASP.NET and AJAX. Agenda What is ASP.NET? ASP.NET Versions Difference Between ASP and ASP.NET ASP.NET Architecture Overview ASP.NET IIS life cycle Overview.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Web Platform Introduction With a focus on “free” Mike Taulty Developer & Platform Group Microsoft Ltd
AJAX & By – Anupama Sharma. Defining Ajax Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
IIS7: Building New Core Server Modules Michael Volodarsky COM406 Program Manager Microsoft Corporation.
Create Windows ® Applications with.NET Allan Knudsen.NET Developer Evangelist Microsoft.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Using Microsoft SharePoint to Develop Workflow and Business Process Automation Ted Perrotte National Practice Manager, Quilogy, Microsoft Office SharePoint.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Introduction to.Net and ASP.Net Course Introduction Build Your Own ASP.Net Website: Chapter 1 Microsoft ASP.Net Walkthrough: Creating a Basic Web Forms.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
C# A 1 CSC 298 Introduction to C#. C# A 2 What to expect in this class  Background: knowledge of an object oriented language of the C++, Java, … family.
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
Office 365 Platform Flexible Tools Understand different provisioning options and their advantages and disadvantages…
Writing various AJAX forms in Drupal 7 1. Overview of Form API 2. Ctools 2.1 Ctools features 3. Ajax 3.1 Ajax Forms in Drupal 4. Putting it all together.
© Minder Chen, ASP.NET 2.0: Introduction - 1 ASP.NET 2.0 Minder Chen, Ph.D. Framework Base Class Library ADO.NET: Data & XML.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
ASP.NET &.NET Environment. Overview Part of Microsoft’s.NET environment Used for Development of  Websites  Internet applications  Web Services & XML.
Lesson 2 What is ASP.NET? What is ASP.NET? What is Web Matrix? What is Web Matrix? What are the features of Web Matrix? What are the features of Web Matrix?
Are you getting the benefits from ASP.NET and AJAX? Introduction to the CTC ASP.NET Webforms Generator.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
ASP.NET OPTIMIZATION. Why Optimize? $$$ Whether you build applications for customers or not, enhanced applications save money.
Database Handling, Sessions, and AJAX. Post Back ASP.NET Functionality The IsPostBack method in ASP.NET is similar to the BlackBerry.refresh method –IsPostBack.
From DNA to.NET Design Path. Objectives Sketch up a typical Win DNA Application Sketch up the.NET version Compare Design and Implementation Advantages.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
Module 1: Working with ASP.NET. Overview Introducing ASP.NET Creating Web Forms Adding ASP.NET Code to a Page Handling Page Events Discussion: ASP vs.
Beginning ASP.NET (Part 3).NET 2.0 Core Libraries Tuc Goodwin.
PAGE DIRECTIVES. Page Directives  They are instructions, inserted at the top of an ASP.NET page, to control the behavior of ASP.NET pages.  So it is.
Christopher M. Pascucci.NET Programming CodeBehind.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
ASP.NET User Controls. User Controls In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
ASP.NET &.NET Environment. Overview Part of Microsoft’s.NET environment Used for Development of  Websites  Internet applications  Web Services & XML.
CIS 375—Web App Dev II ASP.NET 1 Getting Started.
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
Rich Internet Applications 2. Core JavaScript. The importance of JavaScript Many choices open to the developer for server-side Can choose server technology.
Building Custom Controls with ASP.NET and the Microsoft ®.NET Framework Rames Gantanant Microsoft Regional Director, Thailand
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Alexey Polovinkin Post graduate student, CMC department.
Visual Programming Borland Delphi. Developing Applications Borland Delphi is an object-oriented, visual programming environment to develop 32-bit applications.
ASP.NET Architecture Mike Taulty Developer & Platform Group Microsoft Ltd
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
Introduction ITEC 420.
Introducing the Microsoft® .NET Framework
Haritha Dasari Josue Balandrano Coronel -
Web Development Using ASP .NET
ASP.NET Module Subtitle.
JavaServer Faces: The Fundamentals
Running C# in the browser
Presentation transcript:

The West Wind Web Connection 5.0 Web Control Framework The West Wind Web Connection 5.0 Web Control Framework An overview of the new Web Control Framework in Web Connection 5.0 Rick Strahl West Wind Technologies

Design Goals for Web Control Framework n Richer Application Development Model n Control based framework for more natural coding n Event based model – client actions fire server events n Using ASP.NET compatible Page syntax n Visual Designer support with.NET 2.0 Tools n No.NET *runtime* requirements for deployed apps n Extensibility n Allow developers to hook into framework pipeline n Allow custom control development to extend functionality n Minimal Impact on existing Apps n Designed for maximum backwards compatibility n Note: Minor changes are required for pre-5.0 apps n New Web Control Framework usage OPTIONAL

Core Framework Changes n Many smaller enhancements n Removed #DEFINE DEBUGMODE (Server.lDebugMode can be dynamically set instead) n New Exception Handling based on TRY/CATCH (removes all reliance on error methods) n New Light-Weight wwPageResponse Object (supports page composition w/ delayed send of headers) n New class based Security interface (using wwUserSecurity class against Fox data) n Support for Kernel Caching n Improvements in the wwCache class n ISAPI Impersonation Simplification (easier deployment) n Improved New Project Wizard n A few new Support Classes and Functions

Web Control Framework n Html as Objects: Rich Object Oriented Framework n Control based metaphor: Page class with contained controls n You access control properties to read and write page content n Page actions fire events into your FoxPro code n Fully extensible – you can create your own controls n Visual User Control support allows reuse of ‘compositions’ n FoxPro Centric n You write FoxPro code for all logic n Supports easy two way databinding (FoxPro data and objects) n Automatic error management for forms based on databinding n No runtime dependence on.NET! n Automatic Page State Management n PostBack values are automatically assigned back to controls n Viewstate can be used to persist non-POST values across Postbacks n Declaratively store values in the page between Postbacks (PreserveProperty) n Visual Designer Support n You can use.NET 2.0 compatible designers: VS.NET and Visual Web Developer n Page markup is just text - you can use NotePad, DreamWeaver, FrontPage, FoxPro

Web Control Framework n Object Oriented n All controls inherit from wwWebControl n Common set of features to all controls n Create new controls by subclassing n New controls are automatically script enabled* n Event Driven n Server Events map to methods in your Page Class In your script markup: In your script markup: In your FoxPro class: Function btnSubmit_Click() this.lblMessage.Text = "Hello World " + TRANS(DateTime()) ENDFUNC In your FoxPro class: Function btnSubmit_Click() this.lblMessage.Text = "Hello World " + TRANS(DateTime()) ENDFUNC n Container Support n Intrinsic support for nested components n Container nesting is supported both visually and via code n Controls have ChildControls, Parent and Page properties n Panels can host controls, DataGrids can host DataColumns etc. * Visual Designer support requires creation of a.NET wrapper component

wwWebControlwwWebControl wwWebTextBoxwwWebTextBox wwWebButtonwwWebButton wwWebDropDownListwwWebDropDownList wwWebRadioButtonListwwWebRadioButtonList wwWebCheckBoxwwWebCheckBox wwWebPagewwWebPage wwWebListBoxwwWebListBox wwWebLabelwwWebLabel wwWebPanelwwWebPanel wwWebDataGridwwWebDataGrid wwWebRadioButtonwwWebRadioButton wwWebImageButtonwwWebImageButton wwWebLinkButtonwwWebLinkButton wwWebHyperLinkwwWebHyperLink Containers Core Controls List Controls Web Control Hierarchy some common controls wwAjaxMethodCallbackwwAjaxMethodCallback wwModalDialogwwModalDialog wwHoverPanelwwHoverPanel wwDragPanelwwDragPanel Ajax wwErrorDisplaywwErrorDisplay wwWebTabControlwwWebTabControl wwFckEditorwwFckEditor wwWebLoginwwWebLogin Extended Controls wwWebFileUploadwwWebFileUpload

From Markup Design to FoxPro Code n Rich Markup Scripts n Uses ASP.NET compatible control syntax (Html + Controls) n Supports basic stock ASP.NET controls n Web Connection provides specific controls n Specific controls are FoxPro centric n Code Generation and Compilation n WebPageParser convert scripts to pure VFP PRG code n Converts each server tag to a VFP object n Maps attributes to properties or events/methods n 2 classes are generated in a single source file  Generated class with control definitions (regenerated often)  User class contains your page logic (never updated by generator) n Automatic Page Conversion/Compilation n When Page is executed compilation occurs automatically n Compilation only with debug mode enabled n Manual compilation using the WebPageParser class

Web Control Event Pipeline n Page Lifecycle n Requests cause Page to 'Run()' n Page is just another WebControl n Run() causes Page Event Sequence to fire n Each control fires a set of fixed events n Each control fires events into any child controls n Events deal with Initialization, State, Operation and Rendering n Controls are fully self contained n Each control manages its own state n Retrieves ViewState n Retrieves POST data n Saves its own ViewState n Each control Renders itself n Controls render in non-PageFramework pages! n Some features like ViewState work in conjunction with the Page object

Visual Studio Designer Support

Script Page Code

Generated Class from Script (same file as your custom class)

Your Custom Class (same file as generated class)

Other Features of Page Framework n Control based Caching n All Controls can be cached once rendered n Once cached Cached control is not rendered again n Client Script Management n You can add script code to the ClientScript collection n Framework manages rendering of the script code n ViewState Persistence Management n Stores Page specific content n Control.PreserveProperty() save and restores property values n Security n Integration of wwUserSecurity Class n FoxPro table based authentication n Integrated into Process class in addition to Basic n wwWebLogin control for Control based Login

AJAX Features n JSON Method Callbacks n Call page methods or any class method n wwAjaxMethodCallback control makes it EASY n wwJsonService for classic WWWC n Converts objects and Tables/Cursors to JSON n wwHoverPanel n Easy Popup window with server data n Optional Iframe Popup support n wwDragPanel n Draggable and Closable Client Window/Panels n wwModalPopup n Popup windows that block out background n Easy way to require client top operation n Client AJAX Library n Based on jQuery – rewritten for WWWC 5.40 n Many jQuery plug-ins provided n Easy to use convenience methods

Other Features of the Page Framework n Useful Utility Controls n Rss Feed Control n CAPTCHA Control for input validation (Spam) n FCK Editor HTML Editor control n ProgressBar control n Popup Date Picker n ShowCode control to show Fox, HTML and WCF code

.NET Managed Module n Replaces ISAPI DLL with.NET Module n Easier code base to maintain n Proper moving forward path for IIS support n Many more opportunities to improve features n Already includes a number of enhancements n Possible support for Linux through Mono n Many Benefits n Can run natively in IIS 7 n Allows operating under 64 bit servers n Allows operating without IIS (VS WS, Cassini) n Cassini server shipped with Web Connection

Web Connection Cassini Web Server n Local Web Server n Allows running Web Connectionwithout IIS/Apache n Used in locked down IT environments n Used for 'local' Web applications n Uses the.NET Managed Module n Offline Applications n Server is a self contained EXE (requires 2 support dlls) n Server can be distributed with your applications n Server can be nstalled on client machines n Allows running Web apps 'offline' (still needs data and code, but can run locally)

Pricing n Pricing and Upgrades n Full Version Pricing: $ n Upgrade Pricing: $ n Shareware version available n Fully functional n Precompiled (some options can’t be set) n Shareware Nag screen n More info: n Support