Replacing file-system by database in KStars
marco.calignano at gmail.com
Tue Jan 28 08:44:58 UTC 2014
I also think a database is a better approach than a file base system. But
you didn't address the first and biggest think to do. Before you can start
coding you should really plan your database.
To create a database it is a real big work. You need to plan in advance
even for feature are not at the horizon yet. If you plan it correctly you
can then include localization as well.
I was thinking to jump on KStar to help, so maybe this is my cue. I will
have to learn how the data are structured and I can help with the database
development. But I would like to see some diagram here in the Kde-Edu list.
So that all the KStar team can also have a look and give their opinion.
On Tue, Jan 28, 2014 at 4:39 AM, Alexander Wolf <alex.v.wolf at gmail.com>wrote:
> 2014-01-28 Vijay Dhameliya <vijay.atwork13 at gmail.com>
> Currently when KStars is launched, it reads data corresponding to
>> different Skyobject from respective file in loaddata() methods. And I have
>> tracked out all the classes where we are loading data by reading file.
>> I researched bit on the topic and I found that loading data from database
>> is always much better option then doing same from file.
>> If we replace file system with QSql following are the Pros:
>> 1) We will not have to ship so many files with Kstars
>> 2) Loading from database is quicker than doing same from file
>> 3) Code for load methods will be reduced in size
>> 1) I will have to move all data from files into database by temporary
>> So I am planning to start coding to replace file system by database on my
>> local branch.
>> Can you please give your views and suggestion regarding the same ? I am
>> sure that It will be very helpful to me. :)
> What about localization support for strings (like names of DSO) from those
> With best regards, Alexander
> kde-edu mailing list
> kde-edu at mail.kde.org
Life is short, so learn from your mistakes
And stand behind, the choices that you make
Face each day with both eyes open wide
And try to give don't keep it all inside
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kde-edu