Comments (25)
After internal discussion we decided it's gonna be tuple<int, string>.
from flashcards.
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.
@Kenny11CZ will you try to do most of this issue 'til sunday? :-)
from flashcards.
Domain model example: hroncok/zizen#3
from flashcards.
LOL
from flashcards.
Any suggestions/improvements/whatever?
Link to project source
Zip with XMI file
from flashcards.
Questions could have text, image and sound as a list. + text question could have case sensitive bool property.
from flashcards.
Web and social links should be merged into List<Tuple2<String, String>> links
. (https://pub.dartlang.org/packages/tuple)
from flashcards.
I totally forgot about the second one, whopsie.
from flashcards.
And we should simplify the Material into just a String property in Section.
from flashcards.
from flashcards.
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.
Shouldn't the first part of the link tuple be some kind of enum instead of string?
from flashcards.
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.
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.
We can still have icons for "supported sites", but making an enum for this is just an unnecessary work with no effect.
from flashcards.
So you want to compare strings instead? That's like exacly what you want to use enum for..
from flashcards.
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.
from flashcards.
from flashcards.
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.
Also, the Question class should have attribute explanation (markdown string).
from flashcards.
Is this okey @tenhobi ?
from flashcards.
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.
Decription done, this domain model image added, please review it here.
Closing this isssue.
from flashcards.
Related Issues (20)
- Create own Theme pallete
- Enhance search HOT 1
- Meeting 5. 11. 2018
- Meeting program 5.11. HOT 1
- Flipcard exercise doesn't load properly first time
- Add card to course's section
- Fix detecting sign in warning HOT 3
- enableSuperMixins is deprecated
- Meeting 12. 11. 2018
- Meeting 19. 11. 2018 HOT 1
- Meeting 25. 11. 2018
- Use flutter_launcher_icons
- Use flutter_after_layout
- Add web user profile
- Add web course's sections
- Add web about page
- Add licences web page
- Fix mobile sign in false positives
- Fix user profile edit
- Url to component move to it's component
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flashcards.