migrating vfp forms with the free silverlight wizard of the dfpug n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Migrating VFP forms with the free Silverlight Wizard of the dFPUG PowerPoint Presentation
Download Presentation
Migrating VFP forms with the free Silverlight Wizard of the dFPUG

Loading in 2 Seconds...

play fullscreen
1 / 44

Migrating VFP forms with the free Silverlight Wizard of the dFPUG - PowerPoint PPT Presentation


  • 106 Views
  • Uploaded on

Migrating VFP forms with the free Silverlight Wizard of the dFPUG. Venelina Jordanova Venelina@VandU.eu. Uwe Habermann Uwe@VandU.eu. Agenda Saturday. 2:15 - 3:30 Migrating VFP forms with the free Silverlight Wizard of the dFPUG

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Migrating VFP forms with the free Silverlight Wizard of the dFPUG' - burton-saunders


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
migrating vfp forms with the free silverlight wizard of the dfpug
Migrating VFP forms with the free Silverlight Wizard of the dFPUG

VenelinaJordanova

Venelina@VandU.eu

Uwe Habermann

Uwe@VandU.eu

agenda saturday
Agenda Saturday

2:15 - 3:30 Migrating VFP forms with the free Silverlight Wizard of the dFPUG

3:45 - 5:00 Migration of a VFP application into a Silverswitch solution for Visual Studio

5:15 - 5:45 Extending a Silverlight application with a webcam and multi-touch

5:45 - 6:30 Usage of VFP code in the back-end of Silverswitch applications

agenda sunday
Agenda Sunday

8:30 - 9:45 Programming VFP Code in the front-end of Silverswitch applications

10:00 - 11:15 Conversion of a VFX application into a Silverswitch solution11:30 – 12:15 Converting reports to Silverswitch and running VFP reports in Silverswitch12:15 – 12:45 What else do I need to know

who is talking
Who istalking?
  • Venelina Jordanova
  • Master Degree in CS
  • FoxPro Entwicklerin seit FPD 2.0
  • MCP für SQL Server und Application Architecture
  • Uwe Habermann
  • Diplom-Informatiker
  • FoxPro Entwicklerseit FPW 2.5
  • MCP für Visual FoxPro
  • Uwe Habermann
  • Diplom-Informatiker
  • FoxPro Entwicklerseit FPW 2.5
  • MCP für Visual FoxPro
  • Venelina Jordanova
  • Master Degree in CS
  • FoxPro Entwicklerin seit FPD 2.0
  • MCP für SQL Server und Application Architecture
v u ltd we and you
V&U Ltd. – WeandYou
  • Development in Varna, Bulgaria
  • Projects with VFP and Silverlight
    • Visual Extend, Silverswitch
  • High quality for low prices
  • www.VandU.eu
  • Info@VandU.eu
one year since swfox 2010
Oneyearsince SWFOX 2010
  • Visual Studio 2010, Silverlight 4
  • Migration of existing VFP applications with wizards to Silverlight
one year since swfox 20101
Oneyearsince SWFOX 2010
  • dFPUG – Silverlight Wizard
  • VFX – Silverlight Wizard
  • Silverswitch
slide8
The result
  • www.VandU.eu/VFPizza.htm
migrated application
Migratedapplication
  • Internet application
  • Desktop application
  • Execute VFP Code
    • At the client
    • At the server
  • Supported databases
    • DBC
    • SQL Server
  • MDI user interface
why silverlight
Why Silverlight?
  • Internet applications
  • Desktop applications
  • Platform independent
  • Data binding
  • Execution of VFP Code
  • Use of VFP databases
why silverlight1
Why Silverlight?
  • Modern user interface
    • XAML
    • Multi-touch support
    • Animations, reflections, shadows…
why silverlight2
Why Silverlight?
  • Fulfills all wishes of VFP developers
  • FREE development tools
  • FREE distribution to customers
what is silverlight
Whatis Silverlight?
  • Silverlight is a powerful development platform for creating engaging, interactive user experiences for Web, Desktop and mobile applications when online or offline
requirements for developers
Requirementsfordevelopers
  • Visual FoxPro 9
  • dFPUG – Silverlight Wizard
  • Sedna – Upsizing Wizard
  • Visual Web Developer 2010 Express
  • SQL Server 2008 (Express)
  • Silverlight 4 Tools
requirements for customers
Requirementsforcustomers
  • Client
    • Silverlight 4 Plug-In (6 MB)
  • Server
    • Windows Server
    • Internet Information Server
    • .Net Framework 4.0
example
Example
  • Migration of Tastrade
  • VFP sample application
  • Uses VFP database
  • Coming not complete with lastversions of VFP
  • But complete on the memory sticks
tastrade
Tastrade
  • A short view at Tastrade
what does the dfpug silverlight wizard do
WhatdoesthedFPUG – Silverlight Wizard do?
  • Migration of the layout and the data binding of forms
  • Generation of Silverlight forms into a Silverlight Business Application
  • Generation of links to start forms
what does the dfpug silverlight wizard do1
WhatdoesthedFPUG – Silverlight Wizard do?
  • Works with any VFP application
  • Any?
requirements for the dfpug silverlight wizard
RequirementsforthedFPUG– Silverlight Wizard
  • Database
    • Primary key in every table
  • Dataenvironment
    • All tables
    • No views or cursoradapters
    • No programmatical use of tables supported
requirements for the dfpug silverlight wizard1
RequirementsforthedFPUG – Silverlight Wizard
  • All controls in the form
    • No programmatical instantiation of visual controls at runtime
  • Migration of base classes of controls
  • No migration of code
dfpug silverlight wizard how does it work
dFPUG – Silverlight WizardHow does it work?
  • Upsizing to SQL Server
  • Create Silverlight Business Application
    • ADO.NET Entity Data Model
    • Domain Service
  • dFPUG – Silverlight Wizard
  • Test
  • Business logic
sql server upsizing wizard
SQL Server Upsizing Wizard
  • Use Upsizing Wizard of Sedna!
    • http://vfpx.codeplex.com/wikipage?title=Sedna
  • Upsize VFP database to SQL Server
    • Structure
    • Data
create a silverlight business application
Create aSilverlight Business Application
  • New project
  • Data model (connection, data access)
  • Domain service (web service)
new project
New project
  • Template project
    • Silverlight Business Application
what does it contain
Whatdoesitcontain?
  • Client project (Tastrade)
    • Silverlight project
    • Forms
      • MainPage.xaml
      • Home.xaml
      • About.xaml
what does it contain1
Whatdoesitcontain?
  • Server project (Tastrade.Web)
    • Startup project, start page
    • Folder for data model
    • Folder for domain service
    • Tastrade.xap
  • First test
add data model
Add datamodel
  • ADO.NET Entity Data Model
  • Connection to SQL Server database
    • Server: .\SQLEXPRESS
    • Database: Tastrade
  • Build project!
add domain service
Add domainservice
  • Domain Service Class
    • Actually web service
  • Select tables
    • General rule: set all checkmarks
  • Code for data access gets generated
    • A short view at the code
  • Build solution!
the server project is ready now the client project and is done by the dfpug silverlight wizard

The server project is ready!Now the client projectand is done by thedFPUG – Silverlight Wizard 

dfpug silverlight wizard
dFPUG – Silverlight Wizard
  • Freeware
  • On the memory sticks 
  • FREE migration of VFP projects to Silverlight
    • Layout of forms
    • Execution of forms
dfpug silverlight wizard1
dFPUG – Silverlight Wizard
  • 1. What does this wizard do?
  • 2. Select VFP project
  • 3. Select Silverlight Business Application
  • 4. Select forms
  • 5. Select properties
    • Properties, which should be set by styles, should not be migrated
dfpug silverlight wizard2
dFPUG – Silverlight Wizard
  • Finish!
    • Forms are opened in the VFP Form Designer
    • Controls are read
    • Silverlight forms are created
  • Test
where can i run the application
Wherecan I runtheapplication?
  • Windows
    • Internet-Explorer
    • Firefox
    • Chrome
    • Opera
    • (Safariofficially not supported)
where can i run the application1
Wherecan I runtheapplication?
  • Mac OS
    • Safari
    • Firefox
    • Chrome
    • Opera
where can i run the application2
Wherecan I runtheapplication?
  • In the future on Linux
    • Firefox
    • Chrome
  • Right now Silverlight Plug-In Version 3.99
the result
The result
  • Migrated layout
  • Execution possible
a short view at the generated files
A shortviewatthegeneratedfiles
  • <form name>.xaml
  • <form name>.xaml.cs
  • MainPage.xaml
  • MainPage.xaml.cs
what to do now code examples
Whatto do now?Code examples
  • Save

employeeDomainDataSource.SubmitChanges();

  • Next

employeeDomainDataSource.DataView.MoveCurrentToNext();

  • Previous

employeeDomainDataSource.DataView.MoveCurrentToPrev();

advantages
Advantages
  • Quickly and simply generated base for a Silverlight development
restriction
Restriction
  • Silverlight application runs with
    • SQL Server database
    • But not with VFP database
dfpug silverlight wizard3
dFPUG – Silverlight Wizard
  • Video tutorial (in German) available athttp://www.MSDN-Solve.de
  • and on the memory sticks