Grouping the code into a single .vbs file
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Grouping the code into a single .vbs file Expand / Collapse
Author
Message
Post #11767 Posted 7/7/2006 9:17:34 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Yesterday @ 7:18:40 AM
GenoPro Version: 2.0.1.6
Posts: 437, Visits: 1,166

Today I was translating, in French, the phrase “PhFamilyWith”. It should have been a simple matter but instead took me a full day to work out the coding. I don’t pretend to be proficient in vbs programming but what I discovered surprised me:

When the parameter “fHideFamilyDetails” = “N”, the codes to be written to the individual.htm files are initiated from within the script file “Lang.vbs” but when the said parameter = “Y”, the codes are initiated from within the “Individual.htm” template file.

Unless I miss something, I think the codes should not be split as they are now but all of them should be grouped together from within a single vbs script file. It will, I believe, make the codes more optimized and also make the debugging process far easier (especially for these language translations).

Unless it is Genopro’s intention, as Jean-Claude said somewhere, to possibly rewrite the whole report generator codes in C++.

 

Thank you.

Post #11768 Posted 7/7/2006 10:33:07 PM


IT Director GenoPro

IT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoPro  

Group: Customers
Last Login: 2 days ago @ 8:48:44 PM
GenoPro Version: 2.0.1.6
Posts: 447, Visits: 5,848
We plan to re-write the skin English Narrative report in JavaScript.  We will add comments and document how the skin works to allow people to easily modify the report template.

We are aware this skin is used by many individuals, and will be copied and modified many times.  We are waiting for Beta 19 when we revise our tags before doing this work.  Our website will also have the full technical documentation for the report generator.


If the facts don't fit the theory, change the facts.
-- Albert Einstein

Jean-Claude Morin
Information Technology Director, GenoPro.
http://www.genopro.com

« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 9:20 AM

Copyright 1998-2008 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.