Руководство пользователя SAPID

73
Руководство пользователя CMS SAPID v.1.2.3 5 июля 2005 г. Текущая версия: http://sourceforge.net/project/showfiles.php? group_id=118100&package_id=132259 (доступно в PDF) Авторы: Максим Барышников, Red Graphic Systems (mb @ redgraphic . com ) Дмитрий Шейко, Red Graphic Systems (d @ redgraphic . com ) Страница 1 из 73 SAPID CMS (sapid.sourgeforce.net)

Transcript of Руководство пользователя SAPID

CMS SAPID v.1.2.35 2005 .

: http://sourceforge.net/project/showfiles.php?group_id=118100&package_id=132259 ( PDF) : , Red Graphic Systems ([email protected]) , Red Graphic Systems ([email protected])

Red Graphic Systems www.redgraphic.com

1 57

SAPID CMS (sapid.sourgeforce.net)

1 2 3 4 5 6 7 ..................................................................................................................3 ..............................................................................................................3 SAPID ...................................................................................................7 .................................................................................................................7 .........................................................................................7 ............................................................................................8 ................................................................................................................87.1 SAPID....................................................................9 7.1.1 MODREWRITE.....................................................................................................9 7.1.2 Multiviews...........................................................................................................10 7.1.3 Disabled..............................................................................................................10

8 ............................................................................118.1 SAPID..................................................................11

9 ..................................................................................................129.1 CMS..........................................................................................12 9.2 ...................................................................................................13 9.2.1 ..........................................................................14 9.3 WYSIWYG-...........................................................................................14 9.3.1 ...............................................................................15 9.3.2 ........................................................................16 9.3.3 .........................................................................................................16 9.3.4 ...........................................................18 9.3.5 ......................18 9.3.6 ...........................................................................18

10 .......................................................................................................1810.1 .............................................................................................18 10.1.1 ..............................................................................................19 10.1.2 ......................................................................................................19 10.2 ...........................................................................................................19 10.2.1 XML Sapiens ............20 10.2.2 CMS.................................................................21 10.3 ...........................................................................................................22 10.4 ............................................................................................23 10.5 ...........................................................................................24 10.5.1 - ...............................................................................................24 10.5.2 (DDC).............................................................................................24 10.5.3 (DDC) ................................................................26 10.5.4 DDC .............................................................................30 10.5.5 CMS- ......................................................................................30 10.5.6 CMS ............................................30 10.5.7 .................................................................................34 10.5.8 CMS.......................................................................................35 10.5.9 ...................................................................................................37

11 XML Sapiens............................................................................................3811.1 (QC)................................................................................................38 11.2 (SDC)...........................................................................39 11.3 (DDC)........................................................................40 11.4 XML Sapiens...................................................................................................41

2 57

SAPID CMS (sapid.sourgeforce.net)

11.5 XML Sapiens.......................................................................................42 11.6 XML Sapiens.....................................................................................................42 11.7 DDC ...................................................................................................43 11.8 DDC..........................................................................................43

12 SAPID.......................................................................4312.1 .........................................................................................................43 12.2 ................................................................................................................44 12.2.1 ............................................................................................44 12.2.2 ..............................................................................................44 12.3 .................................................................................................................46 12.4 .............................................................................................................46 12.5 ........................................................................................................46 12.6 ....................................................................................................49 12.7 .............................................................................................49

13 ......................................................................................5013.1 - SAPID..................................................................................................50

14 15 16 17

.......................................................................................................51 ......................................................................................................53 ...............................................................................................53 ............................................................................54

17.1 SEO.................................................................................................................55

18 ...................................................................................................................55 19 .....................................................................................................................56

1

SAPID- GNU (. Licence.Ru ) (Open Source). SAPID - (CMS), . , SAPID . SAPID : ( 2 ). SAPID , , (ModRewrite, GZIP ..), . , SAPID . SAPID opensource- , XML Sapiens ( http://www.xmlsapiens.org) XML Sapiens.

2

3 57

SAPID CMS (sapid.sourgeforce.net)

. , CMS SAPID - install.php. . . SAPID (Inline), . (file flat), . SAPID -. PHP 4.x. SAPID -, PHP. , . , XML Sapiens. -, free ware CMS SAPID PHP. XML Sapiens . , XML Sapiens Work Gallery (http://xmlsapiens.org/lib/) WYSIWYG ( ) , , . , , MS Word. (HTML, XHTML, XMLFlash, SVG, WML) MS SAPID HTML. SAPID Flash, WML (WAP), XML-XSLT .. , (friendly URLs) Apache Mod Rewrite, , (site.com/item_1/subitem_11/)SAPID CMS (sapid.sourgeforce.net)

4 57

-. -, SAPID . -. CMS SAPID . , , , , RSS-, , , , , feedback . CMS SAPID . , . CMS SAPID. SAPID, SAPID SAPID. HTML- CMS SAPID. , CMS SAPID. HTML- , HTM2CHM Windows Help. (, , , ). . : , . Free ware CMS SAPID : () (). , . - , . , .

5 57

SAPID CMS (sapid.sourgeforce.net)

CMS SAPID. CMS SAPID - , SAPID . SEO. SAPID . SAPID SEO, . . , - , SAPID (http://www.sapid-club.com/). SAPID http://sourceforge.net/projects/sapid/

6 57

SAPID CMS (sapid.sourgeforce.net)

3

SAPID CMS SAPID Red Graphic Systems (www.redgraphic.com). Red Graphic Systems. : (http://xmlsapiens.org/~mephisto/) : (http://xmlsapiens.org/~sheiko/) , , , -, (http://xmlsapiens.org/~linur/) , 3D , ([email protected])

4

CMS SAPID . , , . SAPID - (, : , , ..). RSS- . SAPID -. SAPID , . .

5

SAPID SAPID . , 20 SAPID . 200 . , SAPID 2 000 .

7 57

SAPID CMS (sapid.sourgeforce.net)

3- SAPID 6 000 .

6

: Apache Web Server / rewrite module/ (http://www.apache.org) PHP version 4.1.x (http://www.php.net) UNIX, Windows : MS Internet Explorer 5.5+ ( 6) FireFox 0.9+ ( Gecko)

7

, SAPID , . install.php. . , usr/dump 777 usr/dump/*.* 777 usr/extentions 755 usr/extentions/*.* 755 usr/templates 777 usr/templates/*.* 777 usr/templates/images 777 usr/templates/files 777 usr/xml 777 usr/xml/*.* 777 usr/xml/content/ 777 usr/xml/sdc/ 777 usr/xml/vdb/ 777 log/ 777 /etc/rc.conf.php HTTP- $http_path (, $http_path="http://myproject.domen.com") $root_path (, $root_path ="/www/project/sapid/httpdocs/";)

8 57

SAPID CMS (sapid.sourgeforce.net)

, (http://myproject.domen.com) SAPID. /area51/ (/?vpath=/area51/ MODREWRITE), (pass/pass).

7.1

SAPID

7.1.1

MODREWRITE

MOD_REWRITE . Friendly URLs ( ) .htaccess etc/rc.conf.php $MODREWRITE="enabled"; .htaccessDirectoryIndex index.php ErrorDocument 404 /404/ Options +Followsymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?%{QUERY_STRING}

index.php. , :DirectoryIndex index.php ErrorDocument 404 /404/ Options +Followsymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ http://mysite.com/index.php?%{QUERY_STRING}

MOD_REWRITE : http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html, http://www.sitepoint.com/article/guide-url-rewriting

9 57

SAPID CMS (sapid.sourgeforce.net)

7.1.2

Multiviews

MODREWRITE Multiviews. etc/rc.conf.php $MODREWRITE="Multiviews"; .htaccess :DirectoryIndex index.php Options -Multiviews Indexes ErrorDocument 404 http://mysite.com/index.php

7.1.3

Disabled

- MODREWRITE, Multiviews .htaccess, etc/rc.conf.php $MODREWRITE="disabled";. .htaccess , .

10 57

SAPID CMS (sapid.sourgeforce.net)

8

1.

, SAPID. , . , . . , , , . , SAPID . , . . , . .8.1 SAPID

SAPID . ( ) c . 11 57 SAPID CMS (sapid.sourgeforce.net)

. . , . DDC (.11.3), CMS

99.1

CMS

CMS, . . , , CMS SAPID. , . , . . , , . CMS SAPID , . .. , (. 10.1.2). CMS SAPID . CMS SAPID ( ) . , CMS SAPID , . (, HTML) ( , ). CMS SAPID - . ( , , , ..) CMS SAPID.

12 57

SAPID CMS (sapid.sourgeforce.net)

9.2

SAPID http://myproject.domen.com/area51/ (http://myproject.domen.com/?vpath=/area51/ MODREWRITE, . 7.1) . et/rc.conf.php, pass/pass. , . - , . , . . ( WYSIWYG) .

2.

13 57

SAPID CMS (sapid.sourgeforce.net)

9.2.1

DDC (, . 11.3). . Infochannel, . ( ) , . , (Read more) . .

3.

9.3

WYSIWYG-

, . SAPID IE Design Mode . : +, HTML-, . , - HTML- HTML- HTML-

14 57

SAPID CMS (sapid.sourgeforce.net)

+ .: Gecko (Firefox, Netscape, Mozilla) F7

9.3.1

, , , , . , , , , .

15 57

SAPID CMS (sapid.sourgeforce.net)

9.3.2

( .GIF/.BMP/.JPG/.PNG/.SWF). , , , .

4.

, .9.3.3

( ), 16 57 SAPID CMS (sapid.sourgeforce.net)

. ( ). , .

5.

17 57

SAPID CMS (sapid.sourgeforce.net)

9.3.4

,

CRTL-Z CTRL+S

9.3.5

CTRL+B CTRL+I CRTL+U CTRL+SHIFT+Z CTRL+

9.3.6

HOME END CTRL+ CTRL+ SHIFT+HOME SHIFT+END SHIFT+ SHIFT+ CTRL+SHIFT+ CTRL+SHIFT+

10 10.1

, . , , , -. .

18 57

SAPID CMS (sapid.sourgeforce.net)

10.1.1

, , ( ). CMS SAPID . , , . . . (10.2).10.1.2

, . , . , . , SAPID . . , () . DDC (10.5.2)10.2

, , , . . , . , (CSS), Java-. . . , . .

19 57

SAPID CMS (sapid.sourgeforce.net)

,

, . . , title , . . . body .

. , (SDC, . 11.2), (DDC, . 11.3), , XML Sapiens (www.xmlsapiens.org). . XML Sapiens (. 11) . http://sapid.sf.net/download/screate_ru/

10.2.1 XML Sapiens

SAPID

20 57

SAPID CMS (sapid.sourgeforce.net)

, :

variable1. value , . :

: SAPID , type. text publication . image, file, checkbox. :

10.2.2 CMS

CMS. SAPID :

21 57

SAPID CMS (sapid.sourgeforce.net)

SAPID PHP, , PHP.: . , .

10.3

. Drag&Drop , . , - . ? . Ctrl . , , .

6.

, CMS SAPID , . .. , -.

22 57

SAPID CMS (sapid.sourgeforce.net)

. .. , , . , . . (, ), . : # - (, #### - ) #+ - . , _////ID_, ####, ##, ##, #+. . . , . UNIX. , //_ (, 777). . . , - , . , . . . . http://sapid.sf.net/download/structure_ru/

: 751 , . , . , .

10.4

SAPID . login/password .

23 57

SAPID CMS (sapid.sourgeforce.net)

(wheel , managers ) . . , UNIX. -, UNIX- //_ (777).

10.5 10.5.1 -

- CMS SAPID (DDC, . 11.3). DDC , . (. XML Sapiens). DDC - CMS, , CMS (. CMS XML Sapiens). ( CMS ), , , . , , CMS SAPID . ( ). , (, DDC). , , - SAPID 3- . 1. (DDC) 2. CMS (CMS-) 3. CMS ().

10.5.2 (DDC)

24 57

SAPID CMS (sapid.sourgeforce.net)

, - (DDC, . 11.3). , SAPID . DDC, , XML Sapiens. DDC http://xmlsapiens.org/spec/bodyofthesapi/datacontainers/dynamiccontainer/, , DDC: Max Baryshnikov [email protected] www.redgraphic.com Vertical menu with subitems. eq(this.this.currentpage.value,1)
eq(this.this.currentpage.value,1)

XML. 3-8 . 9 . XML Sapiens Work Gallery 25 57 SAPID CMS (sapid.sourgeforce.net)

(http://xmlsapiens.org/lib/). SAPI:CHOOSE, , . DDC (SAPI:WHEN) (1). ( ) (SAPI:FOR-EACH), CMS- get_tree(). Get_tree() , . SAPI:CHOOSE , CMS . , SAPI:EXP. - ( ), ( eq(this.this.currentpage.value,1) ). TITLE () . ? SAPI:CODE , (LEVEL).10.5.3 (DDC)

DDC /usr/xml/ddc/. authorization.xml . , ( I). ( III). ( II). , ( IV). . : 1) , ; 2) , ; 2.1) , ; 2.2) , ;

books.xml

1.

26 57

SAPID CMS (sapid.sourgeforce.net)

1.1. CMS- :

get_infochannel.

books; en/samples/infochannel2/; 5 - LIMIT(0,5); BOOK_TITLE ( ) -; 3 ( 2) "filter" 4 , , BOOK_TITLE 4 ( 4 );

, CMS-

1.1.1. 1.1.2. 1.1.3. 1.1.4. 1.1.5. 1.2. 1.3. 1.4.

; ( Read more) ; ( Read more) , ; , Read more; ; ,

; , ( , ); ;

: , , CMS- (, ) , QC (, ). breadcrumbs.xml . CMS- get_track() . , . . calendar.xml . CMS- &day.1.value;. HTML- , . cascadevmenu.xml . CMS- get_tree, 1 3 , . ,

27 57

SAPID CMS (sapid.sourgeforce.net)

( I) , ( II). comments.xml . DDC 2 . CMS- get_infochannel allcomments_index, . . . DDC get_tree . . . DDC. DDC HTML Jscript , CMS- get_tree, 1 . get_tree 2- . DDC 2- . , DDC 3- . RSS-. DDC RSS, . XML RSS , DCC HTML , . . DDC CMS- get_gb_records ( /usr/xml/vdb/guestbook.xml) ( ), . . DDC . 1- . DDC- defaultmenu.xml DDC . : 1) , 2) , 2.1) , 2.2) ,

defaultmenu.xml

dropdown_menu.xml

get_rss.xml

guestbook.xml

horizontalmenu.xml

infochannel.xml

1. 1.1. CMS- get_infochannel. DDC. , CMS- 1.1.1.

28 57

SAPID CMS (sapid.sourgeforce.net)

( Read more) 1.1.2. ( Read more) , 1.1.3. , Read more 1.1.4. , 1.5. 1.6. , ( , )

1.7.

: , , CMS- (, ) , QC (, ). inner_menu.xml . DDC CMS- get_tree _CHILDRENOFCURRENT_. get_tree . . . en, ru. , en. , CMS- get_tree . . infochannel.xml, DDC. , infochannel.xml this.this.MORE.value. , , (, ///ID). . DDC . CMS get_searchresults . ( ) . RSS. DDC CMS get_infochannel news. DDC RSS- . . DDC , . . 10.5.8. defaultmenu.xml

menu.xml

news.xml

search.xml

show_rss.xml

survey.xml

topmenu.xml

29 57

SAPID CMS (sapid.sourgeforce.net)

10.5.4 DDC

DDC infocahnnel.xml . - , DDC . DDC infocahnnel, DDC. :

_CHANNEL(news)_ _BASEURL(en/samples/news/)_ _LIMIT(0,5)_ _ORDER(INDEX,TITLE,ASC)_

10.5.5 CMS-

DDC CMS CMS (CMS). SAPID PHP, CMS SAPID PHP. CMS , . , CMS- get_tree('', '_LEVELRANGE(1-1)_'). array(0 => array("counter" => 1, "TITLE" => "Current title", ..), ..)

(. 10.5.6).

10.5.6 CMS get_infochannel() : : , ,

: ( [string __])

30 57

SAPID CMS (sapid.sourgeforce.net)

, :

_ALLITEMS_ - _LIMIT(A,B)_ - . A , B . , _LIMIT(0,20)_ _CHANNEL(_)_ - _BASEURL(_)_ - _ORDER(RANDOM)_ - _ORDER(DATEC,ASC)_ - _ORDER(DATEC,DESC)_ - _ORDER(INDEX,NAME,ASC)_ - NAME. (QC) index=yes. . 10.5.3 _ORDER(INDEX,NAME,DESC)_ - NAME . (QC) index=yes. . 10.5.3 _WHERE() . _WHERE_ . , _WHERE( this.this.BOOK_TITLE.value like A%)_

: this.this.value.leght this.this.ID.value ID this.this.DATE_CREATE.value DATETIME

this.this.MORE.value (///ID) this.this.TO_SELECT.value ( , ) this.this.ounter.value this.this..value QC. . 10.5.6). (,

this.navigation.next this.navigation.next.style.display none this.navigation.next.href -

this.navigation.previous this.navigation.previous.style.display - none this.navigation.previous.href -

31 57

SAPID CMS (sapid.sourgeforce.net)

get_tree()

:

: ( [int URI_ _ __]) , : _ALLITEMS_

,

string

__CHILDRENOFCURRENT_ - _INDENTIONSTR() , . _LEVELRANGE(_-_) _GETCONTENT_ - , _ORDER(RANDOM)_ - _ORDER(NAME,ASC)_ - _ORDER(NAME,DESC)_ - _ORDER(DATEC,ASC)_ - _ORDER(DATEC,DESC)_ -

: this.this.value.leght this.this.ounter.value this.this. spacer.value this.this.ID.value ID this.this.VAR.value this.this.OWNER.value this.this.GROUP.value this.this.PERMISSIONS.value this.this.LEVEL.value this.this.TITLE.value this.this.TEMPLATE.value , this.this.CHILDREN.value this.this.LEVEL5.value *5 ( HTML- style)

this.this.spacer.value this.this.PATH.value this.this.VAR_PARENT.value

32 57

SAPID CMS (sapid.sourgeforce.net)

this.this.in_route.value 1 (TRUE) this.this.HREF.value get_infochannelfilter() : DDC , . : ( string __ ) __ : year, month, day : this.this.value.leght this.this.ounter.value this.this.title.value this.this.HREF.value get_track() : : this.this.value.leght this.this.ounter.value this.this.title.value this.this.href.value get_survey() : : this.this.value.leght this.this.ounter.value this.this.LENGHT_ {n}.value this.this. {n}.value this.this.PER_ {n}.value {n} get_calendar() : : this.this.value.leght this.this.ounter.value get_rss() : RSS- : this.this.value.leght this.this.ounter.value

33 57

SAPID CMS (sapid.sourgeforce.net)

this.this.PUBDATE.value this.this. TITLE.value this.this.DESCRIPTION.value - this.this.LINK.value get_gb_records() : : this.this.IP.value IP-, this.this.ID.value ID this.this.DATE_CREATE.value DATETIME

this.this.NAME.value this.this.EMAIL.value email this.this.MESSAGE.value this.this.AUTHOR.value HTML this.this.COUNTER.value get_searchresults() : : this.this.TITLE.value this.this.HREF.value this.this.MATCHES.value this.this. RELEVANCY.value (0-100)

this.this.COUNTER.value this.this.DATE_CREATE.value DATETIME

10.5.7

SAPID . CMS- $tree->map , sapi_vdb ( , ), . CMS- $tree->map Array( [1] => Array ( [ID] => 1 [POINTER] => ['root']['en'] [HREF] => /en/

34 57

SAPID CMS (sapid.sourgeforce.net)

)

[VAR] => en [OWNER] => root [GROUP] => wheel [PERMISSIONS] => 777 [LEVEL] => 1 [TITLE] => English [TEMPLATE] => main.tpl ), ..

ID , XML- /usr/xml/content/. $filename=$GLOBALS["root_path"] . "usr/xml/vdb/".$CHANNEL.".xml"; if (!isset($db)) $db = new sapi_vdb($filename); $stream=$db->get_data();

$CHANNEL :

$filename=$GLOBALS["root_path"] . "usr/xml/vdb/".$CHANNEL.".xml"; $db = new sapi_vdb($filename); $data["row"]["text"]=$_POST["news_text"]; $data["row"]["title"]=$_POST["news_title"]; $data["post_action"]="ADDNEWIPROW"; $result=$db->save_data_row(false, $data, false);

10.5.8 CMS

, XML Sapiens, , DDC . DDC ? . . . , . DDC . , POST , . POST CMS-, . , - POST. 35 57 SAPID CMS (sapid.sourgeforce.net)

data_file, SAPID POST. usr/xml/vdb/. :

, . post_action POST. post_action : ADDROW - CHANGEROW - ADDNEWIPROW - , IP ADDNEWCOOKIESROW - , COOKIES :

. , POST row . result row[result] : 1 2

, , POST . CMS-, . CMS- get_survey. , ,

36 57

SAPID CMS (sapid.sourgeforce.net)

XML-. get_data sapi_vdb. $filename=$GLOBALS["root_path"] . "usr/xml/vdb/". $_POST["data_file"]; if (!isset($db)) $db = new sapi_vdb($filename); $objdata = db->get_data();

, , get_xml, . :foreach($objdata as $fetch) { $stream["0"]["RESULT".$fetch["RESULT"]]++; }

CMS- RESULTn, n - . DDC:

. ?, , DDC ( $_SESSION["user_session"] ["login"]!=false ) , 10.5.9

SAPID. /trace/ (http://mysite.com/about/trace/). . + . , .

37 57

SAPID CMS (sapid.sourgeforce.net)

7.

11 XML Sapiens

11.1 (QC)

, , CMS. XML Sapiens QC.

QC

type title index

yes, , . SAPID CMS (sapid.sourgeforce.net)

38 57

. accessarea global , edit , . : resize=width*height . : iconsize =width*height (, select)

resize

iconsize

src

SAPID QC:

string publication image file checkbox date

. (WYSIWYG). True/False (PHP- PHP_DATEFORMAT)

select

:

11.2 (SDC)

. , . : 39 57 SAPID CMS (sapid.sourgeforce.net)

html

11.3 (DDC)

, . . : Max Baryshnikov [email protected] www.redgraphic.com Vertical menu with subitems. CMS SAPID. eq(this.this.currentpage.value,1)
neq(this.this.currentpage.value,1)

40 57

SAPID CMS (sapid.sourgeforce.net)

11.4 XML Sapiens

XML Sapiens. XML XEXPR (http://www.w3.org/TR/2000/NOTE-xexpr-20001121/). . (0 1), FALSE () TRUE (). XML Sapiens lt(A, B, C) (), leq(A, B, C) ( ), geq(A, B, C) ( ), eq(A, B, C) == (), neq(A, B, C) != ( ), gt(A, B, C) (). A B C , . , and(A, B, C) AND () or(A, B, C) OR (). add(A, B, C) + ( ), subtract(A, B, C) - ( ), multiply(A, B, C) * ( ), divide(A, B, C) ( ). XML Sapiens CMS. :

EXP SAPI:WHEN, SELECT SAPI:FOR-EACH, EXP SAPI:APPLY SAPI:%Attrib HTML . XML Sapiens ( SAPI:CODE)

41 57

SAPID CMS (sapid.sourgeforce.net)

11.5 XML Sapiens

lt(A, B, C) leq(A, B, C) geq(A, B, C) eq(A, B, C) neq(A, B, C) gt(A, B, C) and(A, B, C) or(A, B, C) add(A, B, C) subtract(A, B, C) multiply (A, B, C) divide (A, B, C)

TRUE A < B < C TRUE A C TRUE A = B = C TRUE A != B != C TRUE A > B > C AND OR

: operand(A, B, C) 2 10

11.6 XML Sapiens

XML Sapiens . CMS. SAPI:APPLY SAPI:%Attrib. . :

42 57

SAPID CMS (sapid.sourgeforce.net)

link

11.7 DDC

DDC, , DDC, DDC. DDC : Value of param 1 Value of param 2

DDC DDC this.param.pvar1.value this.param.pvar2.value11.8 DDC

CMS DDC, DDC , DDC . , , DDC. SAPI:APPLY. DDC : ... ...

12 SAPID12.1

SAPID MVC-, XML Sapiens. index.php SAPID (/mvc/controller/). ,

43 57

SAPID CMS (sapid.sourgeforce.net)

($_SERVER["REQUEST_URI"]) /mvc/model/document_identification.inc.php . . , ( , ..). XML Sapiens (/kernel/ kernel.lib.php). XML Sapiens. DDC CMS (/usr/extensions/). .Browser

ControllerEnvironment

View XSLXML Sapiens processor

Structure Template

ModelXML Sapiens declarations CMS API

8. MVC- SAPID

12.2

12.2.1 $http_path $root_path $FEEDBACK_EMAIL $default_charset $default_language HTTP- Email FEEDBACK

12.2.2

$env. XML Sapiens

44 57

SAPID CMS (sapid.sourgeforce.net)

. CMS $this->env XML Sapiens &_; $env [http_path] $env [area51] : 0- , 1- ( ), 2- ( ) DDC -// {n} QC.TITLE.VALUE DATETIME QC.CONTENT.VALUE

$env [obj_cache] $env [default_charset] $env [default_language] $env [argv_string] $env [noslash_argv_string] $env [last_argv] $env [argv.{n}] $env [document.id] $env [document.title] $env [document.template] $env [document.variable] $env [document.level] $env [document.datetime] $env [page.CONTENT] $env [page.pRead] $env [page.pWrite] $env [page.pCreate] $env [user.LOGIN] $env [user.GROUP] $env [user.aStatus] $env [argv][_] $env [argv_nav][_] $env [len_argv_nav] $env [argv_virtual.year] $env [argv_virtual.month] $env [argv_virtual.day] $env [argv_virtual.id]

45 57

SAPID CMS (sapid.sourgeforce.net)

12.3

/usr/xml/tree.xml. (/mvc/controller/build_tree.inc.php) $tree12.4

xml /usr/xml/content/. (/mvc/model/document_identification.inc.php) $page : $env["page._QC"] = QC 12.5 /

etcrc.conf.php startup.inc.php case.inc.php interface users.inc.php ddc.inc.php stats.inc.php graph.php structure.inc.php templates.inc.php user_functions.inc.php rc.d debug.inc.php CMS- ()

kernelkernel.lib.php vdb.lib.php tree.lib.php API XML Sapiens API API

46 57

SAPID CMS (sapid.sourgeforce.net)

dal files.lib.php

langen.inc.php ru.inc.php

log2005.06.12.log -

mvccontroller authorization_analysis.inc.php build_tree.inc.php getmethod_analysis.inc.php postmethod_analysis.inc.php GET- POST-. Email, . : CMS- get_infochannel (usr/extentions/get_infochannel.inc.php) , , document.url , , CMS

requesturi_analysis.inc.php

user_requests_analysis.inc.php

model document_identification.inc.php view functions.inc.php , $page

usrdump extensions system cache communicator images js mozile startup.js.php WYSIWYG Gecko Jscript SAPID. XML Sapiens CMS- ()

47 57

SAPID CMS (sapid.sourgeforce.net)

WYSIWYG 404.js.php tree.js.php utf insert_file.php insert_image.php editor.php edit.php sapi_expressions.inc.php checknewversion.inc.php common_extfunctions.inc.php counter.inc.php default.css edit_template.inc.php find.html html2xhtml.js image_resize.inc.php insert_link.php light.css metapanel.inc.php plotter.php preview.php remind.php seo_analizer.php tree.php templates files images themes xml content . ID ( ) . XML-, QC 404 Jscript/DOM . UTF ( , PHP ICONV) WYSIWYG WYSIWYG WYSIWYG- HTML WYSIWYG- XML Sapiens CMS CMS- () CSS WYSIWYG Ctrl-F HTML ( DesignMode=On) xHTML ( ) WYSIWYG CSS UML- DDC -// CMS SEO () SWF

48 57

SAPID CMS (sapid.sourgeforce.net)

ddc sdc vdb

DDC () SDC ( ) . (allcomments_index.xml), ( release.xml), (guestbook.xml). , (, news.xml) (, news) popup

tree.xml users.xml install.php index.php preview_image.php showstats.php

12.6

() SAPID ( , , ). DDC (, infocahnnel.xml), CMS- infochannel.inc.php. DDC , . DDC . CMS- ( DDC DDC) , . CMS- CMS- _CHANNEL()_. , /usr/xml/vdb/.xml. /usr/xml/vdb//. (QC) , QC index=yes.12.7

. d($variable) HTML send_mail($mail_to, $mail_from, $subject, $message, $charset). 49 57 SAPID CMS (sapid.sourgeforce.net)

13 SAPID, http://en.sapid-club.com/ SAPID, http://ru.sapid-club.com/ CMS SAPID http://sourceforge.net/projects/sapid/ http://sourceforge.net/tracker/?atid=680099&group_id=118100&func=browse http://sourceforge.net/tracker/?atid=680100&group_id=118100&func=browse http://sourceforge.net/tracker/?atid=680101&group_id=118100&func=browse http://sourceforge.net/tracker/?atid=680102&group_id=118100&func=browse http://sourceforge.net/docman/?group_id=118100 http://lists.sourceforge.net/lists/listinfo/sapid-community

XML Sapiens Work Gallery (http://xmlsapiens.org/lib/)13.1 - SAPID

, . SAPID. . SAPID. . /, , ( ) . , . , .

50 57

SAPID CMS (sapid.sourgeforce.net)

14 open source, , - CMS ? CMS . CMS: ! . , ? - , . SAPID . , , CMS SAPID. ? . 1.1.1 SAPID . , http://_/migrator.php . (1/11/111/). , , . SAPID (Louis Rosenfeld ), . . , . Template settings . ? . , , . , HTML :

. Edit template configuration . , HTML . . . , : 1) 2) , Migrate! 51 57 SAPID CMS (sapid.sourgeforce.net)

9.

10.

52 57

SAPID CMS (sapid.sourgeforce.net)

: Add-on migrator.tar.gz (https://sourceforge.net/project/showfiles.php? group_id=118100&package_id=154910)

15 , http://_/convertor.php. : HTML- HTML-, PHP-, XML- HTM2CHM (http://www.handyarchive.com/free/htm2chm/) Windows Help.

: Add-on convertor.tar.gz (https://sourceforge.net/project/showfiles.php? group_id=118100&package_id=154910)

16 , - . RSS. SAPID (DDC), : show_rss RSS get_rss RSS DDC show_rss CMS get_news() news.xml: get_news('news.xml') RSS. DDC get_rss CMS get_rss(), RSS- .

53 57

SAPID CMS (sapid.sourgeforce.net)

RSS- , . 17

(SEO) . , SAPID. , HTML TITLE. TITLE , . . -, (TITLE) - . -:

. : Search Engine Watch - Tips About Internet Search Engines & Search Engine Submission Pandia.com - the latest search engine news Search Engine Marketing 101 - an optimization and promotion tutorial Search Engine Showdown - The Users' Guide to Web Searching SearchEngines.com - Search Engine Resource Center Search Engine World SearchUtilities - All about search engines, web promotion WebPosition Gold Page Critic Help Internet Business Promoter - keyword density analyzer , the search engine submission software tool and the search engine ranking reporter. Search Engine Marketing Guide Clickz.com - Search Engine Marketing Articles And Reviews Win the Search Engine Game Search Engines Search - search for search engines Web Search - Search Engines, Directories and Finding Information on the Web Free search engine articles on search engine marketing Keyword Resources The Free Search Engine Academy The Marketleap Report Web Site Positioning Resource Center Web Marketing Information Center Articles of Internet Marketing

54 57

SAPID CMS (sapid.sourgeforce.net)

WordSpot - detailed review of products, services, tips and techniques that relate to how keywords and search terms are used for marketing. Internet Search Engine Database

: www.promo.by

11.

17.1 SEO

- , - SEO. SEO . -, , . , , .

18

, ,

55 57

SAPID CMS (sapid.sourgeforce.net)

, (area51) QC ( ) , ()

SDC ( , ) DDC ( , ) CMS- . DDC PHP ( usr/extensions/), DDC . . CMS- , , . . .

,

, , - , QC, DDC, SDC HTTP- DATA.

19 [1] T. Bray, et al, Extensible Markup Language (XML), W3C Proposed Recommendation 10-February-1998, REC-xml-19980210, February 10, 1998, http://www.w3.org/TR/REC-xml. [2] XML Sapiens 1.1 SE specification, http://xmlsapiens.org/spec/, 2004. [3] SAPID CMS Project, http://sapid.sourceforge.net, 2004 [4] SAPID-CLUB Forum, http://en.sapid-club.com [5] B. Bos, H. W. Lie, C. Lilley, I. Jacobs, Cascading Style Sheets, level 2, CSS2

56 57

SAPID CMS (sapid.sourgeforce.net)

Specification. W3C Recommendation 12-May-1998, http://www.w3.org/TR/RECCSS2/. [6] J. Clark and S. Deach, eds, Extensible Style Language (XSL), W3C Proposed Recommendation, 12 January 2000. http://www.w3.org/TR/xsl. [7] J. Clark, XSL Transformations (XSLT), W3C Recommendation 16 November 1999, http://www.w3.org/TR/xslt. [8] XML Sapiens PHP Processor 1.0, http://sapiprocessor.sourceforge.net/, 2005 [9] Metatorial Inc. Concepts, http://metatorial.com/conceptarchive.asp [10] Publications of Gerry McGovern, http://www.gerrymcgovern.com/publications.htm [11] CMSWath.com, http://cmswatch.com

57 57

SAPID CMS (sapid.sourgeforce.net)