Presentation is loading. Please wait.

Presentation is loading. Please wait.

Uwe Habermann Venelina Jordanova Migration of a VFP application into a Silverswitch solution.

Similar presentations


Presentation on theme: "Uwe Habermann Venelina Jordanova Migration of a VFP application into a Silverswitch solution."— Presentation transcript:

1 Uwe Habermann Venelina Jordanova Migration of a VFP application into a Silverswitch solution

2 Silverswitch

3 * Rapid Application Development development environment for Silverlight * Silverswitch.sln * Migration of VFP applications * VFX – Silverlight Wizard * Visual Extend for VFP re-developed in C#

4 Silverswitch * Supported databases * VFP * SQL Server * MySQL, ADS, DB2, Oracle, …

5 Silverswitch * Programming * C# * VFP at the server side with COM server * Powerful method call even from client side * VFP at the client side with GUINEU * Execution also on Mac OS and in the future on other platforms

6 Silverswitch What does it contain? * Template application Silverswitch.sln * Start page * Wizards * Update Project * Builders * DataGrid, PickField, Form * VFX – Silverlight Wizard * Included in VFX for VFP

7 Migration to Silverswitch * VFP projects * VFX projects

8 Requirements for the VFX – Silverlight Wizard * Database * Primary keys for all tables * Dataenvironment * Tables * Cursoradapters * No views * No programatical used tables

9 Requirements for the VFX – Silverlight Wizard * All controls in the form * No instantiation of controls at runtime * VFP projects * Base classes of controls are migrated * VFX projects * VFX classes of controls are migrated

10 Requirements for the development * Visual FoxPro 9 * VFX 13 and Silverswitch * Visual Web Developer 2010 Express * Optional: SQL Server (Express) * Silverlight 4 Tools * WCF RIA Services 1 SP1 * Silverlight 4 Toolkit

11 Requirements at the customers side * Client * Silverlight 4 Plug-In (6 MB) * Server * Windows Server * Internet Information Server *.Net Framework 4.0

12 Creation of a Silverswitch application * Create new project based on template project Silverswitch * Dont execute, dont build * Run VFX – Silverlight Wizard

13 VFX – Silverlight Wizard * What does this wizard do? * Explanation * VFP COM server is generated * Administrator rights required!

14 VFX – Silverlight Wizard * Select Silverswitch solution

15 VFX – Silverlight Wizard * Data access * Create ADO.NET Entity Data Model * Create Domain Service * Create and register VFP COM server

16 VFX – Silverlight Wizard * Settings of the application object * Add VFX forms to table Vfxfopen

17 VFX – Silverlight Wizard * Select forms * Forms marked as included into the project get migrated by default * VFX*.scx forms do not get migrated

18 VFX – Silverlight Wizard * Project names for forms * Forms can be summarized to projects * Optimization of project size and download size and time

19 VFX – Silverlight Wizard * Select form properties * Layout similar to VFP -> select all properties * Hard-coded property values cannot be overwritten by styles

20 VFX – Silverlight Wizard * Select reports * Reports, marked as included into the project, get migrated by default

21 VFX – Silverlight Wizard * Finish! * Success message or Log * Test!

22 Features of the Silverswitch application * Prepared frame for the application * Splash screen * Optional login dialog * Toolbar with XAML icons * Data-driven open dialog * Internet application * Intranet application

23 Features of the Silverswitch application * User login * Runtime localization * User management * User rights * User groups * MDI user interface

24 Features of generated forms * Autoedit * New, edit, delete, save, undo * Navigation * Sort and incremental search in DataGrid * Resizable, minimize, maximize

25 Features of generated forms * Treatment of update conflicts * Filter dialog

26 What does the VFX – Silverlight Wizard do? * Add forms to the solution * Entry in table Vfxfopen * Migration of forms * MVP Model-View-Presenter

27 What does the VFX – Silverlight Wizard do? * Example * Customer.xaml * Layout * Customer.xaml.cs * Settings * CustomerController.cs * Developers code * CustomerControllerBase.cs * Generated code

28 What does the VFX – Silverlight Wizard do? * Generates VFP COM server * Data access to VFP database using cursoradapters

29 VFX – Silverlight Wizard * Video tutorial (in German) available at * * and on the memory sticks

30 VFPizza in the Cloud * Inform! * Create account * Create SQL Server database * Make project settings * Publishing with Visual Studio wizard * 2 virtual maschines recommended *

31 VFPizza in the Cloud * Video tuorial (in German) available at * and on the memory sticks

32 Any questions?

33 Break Venelina & Uwe


Download ppt "Uwe Habermann Venelina Jordanova Migration of a VFP application into a Silverswitch solution."

Similar presentations


Ads by Google