html5-img
1 / 33

Migration of a VFP application into a Silverswitch solution

Migration of a VFP application into a Silverswitch solution. Venelina Jordanova Venelina@VandU.eu. Uwe Habermann Uwe@VandU.eu. Silverswitch. Silverswitch. Rapid Application Development development environment for Silverlight Silverswitch.sln Migration of VFP applications

sabina
Download Presentation

Migration of a VFP application into a Silverswitch solution

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Migration of a VFP application into a Silverswitchsolution VenelinaJordanova Venelina@VandU.eu Uwe Habermann Uwe@VandU.eu

  2. Silverswitch

  3. Silverswitch • 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. SilverswitchWhatdoesitcontain? • Template application Silverswitch.sln • Start page • Wizards • Update Project • Builders • DataGrid, PickField, Form • VFX – Silverlight Wizard • Included in VFX for VFP

  7. Migration toSilverswitch • VFP projects • VFX projects

  8. RequirementsfortheVFX – Silverlight Wizard • Database • Primary keys for all tables • Dataenvironment • Tables • Cursoradapters • No views • No programatical used tables

  9. RequirementsfortheVFX – 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. Requirementsforthedevelopment • 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. Requirementsatthecustomer‘sside • Client • Silverlight 4 Plug-In (6 MB) • Server • Windows Server • Internet Information Server • .Net Framework 4.0

  12. Creationof aSilverswitchapplication • Create new projectbased on template project“Silverswitch” • Don’t execute, don’t 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 messageorLog • Test!

  22. Features oftheSilverswitchapplication • Prepared frame for the application • Splash screen • Optional login dialog • Toolbar with XAML icons • Data-driven open dialog • Internet application • Intranet application

  23. Features oftheSilverswitchapplication • User login • Runtime localization • User management • User rights • User groups • MDI user interface

  24. Features ofgeneratedforms • Autoedit • New, edit, delete, save, undo • Navigation • Sort and incremental search in DataGrid • Resizable, minimize, maximize

  25. Features ofgeneratedforms • Treatment of update conflicts • Filter dialog

  26. WhatdoestheVFX – Silverlight Wizard do? • Add forms to the solution • Entry in table Vfxfopen • Migration of forms • MVP Model-View-Presenter

  27. WhatdoestheVFX – Silverlight Wizard do? • Example • Customer.xaml • Layout • Customer.xaml.cs • Settings • CustomerController.cs • Developer’s code • CustomerControllerBase.cs • Generated code

  28. WhatdoestheVFX – Silverlight Wizard do? • Generates VFP COM server • Data access to VFP database using cursoradapters

  29. VFX – Silverlight Wizard • Video tutorial (in German) available at • www.MSDN-Solve.de • and on the memory sticks

  30. VFPizza in theCloud • Inform! • Create account • Create SQL Server database • Make project settings • Publishing with Visual Studio wizard • 2 virtual maschines recommended • http://VFPizza.CloudApp.net

  31. VFPizza in theCloud • Video tuorial (in German) available athttp://www.MSDN-Solve.de • and on the memory sticks

  32. Anyquestions?

  33. Break Venelina & Uwe

More Related