«Quran/libquran-ng»: الفرق بين المراجعتين

من ويكي عربآيز
اذهب إلى: تصفح، ابحث
 
ط
 
(3 مراجعات متوسطة بواسطة مستخدم واحد آخر غير معروضة)
سطر 1: سطر 1:
  +
[[Quran|Quran]]
  +
 
This page describes the proposal of the new libquran-ng (new generation). The name is just for distinguishing the current libquran and the proposed libquran. In the future the name libquran is the one to be used.
 
This page describes the proposal of the new libquran-ng (new generation). The name is just for distinguishing the current libquran and the proposed libquran. In the future the name libquran is the one to be used.
   
 
== Current state of libquran ==
 
== Current state of libquran ==
* Depends on: expat for XML processing, libogg and libspeex for audio capabilities.
+
* Depends on: expat for XML processing, libogg and libspeex for audio capabilities.
* Applications need only the textual function of libquran also need to satisfy all the dependencies above
+
* Applications need only the textual function of libquran also need to satisfy all the dependencies above
   
 
== Architecture ==
 
== Architecture ==
سطر 12: سطر 14:
 
== Bindings ==
 
== Bindings ==
 
Probably in the future it would be nice to have the language bindings for several popular high-level programming languages.
 
Probably in the future it would be nice to have the language bindings for several popular high-level programming languages.
  +
  +
[[Category:Development]]

المراجعة الحالية بتاريخ 02:22، 26 يناير 2017

Quran

This page describes the proposal of the new libquran-ng (new generation). The name is just for distinguishing the current libquran and the proposed libquran. In the future the name libquran is the one to be used.

Current state of libquran

  • Depends on: expat for XML processing, libogg and libspeex for audio capabilities.
  • Applications need only the textual function of libquran also need to satisfy all the dependencies above

Architecture

The libquran-ng detachs audio capabilities in order can be used by applications which only need text functionalities. The audio handlers is separated as plug-ins, so we could have the quran audio not only in Speex, but also in other codecs such as .ogg or .mp3 which is already available on the web.

libquran-ng also tries to be more suitable for use in embedded environment and other environment which considers the memory usage on top of everything (webserver, etc). Currently libquran loads the whole XML file on the memory and parse it with expat. libquran-ng doesn't use libexpat at all at runtime. It has a binary format for quran, produced by other helper (e.g. quran-compiler program) from the XML source.

Bindings

Probably in the future it would be nice to have the language bindings for several popular high-level programming languages.