[Kstars-devel] Re: Application to SOCIS 2011

Alexey Khudyakov alexey.skladnoy at gmail.com
Tue Jul 26 12:26:28 CEST 2011


On 24.07.2011 16:52, Diogo Silva wrote:
> Hi,
>
I'm CC'ing kstars-devel

> Thanks for the input. My main idea is to try apply some concepts and
> patterns (RUP and GRASP) of software engineering learned in my course.
> Like doing some requirement analysis and identify all functionality to
> maintain, and separate functional code from the supporting code and
> calculations functions. The main idea with this is to implement a
> modeled design of the software, in my opinion it can provide an more
> "user" friendly code, more readable and clean, and a lot easier to
> maintain, modify and add new functionality.
>
> And since the project idea page seems to suggest that UI, database and
> computational code are all mashed up together. I think it would be
> better to deploy the application in a 3-tier architecture, with each
> layer with its on responsibility, like: 1- Presentation; 2-
> "Business"/Computational; 3- Database. Even if this is not the aim of
> the project i think KStarts should go this goal.
>
Indeed kstars are big pile of code suffering from architectural mistakes
from past. Your proposal is right But I think it's way to ambitious to 
be properly implemented in 3 month time frame.

> About test, my idea was to define some test cases, to perform on the
> bits of code separated throw out the classes, and evaluate if the
> functionality is maintained. If you think a more complex and general
> test suite is needed let me know.
>
I don't really understand you. But as far as computational code is 
concerned. So far no one knows whether it work correctly. There is no 
tests and it doesn't produce obviously wrong results. It may produce 
subtly wrong results. [1]

So I think that good test suite is essential

> I will try to explain really well, what I plan to do, more detailed not
> so general like here.
>
> P.S. If something here seems to deviate from the aim of the project let
> me know. Maybe i miss read it.
>
> Regards,
> Diogo Silva.
[1] https://bugs.kde.org/show_bug.cgi?id=258183


More information about the Kstars-devel mailing list