Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buat database index dan data Quran di sqlite / realm #2

Open
abrari opened this issue Mar 9, 2017 · 5 comments
Open

Buat database index dan data Quran di sqlite / realm #2

abrari opened this issue Mar 9, 2017 · 5 comments
Assignees
Labels

Comments

@abrari
Copy link
Member

abrari commented Mar 9, 2017

Data index dan teks Quran dimasukkan ke sqlite. Mungkin skemanya:

quran:
- id
- surat_no
- ayat_no
- text
- trans
- highlight_map

surat:
- surat_no
- surat_name

index:
- term
- docs_list        (json encoded?)

@abrari abrari added the data label Mar 9, 2017
@abrari
Copy link
Member Author

abrari commented Mar 9, 2017

Ada yang kelupaan. Teks muqatha'ah yang asli mungkin perlu tabel sendiri juga?

@onioncoder
Copy link

Ya, pisah table sendiri aja. Btw selain https://github.com/andpor/react-native-sqlite-storage mungkin bisa pake alternatif ini https://github.com/realm/realm-js ?

@abrari
Copy link
Member Author

abrari commented Mar 13, 2017

Boleh juga mas, kayaknya cukup menjanjikan. Soalnya operasi kita kan cuma baca aja tanpa perlu relationship / query yg rumit.

@abrari abrari changed the title Buat database index dan data Quran di sqlite Buat database index dan data Quran di sqlite / realm Mar 13, 2017
@onioncoder onioncoder self-assigned this Mar 13, 2017
@onioncoder
Copy link

onioncoder commented Mar 14, 2017

highlight_map kenapa ada di table quran ya? @abrari sekilas baca source code web on the fly buat highlightnya. atau ini highlight yang lain? sama ini untuk class yang non screens di taroh folder mana ya?

@abrari
Copy link
Member Author

abrari commented Mar 16, 2017

Highlight_map itu buat display sih. Diambil bersama teks ayatnya (arabic) jadi mungkin menurut saya di tabel bisa barengan sama teksnya.

Bebas aja 😁 Bisa lib atau yang lain, nanti kita mengikuti

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants