Next Previous Contents

15. Ergaleio gia Sxediasmo/Ylopoihsh Web Basewn Dedomenwn gia thn PostgreSQL - EARP

15.1 Ti einai to EARP ;

To EARP einai ena ergaleio gia sxediasmo/ylopoihsh Web basewn, poy ka8etai panw apo to susthma bashs dedomenwn PostgreSQL. Sth leitoyrgikothta toy perilambanontai:

15.2 Ylopoihsh

H kuria ylopoihsh toy EARP einai ena ektelesimo CGI poy trexei katw apo to daimona http kai parexei prosbash sto diakomisth ths bashs dedomenwn. Ola ta ergaleia sxediasmou einai xtismena mesa ston odhgo, o sxediasmos den ginetai para mono se web. Ta idia ta ergaleia apaitoun ena grafiko browser, h symbatothta twn antikeimenwn poy sxediazontai me ta ergaleia einai anejarthta toy tropoy ylopoihshs, basismena sto sxediasmo atomikwn protimhsewn.

15.3 Ti xreiazeste gia na trejete to EARP

To EARP prepei na trexei pi8ana se polles platformes me ligo h ka8oloy metafora. Oi gnwstes platformes poy trexei einai oi ejhs:

H trexoysa ekdosh (1.3) toy Earp sxediasthke panw sthn ekdosh toy libpq poy erxetai me thn PostgreSQL v1.01/1.02. An xrhsimopoieite mia pio prosfath ekdosh ths Postgres, na perimenete pws to programma 8a xreiastei merikes allages gia na doylecei swsta. Sthn anaptyssomenh ekdosh (Earp 2.0), h yposthrijh libpq enswmatwnetai san module.

15.4 Pws doyleuei ;

Ena apo ta kyriotera xarakthristika toy EARP einai oti xrhsimopoiei Antikeimenostrafh me8odo gia na paragei html selides poy epikoinwnoun me th bash. Oi perissoteres selides apotelountai apo diafora antikeimena (objects). Ka8e antikeimeno paragetai apo kapoioy tupoy ergaleio kai afou toy do8ei ena onoma, ta antikeimena syndeontai metaju toys se mia allhloyxia poy mporei na kalestei apo to ergaleio ths selidas (page tool). Ta antikeimena einai mporoun na xrhsimopoih8oun apo pollaples selides. Yparxoyn basika ergaleia gia HTML, Erwthseis (Querys), na pairnete times apo tis formes, na formarete erwthseis kai antikeimena eisodoy, kai na syndeete metaju toys ta antikeimena se alla antikeimena. Perissotera ejeligmena ergaleia perilambanoyn to ergaleio gia mail kai to multithreaded ergaleio erwthsewn.

Allo xarakthristiko toy EARP einai h ejtra asfaleia. H prosbash se diafores perioxes toy systhmatos EARP mporei na perioristei me diaforoys tropoys. Gia na eykolunei thn ejtra asfaleia, to EARP elegxei gia ka8e sundesh sto susthma, kai prosdiorizei se poia ids kai gkroyp anhkei o syndedemenos agent. H prosbash se perioxes ka8orizetai jexwrista, kai o syndyasmos apofasizei an epitrepetai h prosbash se mia sygkekrimenh perioxh toy Earp. Epipleon, o,ti apaiteitai gia na ylopoihsete ta xarakthristika asfaleias einai enas http server poy yposthrizei basiko (h kalutera) user authentication.

15.5 Pou 8a to brw ;

Mporeite na katebasete to EARP me anonymous ftp apo to


Next Previous Contents