In The Name of God, Most Gracious, Most Merciful
Peace,
It brings great pleasure to release the latest build. There is much to see in terms of access to scripture. A MAJOR road block is development of a healthy XML Schema/DTD, and I welcome anyone's initiative to improve on the current one that we have.
About our current build:
There are 2 XML files of about 1.2 MB each that are being parsed into the software, THEREFORE:
VERY UNSTABLE!!!
When it loads, give it about half a minute to load properly, otherwise, as you click around on the TREE Views, you'll crash the program and may end up locking up your machine requiring you to restart.
The tree views are NOT part of the program(They do not fall within the Parent Window). It is just some experimenting, though, It MAY be added, also by a "right click pop up menu feature". The critical thing here is the amount of time it takes the data to load into the program. Of course, we have 2 different data sets loading at the same time. a)AEV Qu'ran and b) the XML file used by Athan Software to give the Contact Prayer timings(wouldn't this be an interesting addition in the future?) That ways, the memory requirements and load time would effectively be reduced in half.
Oh, and these Wonderful Tree Views are based on some code I came across on the SUN's Java site, By The Grace of God... Which, brings me back to setting up the XML Schema. If you click on the tab labelled Chapter(provided you've waited that 30 seconds at startup), you should be able to view the WHOLE respective chapter in the right pane.
/*TECHNICAL
The problem with the Current XML file is that the Chapter and Verse Numbers have been set as attributes instead of elements which makes it even more harder to parse the file and navigate through it. Until this, at the least is fixed, I can't figure out the logic to get is displayed in the child frame. The current XML files also does not accomodate the Introduction and the Appendixes. On my own, it's going to take me at the very least 2 weeks to come up with something logical to include all possiblities that may be found in any scriptures(ie., prefaces, glossaries, the books of the Bible, etc.). the set up of the XML is truely the important part of this project.
/*
The amazing thing is that despite around 2.5 MB worth of data, the file size is only 515kb. Of course, it will become smaller after removing the Athan xml file. It's even more amazing that it shows the program eating up around 50-70MB worth of memory at load time. That is because the views are very memory intensive and we've got two of 'em loaded.
Indifferent of what resolution you have your computer screen set up at on program start up, it should dynamically set in an appropriate view on your screen anytime you start the program. You can test this by changing your screen resolution and running a new instance of the program. The one already running will be sized differently from the newly instanced one. This will be the Default settings. As the program develops, preferences will be added, God Willing, so that it will open up in the last saved state, IA, along with the same views that were open.
I welcome anyone's suggestions for hotkeys. Is Ctrl + N good for opening new views? What of Alt-F4 to exit. Standard keys. We can also add more to do the same things. For instance, F2, in additino to Ctrl + N to give more views.., etc...
/*TECHNICAL
In order bring the effieciency upto mark, research will be made on whether to continue using the DOM Model to parse the XML as required in the memory, or fi there is any benifit in structuring the data into Array's or HashMaps(Collections).
/*
THE DIFFICULTY!!!
THE XML SCHEMA. Only until good thought is put into this, can I progress as far as ACTUALLY displaying text in the Child Frames that we can so easily lauch by pressing Ctrl+N.
I appreciate everyone's reading through this thick mail and even the very brief glance, By The Grace of God.
Well, that's all for, so...
God Bless,
Shree Mulay
PS. If anyone comes across ANY problems, please email me. We've gotta' get things ironed out from the begining otherwise, the will end up as a HUGE crack. I am aware of the problems with the tree view, so apart from that.
PS. Have of the code is documented, By The Grace of God, into the standard apiDoc programming that is inherent to Java.
PS. The XML file can be accessed from the JAR file by unzipping it. That ways, it can be worked upon, IA.
PS. As I become Familiar with the Java environment, the development will speed up, God Willing. I've been Blessed to learn so much in such a short period! God Truely is MOST Merciful...
Peace,
As per yesterday's email, the following have been done:
1) Centering of Parent Window of MDI to center of computer Screen.
2) Reduced Parent Window Size to more appropriate setting.
3) Documentation of Source to be parsed by Java dochelp utility to make API list of USV.
4) Improved Look&Feel facet
5) HotKey listing to Exit the program in MenuBar has corrected to display the correct pattern.
Was not able to find a suitable xml Schema for Scripture Vieweing, though there is some available for the Bible specifically, but, perhaps the schema is too detailed for our purposes. Instead, have decided to move forward with current .xml schema in place to dispaly some text in windows, IA. That is the GOAL for tomorrow, IA. Setting a suitable XML schema is one of the most difficult tasks in this project. Not done as of yesterday's list:
1) XML Schema not decided upon. Postponed for later.
2) Display of verse. IMMEDIATE TASK ON HAND. FOCUS ON THIS CURRENTLY. This involves steps of:
a) parsing XML into Document Object Model(DOM)
b) Setting up Child Frame Window to display text.
c) Displaying the parsed XML into the Child Frame text box.
God Bless,
Shree Mulay
Shree Mulay wrote:
Peace,
Nightly Build of the software. I figure, I'd like to send out the work on a Daily Basis for evalution purposes so that a log may be tracked on the progress. Not MUCH has yet been done. As I become MORE familiar with the Java Development Environment, progress should speed up, IA. As of now:
1) Software with all dependencies in a single self executing file
2) Basic Multiple Document Interface(MDI) interface set up. (Centering of Main Window to Computer Screen to be done tomorrow, IA)
3) Logical Hotkeys assigned to spawn child windows(Scripture Display Windows) and to Exit the program. Ctrl-N & Alt-F4
To do Tomorrow, IA:
1) Centering of Parent Window of MDI to center of computer Screen.
2) Set up of XML schema(DTD) to all program view all kinds of XML based documents
3) Some Qu'ran Text Display in the windows(Child Frames; Scripture Display Windows).
To Do Eventually, IA:
1) Devise a more attractive system of adding Child Frames in a logical manner.
2) Assign Logical HotKey for Child Frame Closure(ie., Ctrl-W).
God Bless,
Shree
PS. No need to remark on how it looks right now, IA. I'm just interested in knowing whether it was able to work on everyone's machines from the beginning before developing too much to only realize a problem under the "TOO LATE!" catagory.
PS. This should work on most machines even with old Java Runtime Environments(JRE)'s installed. For this development, though, I am using the latest one, and in case you do not have it, or, if it's NOT working, you may need the latest JRE available at:
http://java.sun.com/javase/6/download.jsp
Click where it says Download JRE 6 Beta
IA, will not be Beta by the time our development is over...
PS. For those of you who are interested in seeing the final product or significant updates can let me know to remove you off of the list, IA. Likewise, if I need to add anyone, please let me know...
PS.S.S Faiz, I will need you help in setting up the XML DTD Schema, IA.
Add me via messenger, IA:
Shree...@gmail.com *Most likely to find me on Google Talk...
codedi...@hotmail.com