D7
1-1
. ? ,
2
!
3
!
? 4
-
, / PHP , Codestyle
!5
6
IDE must have7
must have
IDE (Integrated Development Environment) IDE,
8
IDE
, , , , , ,
9
PhpStorm +
PHP /,
10
PhpStorm help PHP , (Ctrl + B)
11
PhpStorm +
12
PhpStorm + , PhpDocumentor
13
PhpStorm + ,
14
Zend Studio
15
Eclipse PDT
16
PhpED
17
NetBeans
18
IDE , / , , -
19
20
echo, die , Xdebug Bitrix Xdebug :
21
breakpoints ( )
22
, watches ..
23
Xdebug , ,
24
()25
, , , VCS , ,
26
27
Bitrix Framework 28
! IDE , ,
29
! linux svn? ;-)IDE vs online help windows, linux, ,
30
IDE. (apache, php-fpm) - IDE (Windows, Linux) -, -31
IDE. (apache, php-fpm) - (Windows, Linux) - IDE (Windows, Linux)ftp, sftp32
IDE. (apache, php-fpm) - (Windows, Linux) IDE (Windows, Linux)ftp, ssh, shared disk33
(apache, php-fpm) - (Windows, Linux) - , api / - IDE (Windows, Linux)ftp, ssh, shared disk IDE. 34
PhpStorm - BitrixStorm
35
36
D7 , /local DVCS : , , DeployNFR-, / 37
, localactivities- components- ;gadgets- modules- php_interface- init.php, user_langtemplates- , ,
38
1 1 2 3 2 3 DEV DEV/TESTING . TESTING PRODUCTION . 1 2 production .39
Wiki , /40
Wiki: redmine, confluence
41
Wiki 42
43
44
45
MediaWikiExcelRedmineTrackConfluence. : 24/ RedmineJira. : 24/TrackTrackStudio , , , , MantisSVNMercurialGitBazaar ZendStudioPhpStormEclipse PDT XdebugXHProfPinba PhpEDNetBeans46
Deploy, Continuous Integration ?/ , , -
47
// HTML$arFields = Array("NAME" => "","ACTIVE" => "Y","SORT" => "600","CODE" => "ITOG","PROPERTY_TYPE" => "S","USER_TYPE" => "HTML,"IBLOCK_ID" => $arParams["IBLOCK_ID"]);$ibp = new CIBlockProperty;$PropID = $ibp->Add($arFields); // $group = new CGroup;$arFields = Array( "ACTIVE" => "Y","C_SORT" => 100,"NAME" => " ","DESCRIPTION" => " ","STRING_ID" => "GROUP_1");$NEW_GROUP_ID = $group->Add($arFields);if ( strlen($group->LAST_ERROR)>0 ) ShowError($group->LAST_ERROR);
?
48
?
49
? , -
50
! ?
[email protected]@AlexSerbul51