You are on page 1of 10

I XIII I 25 I 2014

004.42:02


-

,
lazarevic.ivica@gmail.com

- ,
. ,
.
, a
.
.
, .
, .
,
.

:
, , , , , , , , -,
, ,




.
,
, ,
"1.

,
.


,
.

.

,
, .
1

Douglas Crockford, javaScript: The Good Parts (0'Reilly, 2008), 173.

je -
, , ,
.


,

,
.
Greenstone, DLibra, Kramerius, Omeka ,
.
,
.

. ,



.

62 25 ( 2014)__________________________________

. - ", 61 - 69

,

. ,
.
, ,
2014. , ,
(a
).
, a

- .



.
,
.

, a
.
,
,
.

. ,


. ,
.
,
,
.
, ,
, , , ,
, .
, ,

,
.
,
. ,

.

.


, a
.

()

. ,

, .

, a
.
- , a
, COBISS-, .

.


512MB RAM
.

1.


",
.

_________________________________ 25 ( 2014)

63

. - ", 61 - 69



. ,


. ,

,


,
,

.

,
-2.
,
Yii Framework.
,

,
. Yii
, , ,
, .

MVC (Model View Controller) .
Yii.
, SQL
XSS "3.
.


. SQL

"4.

MySQL.
,
^
-. MySQL
, -

, a ce
Oracle. ,

,
.
MySQL
.
,
.
MySQL InnoDB MylSAM,
, , InnoDB
(FTS), a MylSAM

( ACID ).

, - stackoverflow.com.
-5,

.
MySQL
(Sphinx6)
Lucene
Solr ElasticSearch7.

,
,
.
.
MySQL
PostgreSQL .
PostgreSQL
, ,
Soir
ElasticSearch,
8.

,
PostgreSQL
5

VVikipedia, the free encyclopedia, Analysis paralys\s, http://en.wikipedia.


org/wiki/Analysis_paralysis ( 5. 9. 2014).
6

Stack Exchange Inc, MYSQL Fulltext search and LIKE, http://stackoverflow.com/questions/1437066/mysql-fulltext-search-and-like(npey3eTO


5.9.2014).
7

Group, : Hypertext Preprocessor, http://www.php.net (


17.4. 2014).

3 Vii Software LLC, Framework: Bestfor Web 2.0 Development, http://


www.yiiframework.com ( 17. 4. 2014).
4

Martin Fowler, Patterns of Enterprise Application Architecture (Addison Wesley, 2002), 38.

Stack Exchange Inc, Choosing a stand-alone full-text search server: Sphinx


or
SOLR?,
http://stackoverflow.eom/questions/1284083/choosing-astand-alone-full-text-search-server-sphinx-or-solr ( 5. 9. 2014).
8

Stack Exchange Inc, reason not use PostgreSQLs built-infull text search
on
Heroku?,
http://stackoverflow.eom/questions/10875674/any-reasonnot-use-postgresqls-built-in-full-text-search-on-heroku
(
5.
9.
2014).

64 25 ( 2014)__________________________________

. - ", 61 - 69

,
".
PostgreSQL
. (SQL)
ANSI-SQL:2008
.
,
, , ,
, ACID
. ,
,
(MVCC).
SQL
MySQL PostgreSQL,

.
,
PostgreSQL


.
,

.
-,
HTML5 (
).
,
.
-, . JavaScript
. -
JavaScript-a,

.
, ,
GWT (Google Web Toolkit). GWT
java
JavaScript.
Java
Java Script-a
- .
Firefox, Chromium Google Chrome, Inter
net Explorer, Safari Opera. GWT, ,

.
. Java
JavaScript

. , GWT-a
jQuery
JavaScript9.


u

,
.


.
.
.
.
,
,
.
null
.
"10.


,
.

,
,
.
,

(Nested sets11).
, ,
.

9jQuery

,
. : HTML
, ()

(API), ". The jQuery Foundation, jQuery, http://jquery.com/ (
20. 4. 2014).
10 joe Celko, Joe Celko's SQLfor Smarties, Fourth Edition: Advanced SQL Programming (Morgan Kaufmann, 2011), 667.
11 Ibid.,

673.

_________________________________ 25 ( 2014)

65

. - ", 61 - 69

2.

2.
.

.

.
mule .

,

,
.

. ,

: , ,
,

.


:
. ,

,
,
.



(OCR),

,
.

,

.

. ,
LIKE
.
,
,
.
, ,

,
.
,
.
LIKE
.

,
LIKE.

,

.
.
:
, ,

, GIN
GIST . , , .

66 25 ( 2014)__________________________________

. - ", 61 - 69

PostgreSQL .

.
, ,
, jagodi
na.
Unaccent'2,
ISpellDictionary Simple Dictionary13,
.
Unaccent
. ,

,
.
Unaccent,

ispeli . ,

,
,
. ispeli

,
ispeli (dict)
(ffi). dict
.
(/) ,

.
jagodina,
dict :
jagodina/A
affix
A :
SFX A Y 5
SFX A a e .
SFX A a i.
SFX A a o .
SFX A a u .
SFX A a om .
affix
A

12The

PostgreSQL Global Development Group, PostgreSQL: Documentation:


9.1:
unaccent,
http://www.p0stgresql.0rg/d0cs/9.l/static/unaccent.
html ( 5. 9. 2014).
13The

PostgreSQL Global Development Group, PostgreSQL: Documentation:


9.1:
Dictionaries,
http://www.p0stgresql.0rg/d0cs/9.1/static/textsearch-dictionaries.html ( 5. 9. 2014).

( Y) ce
.
a
, : , i, ,
u, .

,
.
, (.)
.
Simple Dictionary, ,

. ,
, , ,
, a
.
.
, PostgreSQL ,

. , ,
,
. ,
,
,

.

,

. *
, , .
,
.
ispeli
.
ispeli ,

, .


LIKE .
, LIKE

,
.

_________________________________ 25 ( 2014)

67

. - ", 61 - 69

COBISS

COBISS

. COBISS
, .
COBISS
,
. ISO
2709 (MARC 21, COMARC) XML (Dublin Core,
MODS, MARC 21, COMARC)"14.

COBISS , ,
, ,
.
COBISS
.
,
COBISS, a
BIBLIO .

.
COBISS

COBISS. , ,
, , ,
,
- COBISS
, , a
.

COBISS-a
. ,

COBISS-om.
,
HTML
.
,


COBISS-a.
COBISS. CO
BISS ,

14 IZUM, Platforma COBISS - Kooperative onime bibliografski sistem i servisi,


http://www.cobiss.net/platforma_cobiss-SR.htm ( 22. 4. 2014).

.

-
.
HTML ,
, QueryPath,
. QueryPath

JavaScript JQuery.

, QueryPath
.
HTML CSS
,
.
CO
BISS ,
,

.
(),

.

.
,
Filezilla, WinSCP, TotalCommander
. ,
.
, ,
, ,

. ,
COBISS-a
,

.

: 1)
( : ,
, ...), 2)
3)
( , ,
,
, ,
).
.
SQL
jOIN,

68 25 ( 2014)______________________ ____________

. - ", 61 - 69

. ,
,
jSON (Java Script Object Notation) .

, SQL, jSON ,
. ,


,
ESE ED
Europeana.


.


, ,
.

.


.


, .


. .



.
,
,

.

.



. ,
COBISS ,
.

,
,

.

:
1. Celko, . Celko's SQLfor Smarties, Fourth Edition: Advanced SQL Programming. Morgan Kaufmann, 2011.
2. Crockford, Douglas. JavaScript: The Good Paris. 0'Reilly, 2008.
3. IZUM. Platforma COBISS - Kooperative onime bibliografski sistem i servisi, http://www.cobiss.net/platforma_cobissSR.htm ( 22. 4. 2014).
4. Fowler, Martin. Patterns of Enterprise Application Architecture. Addison Wesley, 2002.
5. PHP Group. : Hypertext Preprocessor. http://www.php.net ( 17. 4. 2014).
6. Stack Exchange Inc. reason not use PostgreSQL's built-infull text search on Heroku?. http://stackoverflow.com/
questions/10875674/any-reason-not-use-postgresqls-built-in-full-text-search-on-heroku ( 5. 9. 2014).
7. Stack Exchange Inc. Choosing a stand-alone full-text search server: Sphinx or SOLR?. http://stackoverflow.com/
questions/1284083/choosing-a-stand-alone-full-text-search-server-sphinx-or-solr ( 5. 9. 2014).
8. Stack Exchange Inc. MYSQL Fulltext search and LIKE. http://stackoverflow.com/questions/1437066/mysql-fulltextsearch-and-like ( 5. 9. 2014).
9. The jQuery Foundation. jQuery. http://jquery.com/ ( 20. 4. 2014).
10. The PostgreSQL Global Development Group. PostgreSQL: Documentation: 9.1: Dictionaries. http://www.postgresql.
org/docs/9.1/static/textsearch-dictionaries.html ( 5. 9. 2014).

_________________________________ 25 ( 2014)

69

. - ", 61 - 69

11. The PostgreSQL Global Development Group. PostgreSQL: Document at\on: 9.1: unaccent. http://www.postgresql.org/
docs/9.1/static/unaccent.html ( 5. 9. 2014).
12. VVikipedia, the free encyclopedia. Analysis paralys\s. http://en.wikipedia.org/wiki/Analysis_paralysis ( 5. 9.
2014).
13. Vii Software LLC. Yii Framework: Bestfor Web 2.0 Development. http://www.yiiframework.com ( 17. 4.
2014).

Software for Organizing Digital Collections - SOFKA


Abstract
This presents development of the original software SOFKA on which the Digital Library of Jagodina is based. It describes
standard software components that constitute the basis of the system and specific engineering solutions that distinguish this
application from the other applications of the same kind. The software consists of several independent subsystems. Goal in
the development of each of them was to make the content of the library digital collections and the books from the library
bookshelves accessible to users as much as possible. While planning and designing the system, it was necessary to take into
account a number of limiting factors. In this we present the compromises made during the construction of the software,
as well as possibilities for future system improvements and upgrades. The advocates the thesis that libraries should
have full control over the programs they use, in order to be able to respond to the growing specific demands of users. In
this regard, libraries should use open source software wherever it is possible and employ competent qualified professionals.
In-house development provides greater ability to adapt to external system requirements and user needs, compared to closed
source solutions. Among other things, the specificity of this system is communication vvith the COBISS, which provides a
more productive work of librarians. Communication with the OPAC simplifies the development of subsystems for generating
metadata and thanks to that, this application can be included into national or international system of digital libraries.

Keywords:
SOFKA, digitization, collections, software, design, programming, indexing, open source software, web applications, databases,
full-text search, electronic catalogues

: 23. 2014.
: 14. 2014.
: 3. 2014.

You might also like