Thursday, February 17, 2005

.Net and VFP

As I've posted before, I'm finally working my way through .NET and actually building something with it. That doesn't mean I'm doing less Fox, except to say that my Project Manager replacement is on hold (do more to lack of a suitable treeview control). I'll have more to say on my .Net project next week.

If you're a Fox developer looking at .NET, I can't agree more with John Koziol, who is learning VB.Net (I chose C#). You can read about what John is doing here and here.

Rick Strahl made a great post on the Universal Thread earlier this week that also includes some good tips. I don't have the exact quote, but it was something along the lines of, "VFP developers are used to having the data language and the rest of the language intermingled. It's easy to manipulate data because it's all the same. When moving to .Net, you have to do what developers from other languages do...create a connection to the data and manipulate it outside of the application." In other words, don't bring the data into the application to things like searching for a particular record or doing some data munging. This should be done on the server. Don't do things like SELECT * FROM MyTable and bring down then entire table. Find what you need on the server and bring down only what you need. In other words, include a WHERE clause that limits the data.

Comments: Post a Comment



Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]