Sunday, January 30, 2005

Missing feature of VFP web tools

There are couples of 3rd party VFP web tools available in market. Comparison Of VFP Web Tools can be found at Fox Wikis.

Each of the VFP web tools have its own strength and weakness. They focus on middle and backend. Only Voodoo web controls from EPS focus on UI layer. Why doesn't other web tools vendor like web UI control?

Voodoo allows developer to reuse the UI code, but still need to write many code. Also, as mentioned in my previous post, VFX has a new AFP builder to generate HTML from VFP form. It is a greate feature, but still not enough.

I do feel that it still miss out one important feature, that is Visual designer. With visual designer like ASP.NET, it would make VFP web apps developer life easier. Is it a hard work?

Visual Extend 9.0 and AFP

Visual Extend (VFX) - one of the most popular VFP framework owned by the FoxPro User Group of German language Inc., dFPUG has released latest version VFX 9.0. You can get some infos for the latest version and download it.

One of the enhancements I excited would be AFP-Builder for HTML generation. As I remember, one of the dFPUG members used to mention that, this new builder would be able to generate HTML from VFP form. Don't you think it is amazing? However, it would not be sold as seperate products. In other word, only VFX 9.0 users have chance to use it. :(

Saturday, January 29, 2005

VFP web site is updated

As promised by Ken Levy [MS], VFP web site is updated. Link VFP9 related articles and resources are posted.

January Monthly Letter is released but not much info. More content and news will be posted in Febuary according to the letter. Hope we don't have to wait for too long.

Saturday, January 22, 2005

Best Solution for VFP Web Apps

[Edited] Calvin Hsia's contention is that the best solution for vfp web apps as far as performance and ease of use and installation is to go with VFP mtdlls(ActiveVFP)

[Source : Camparison of VFP Web Tools]

However, I do feel that each of VFP web tools in market have their own strength. For example the ability to debug and run VFP web apps within VFP IDE by AFP. So, try it before make any decisions. Everybody has their oen preferences.

Friday, January 21, 2005

"What's New In Nine" Shipping in Early February

I have long waited for this book. Happy to able to get it soon.

GOF's Design Patterns Book - 2nd Edition

Bestseller computer book Design Patterns: Elements of Reusable Object-Oriented Software by Gang of Four is in the progress to publish 2nd Edition.

Link

I hope they would use simpler/plain english for 2nd Edition. It would make readers who not good in english like me able to understand it better.

Article OzFox conference in ComputerWorld

An article in ComputerWorld about OzFox conference.

I like this sentence:
"We're very focused on keeping it alive."

How garbage collection works in VFP

Calvin Hsia blogged about how garbage collection works in VFP.

Friday, January 14, 2005

VFP9 Publicity at VB home page

Visual Basic Home Page
Direct link
[Source : Bill Anderson (leafe.com)]

Thursday, January 13, 2005

MS-Tech Fest 2005-Visual Foxpro is Included

Jan. 26 to 27, Microsoft Philippines will be having TechFest 2005 at Edsa Shangri-La, and a VFP session is included. It is a one hour session.

TechFest 2005

[Source : Foxite.com]

Tuesday, January 04, 2005

NET I/O

I am not sure, if is that a term called "NET I/O". But I heard this from my boss. For those who wnat to know, according to my boss this term meant that:
Avoid I/O activities if possible. I/O here meant read/write data back to harddisk.
Why do we need it?
Of course, you and me may know that it is for improving application perfromance.

How to avoid I/O?
Very easy. Compare the original and new field value (REPLACE, UPDATE). If both values are difference then only we replace/update it.

How much does it improve the performance?
According to my testing, NET I/O is at least 20% faster.

When should we implement NET I/O into our application?
Batch Processing. As usual, Batch Processing may take up to few minutes, hours or days to accomplish its task such as calculating payroll, account posting or etc. Assume we have 1,000,000 records to be processed, and we can save 10 miliseconds per update, then we would be able to save 16.6667 minutes.

When should we NOT to implement NET I/O into our application?
Data entry and process that only involve few records update. Unless your users complaint that your application is very very very slow.

Drawback
It will complicate our coding. Even though we only required to write code to compare (IF ... ELSE ... ENDIF) before update, however, if there are more than ten fields to be updated, then we may need to have ten IF to compare each field value, or, one very long IF condition to compare all fields in advance. It is not a easy maintain code.

Additional Info
A tip published in FoxProAdvisor (can't remember which issue), assign a value to a property is FOUR times slower than read value from a property. I think it would be the almost the same for read/write data to table.