Giter Club home page Giter Club logo

Comments (25)

michaldrabina avatar michaldrabina commented on June 1, 2024 1

After internal discussion we decided it's gonna be tuple<int, string>.

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024 1

Just a report from the Discord conversation: we will stick with tuple<enum, url>, e.g. tuple<int, string>, probably with some limit of 5 or so, but that is not relevant for this task.

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

@Kenny11CZ will you try to do most of this issue 'til sunday? :-)

from flashcards.

danbalarin avatar danbalarin commented on June 1, 2024

Domain model example: hroncok/zizen#3

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

LOL

from flashcards.

danbalarin avatar danbalarin commented on June 1, 2024

Any suggestions/improvements/whatever?
Link to project source
Zip with XMI file
image

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

Questions could have text, image and sound as a list. + text question could have case sensitive bool property.

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

Web and social links should be merged into List<Tuple2<String, String>> links. (https://pub.dartlang.org/packages/tuple)

from flashcards.

danbalarin avatar danbalarin commented on June 1, 2024

I totally forgot about the second one, whopsie.

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

And we should simplify the Material into just a String property in Section.

from flashcards.

danbalarin avatar danbalarin commented on June 1, 2024

Link remains unchanged.
v2
image

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

Oops, I have meant to use List for the current 'definition' in Question.

The "object" (simple text, picture or sound) should be one only:

object: [definitions...]
/flag of Czechia/: ['flag of Czechia', 'flag of Czech republic', 'Czechia', 'Czech republic']

from flashcards.

michaldrabina avatar michaldrabina commented on June 1, 2024

Shouldn't the first part of the link tuple be some kind of enum instead of string?

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

Nope, it should be in the form name of the link : link, e.g. Tuple2('GitHub', 'https://...'), but you can also do something like Tuple2('SomeUnknownSite', 'http://...').

from flashcards.

michaldrabina avatar michaldrabina commented on June 1, 2024

Wouldn't it be better to have enum, with supported sites + other? I thought we are gonna have a dropbox of sites we support with icons for each of them.

Edit: "support" as in we have icon prepared to show for them

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

We can still have icons for "supported sites", but making an enum for this is just an unnecessary work with no effect.

from flashcards.

michaldrabina avatar michaldrabina commented on June 1, 2024

So you want to compare strings instead? That's like exacly what you want to use enum for..

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

Checking if some url contains "github" etc. is a work for "no price" for us. (myVariable.contains('github'))

On the other hand, having an unnecessary interface is kinda messy + it will not bring any value.

Therefore I prefer the first solution. We can discuss that on Discord.

from flashcards.

danbalarin avatar danbalarin commented on June 1, 2024

Final version?
obrazek

from flashcards.

danbalarin avatar danbalarin commented on June 1, 2024

obrazek

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

In the presentation there is the rule, that the class in this model should not contains attributes specific for implementation, so we should probably remove id and googleId from User?

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

Also, the Question class should have attribute explanation (markdown string).

from flashcards.

danbalarin avatar danbalarin commented on June 1, 2024

Is this okey @tenhobi ?
image

from flashcards.

tenhobi avatar tenhobi commented on June 1, 2024

This looks ok for our purpose. Add a description to the wiki for each entity. 👍

We may ommit the rest, I don't see much sense in that.

from flashcards.

danbalarin avatar danbalarin commented on June 1, 2024

Decription done, this domain model image added, please review it here.
Closing this isssue.

from flashcards.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.