1.phpè¯è¨ç¨ä»ä¹è½¯ä»¶åï¼
phpè¯è¨ç¨ä»ä¹è½¯ä»¶åï¼
phpå¼å软件æåªäºï¼
常è§çPHPå¼åå·¥å ·æä¸ä¸å ç§:
ZendStudio(åä¸çï¼Zendå®æ¹åºåï¼åºäºeclipse)ï¼EclipsewithPDT(å è´¹)ï¼Coda(åä¸çï¼é对Macç¨æ·)ï¼NetBeans(å è´¹)ï¼PHPStorm(åä¸ç)ï¼AptanaStudio(å è´¹)ï¼PhpEd(åä¸ç)ï¼KomodoIDE(åä¸ç)ï¼KomodoEdit(å è´¹)ï¼AdobeDreamweaver(åä¸ç)
æåªäºPHPå¼åå·¥å ·ï¼1ãPHPå¼åå·¥å ·ââPutty
Puttyæ¯ä¸æ¬¾TelnetãSSHã纯TCPå串å£è¿æ¥ç软件ãPuttyæ¯å¼æºè½¯ä»¶ï¼ä¸»è¦ç±SimonTathamç»´æ¤ï¼å¹¶ç±MITææãPuttyæ¯windowsxä¸çä¸ä¸ªå è´¹çTelnetãSSHårlogin客æ·ç«¯ï¼ä½å®çåè½ä¸åä¸Telnetå·¥å ·ä¸æ ·å¼ºå¤§ã
2ãPHPå¼åå·¥å ·ââFileZilla
FileZillaæ¯ä¸ä¸ªå è´¹çå¼æºFTP软件ï¼æ客æ·ç«¯åæå¡å¨çæ¬ãFTPè½¯ä»¶å ·æè¯å¥½çç»ç»æ§å¶è½å
3ãPHPå¼åå·¥å ·ââSublimeText
SublimeTextæ¯ä¸ç§ä»£ç ç¼è¾å¨ï¼æ¯ä¸ç§é«çº§çHTMLåæ£æææ¬ç¼è¾å¨ãSublimeTextæ¯ç±ç¨åºåJonSkinnerå¨å¹´1æå¼åçãå®æåè¢«è®¾è®¡ä¸ºå ·æ丰å¯æ©å±æ§çVIMã
SublimeTextå ·ææ¼äº®çç¨æ·çé¢å强大çç¹æ§ï¼å¦ä»£ç 缩ç¥å¾ãPythonæ件ã代ç ç段çãæ¨è¿å¯ä»¥èªå®ä¹é®ç»å®ãèååå·¥å ·æ ãSublimetextç主è¦ç¹æ§å æ¬:æ¼åæ£æ¥ã书ç¾ãå ¨PythonAPIã转å°åè½ãå®æ¶é¡¹ç®åæ¢ãå¤éæ©ãå¤çªå£ççãSublimeTextæ¯ä¸ç§è·¨å¹³å°ç¼è¾å¨ï¼æ¯æWindowsãLinuxåå ¶ä»æä½ç³»ç»ã
PythonAPIãgotoå½æ°ãå®æ¶é¡¹ç®åæ¢ãå¤éãå¤çªå£çãSublimetextæ¯ä¸ä¸ªè·¨å¹³å°çç¼è¾å¨ï¼æ¯æwindowsãLinuxåå ¶ä»æä½ç³»ç»ã
æ¬ç¯ãéååå¦è çPHPå¼åå·¥å ·æåªäº?网网站w源码1688è¿äºå©å¨ææ¯ä½ æéè¦çãå°è¿é就已ç»ç»æäºï¼å°ç¼ä¸ç´è®¤ä¸ºï¼æä¸ä¸ªç¼ç¨è½¯ä»¶å欢è¿æ¯æä¸å®åå çï¼é¦å å¸å¼äººçä¸å®æ¯å ¶åè½ï¼ç¯çç½æ ¡çå°ç¼ç¥æ¨PHPå¦ä¹ ä¹è·¯é¡ºå©ï¼å¦æä½ è¿æ³ç¥éæ´å¤phpç¥è¯ï¼å¯ä»¥ç¹å»æ¬ç«çå ¶ä»æç« è¿è¡å¦ä¹ ã
PHPå¼åé常使ç¨ä»ä¹å·¥å ·ï¼
AdobeDreamweaverãEditPlusãZendStudioé½æ¯å¾å¥½çå·¥å ·ãè½»é级ç¨EditPlusï¼åéå端设计ç¨Dreamweaverï¼åéç¨åºå¼åç¨ZendStudioå§ï¼
éæå¼åç¯å¢æ¯ä¸ç§éæäºè½¯ä»¶å¼åè¿ç¨ä¸æé主è¦å·¥å ·çéæå¼åç¯å¢ï¼å ¶åè½å æ¬ä½ä¸ä» éäºä»£ç é«äº®ã代ç è¡¥å ¨ãè°è¯ãæ建ãçæ¬æ§å¶çãä¸äºå¸¸è§çPHPIDEså¦ä¸ï¼
ZendStudioï¼åä¸çï¼Zendå®æ¹åºåï¼åºäºeclipse
EclipsewithPDTï¼å è´¹
Codaï¼åä¸çï¼é对Macç¨æ·
NetBeansï¼å è´¹ï¼åè½å¼ºå¤§
PHPStormï¼åä¸ç
AptanaStudioï¼å è´¹
PhpEdï¼åä¸ç
KomodoIDE/Editï¼IDE为åä¸çï¼Editå¯å 费使ç¨
AdobeDreamweaverï¼åä¸ç
é¤å»éæå¼åç¯å¢ï¼å ·å¤ä»£ç é«äº®åè½ç常è§ææ¬ç¼è¾å¨å å ¶è½»å·§çµæ´»ä¹å¸¸è¢«éä½å¼åå·¥å ·ï¼ä¾å¦ï¼Notepad++ãEditplusãSublimeTextãEvereditï¼å½äººå¼åï¼ççã(æ¥èªç¾åº¦ç¾ç§)
常ç¨çphpå¼åå·¥å ·æåªäºï¼ä¸ãEditPlus
EditPlusåè½å¼ºå¤§ï¼å¯ä»¥ä»£æ¿è®°äºæ¬çæåç¼è¾å¨ï¼æ¥ææ éçUndo/Redoãè±ææ¼åæ£æ¥ãèªå¨æ¢è¡ãåæ°æ è®°ãæ寻å代ãåæ¶ç¼è¾å¤æ件ãå ¨å±å¹æµè§åè½ã对äºå¾å¤çPHPç¨åºæ¥è¯´ï¼EditPlusç®å好ç¨ãåæ¶EditPlusä¹æ¯ä¸æ¬¾å¥½ç¨çHTMLç¼è¾å¨ï¼é¤äºé¢è²æ è®°HTMLTag(åæ¶æ¯æC/C++ãPerlãJava)å¤ï¼è¿æ建设å®æ´çHTMLåCSS1æ令åè½ï¼å¯¹äºä¹ æ¯ç¨è®°äºæ¬ç¼è¾ç½é¡µçæåï¼å®å¯å¸®ä½ èçä¸å以ä¸çç½é¡µå¶ä½æ¶é´ã
äºãPHPDesigner7
PHPDesigner7ä¸ä» éç¨äºphpå¼åï¼ä¹æ¯æå ¶ä»ç¼ç¨è¯è¨ï¼ä¾å¦ï¼ãxãxmlãcssåjavascriptãvbscriptãjavaãc#ãperlãpythonç!PHPDesigner7主è¦é对PHPç½é¡µçç¼åæ设计çç¨åºï¼å®å 建ä¸ç³»åçæ令ç ãPHP4åå§ç æ°æ®åºãè¯æ³é«äº®åº¦æ¾ç¤ºåè½ãFTP客æ·ç«¯çï¼æ 论æ¨æ¯PHPç½é¡µè®¾è®¡é«æï¼æè æ¯åå ¥é¨çæ°æï¼æ¨é½å¯ä»¥ä½¿ç¨PHPDesigner7æ¥è®¾è®¡ç½é¡µç¨åºã
ä¸ãNorepad++
Notepad++æ¯ä¸æ¬¾å°æ¹¾äººå¼åçä¸æ¬¾é常æç¹è²çç¼è¾å¨ï¼å±äºå¼æºè½¯ä»¶ï¼æ¯æCãC++ãJavaãC#ãXMLãHTMLãPHPãJavascriptç¼ç¨è¯è¨ï¼èä¸å¯ä»¥å 费使ç¨ã
主è¦åè½æï¼
1ãå ç½®æ¯æå¤è¾¾ç§è¯æ³é«äº®åº¦æ¾ç¤º(åæ¬åç§å¸¸è§çæºä»£ç ãèæ¬ï¼å¼å¾ä¸æçæ¯ï¼å®ç¾æ¯æ.nfoæ件æ¥ç)ï¼ä¹æ¯æèªå®ä¹è¯è¨;
2ãå¯èªå¨æ£æµæ件类åï¼æ ¹æ®å ³é®åæ¾ç¤ºèç¹ï¼èç¹å¯èªç±æå /æå¼ï¼ä»£ç æ¾ç¤ºå¾é常æå±æ¬¡æ!è¿æ¯æ¤è½¯ä»¶ç¹è²çä½ç°ä¹ä¸;
3ãå¯æå¼åçªå£ï¼å¨åçªå£ä¸åå¯æå¼å¤ä¸ªåçªå£ï¼å 许快æ·åæ¢å ¨å±æ¾ç¤ºæ¨¡å¼(F)ï¼æ¯æé¼ æ æ»è½®æ¹åææ¡£æ¾ç¤ºæ¯ä¾ççã
åãPHPCoder
PHPCoderç¨äºå¿«éå¼ååè°è¯PHPåºç¨ç¨åºï¼å®å¾å®¹ææ©å±åå®å¶ï¼å®å ¨è½å¤ç¬¦åPHPå¼åè ç个æ§è¦æ±ä¸»è¦åè½ä¸ºï¼
1.ç»åäºPHPç¼è¯å¨ååèææ¡£ï¼å¯ä»¥å¯¹ç¼è¾ä¸çPHPèæ¬è¿è¡å³æ¶é¢è§;
2.æ¯æé«äº®æ¾ç¤ºHTMLåPHP代ç ;
3.èªå¨å®æåè½ï¼å¯ä»¥èªå¨å®æç¨æ·èªå®ä¹ä»£ç çæã
äºãZendStudio
ZendStudioæ¯ä¸ä¸å¼å人åå¨ä½¿ç¨PHPæ´ä¸ªå¼åå¨æä¸çéæå¼åç¯å¢(IDE)ï¼å®å æ¬äºPHPææå¿ é¡»çå¼åé¨ä»¶ãéè¿ä¸æ´å¥ç¼è¾ãè°è¯ãåæãä¼ååæ°æ®åºå·¥å ·ï¼ZendStudioå éå¼åå¨æï¼å¹¶ç®åå¤æçåºç¨æ¹æ¡ã
ZendStudio主è¦ç»ä»¶ï¼
1ãä¸ä¸çéæå¼åç¯å¢å ç½®ç¼è¾å¨,è°è¯å¨,以å帮å©ææ¡£
2ãWindows,Linux,Macçå¤ä¸ªæä½ç³»ç»çæ¬
3ãå¤è¯è¨æ¯æ
4ãä¸ä¸çç¼è¾å¨
5ãå ³é®åãè¯æ³å 亮æ¾ç¤º(PHP,HTML,XHTML,andJavaScript)
PHPéè¦ç¨å°ä»ä¹è½¯ä»¶PHPéæå¼åç¯å¢ï¼æZendStudioãEclipseforPHPãPhpStormçã
1ãZendStudio
ZendStudioæ¯ZendTechnologieså ¬å¸å¼åçPHPè¯è¨éæå¼åç¯å¢(IDE)ãé¤äºæ强大çPHPå¼åæ¯æå¤ä¹æ¯æHTMLãjsãCSSï¼ä½åªå¯¹PHPè¯è¨æä¾è°è¯æ¯æã
2ãEclipsePHPStudio
EclipsePHPæ¯ä¸ä¸ªå¤§åPHP项ç®å¼åç¼è¯å¨ï¼åºäºEclipseåºå±å¼åèæ¥ï¼å¹¶ä¸éæäºJDKï¼å é¤äºå®è£ é ç½®ç麻ç¦ï¼ä¸æ¬¡å®è£ å³å¯ä½¿ç¨ï¼æ éé ç½®ã
æ¤ç¼è¯å¨ä¸ºPHPç¼è¯å¨ï¼è¾ å©PHP代ç çå¼ååè°è¯ï¼éæäºä»£ç é«äº®ï¼å½æ°è·è¸ªï¼å®æ¶çº éçåè½ãåæ¶è¿å¢å äºåä½å¼åçæ¬æå¡å¨åè½ï¼SVNãCVSãå åµæµè§å¨å¯ä»¥å¨è°è¯ç®å代ç å®æ¶æµè§ã
3ãPhpStorm
PhpStorm?æ¯?JetBrains?å ¬å¸å¼åçä¸æ¬¾åä¸çPHPéæå¼åå·¥å ·ï¼æ¨å¨æé«ç¨æ·æçï¼å¯æ·±å»ç解ç¨æ·çç¼ç ï¼æä¾æºè½ä»£ç è¡¥å ¨ï¼å¿«é导èªä»¥åå³æ¶é误æ£æ¥ã
æ©å±èµæ
phpçç¹ç¹
ä¸ãå¼æºæ§åå è´¹æ§
ç±äºPHPç解éå¨çæºä»£ç æ¯å ¬å¼çï¼æ以å®å ¨ç³»æ°è¾é«çç½ç«å¯ä»¥èªå·±æ´æ¹PHPç解éç¨åºãå¦å¤ï¼PHPè¿è¡ç¯å¢ç使ç¨ä¹æ¯å è´¹çã
äºãå¿«æ·æ§
PHPæ¯ä¸ç§é常容æå¦ä¹ å使ç¨çä¸é¨è¯è¨ï¼å®çè¯æ³ç¹ç¹ç±»ä¼¼äºCè¯è¨ï¼ä½å没æCè¯è¨å¤æçå°åæä½ï¼èä¸åå å ¥äºé¢å对象çæ¦å¿µï¼åå ä¸å®å ·æç®æ´çè¯æ³è§åï¼ä½¿å¾å®æä½ç¼è¾é常ç®åï¼å®ç¨æ§å¾å¼ºã
ä¸ãæ°æ®åºè¿æ¥ç广æ³æ§
PHPå¯ä»¥ä¸å¾å¤ä¸»æµçæ°æ®åºå»ºç«èµ·è¿æ¥ï¼å¦MySQLãODBCãOracleçï¼PHPæ¯å©ç¨ç¼è¯çä¸åå½æ°ä¸è¿äºæ°æ®åºå»ºç«èµ·è¿æ¥çï¼PHPLIBå°±æ¯å¸¸ç¨ç为ä¸è¬äºå¡æä¾çåºåºã
åãé¢åè¿ç¨åé¢å对象并ç¨
å¨PHPè¯è¨ç使ç¨ä¸ï¼å¯ä»¥åå«ä½¿ç¨é¢åè¿ç¨åé¢å对象ï¼èä¸å¯ä»¥å°PHPé¢åè¿ç¨åé¢å对象两è ä¸èµ·æ··ç¨ï¼è¿æ¯å ¶å®å¾å¤ç¼ç¨è¯è¨æ¯åä¸å°çã
åPHPå¼åä¸è¬é½ç¨ä»ä¹è½¯ä»¶?订é
ä½ä¸ºç¨åºåçä½ ï¼å¸¸ç¨ç软件æåªäºï¼ç°å¨çå ¬å¸ï¼å¨æèç¨åºåæ¶ï¼å¯¹ç¨åºåçè¦æ±ç¹å«é«ââæ¨ä¸å¾è¿ä¸ªç¨åºåä»ä¹é½ä¼ã为äºè½å¤åºèä¸ä¸ä¸ªå¥½çèä½ï¼æ们就è¦ææ¡é常å¤çç¼ç¨ææ¯ãæå°±æ¾ç»å¦ä¹ äºå¥½å¤ç¼ç¨æ¹é¢çä¸è¥¿ï¼å¦ï¼PHPãC++ãCSSãHTMLãJSãVueãå®åå¼åã微信å°ç¨åºççï¼å¨å¼åçæ¶åï¼æä¼ä½¿ç¨å°å¾å¤ç软件ã
ä¸ãsublimetextã
sublimeæ¯æå¼åPHPç¨åºæ¶ï¼æå欢ç¨çç¼ç¨è½¯ä»¶ãå®é常çå°å·§ï¼ä½åè½å´é常ç强大ãæ们å¯ä»¥ç»sublimeå®è£ é常好ç¨çæ件ï¼æ¯å¦ï¼emmetæ件ï¼å®è£ 好emmetæ件åï¼æ们çç¼å代ç çé度å¯ä»¥å¤§å¯æåï¼åªéè¦è¾å ¥html:5ï¼å°±ä¼æ¾ç¤ºhtml5ç½é¡µç主è¦æ ç¾ä»£ç ï¼å¦ä¸å¾ï¼ã
äºãwampserverã
å¼åPHPç¨åºæ¶ï¼æ们ä¸è¬é½ä¼å¨æ¬å°çµèä¸å®è£ ä¸ä¸ªPHPçç¯å¢ï¼ç¶åï¼åå¨è¿ä¸ªPHPç¯å¢ä¸å¼åPHPç¨åºï¼è¿æ ·ç好å¤ï¼å¯ä»¥éæ¶ç¼åç¨åºï¼éæ¶åå°å¾å¥½çæµè¯ãå¨windowsçµèä¸ï¼PHPç¯å¢ç软件è¿æ¯å¾å¤çï¼æé常使ç¨çæ¯wampserverè¿ä¸ªPHPéæç¯å¢è½¯ä»¶ãwampserverè¿ä¸ªè½¯ä»¶ï¼éæäºPHPãapacheæå¡å¨ãmysqlæ°æ®åºï¼è¿äºé½æ¯æ们å¼åPHPç¨åºæå¿ é¡»ã
ä¸ãflashfapã
å¨æ们å¼å好PHPç½ç«ç¨åºï¼å¨æ¬å°æµè¯å®æåï¼æ们é½æ¯éè¦æè¿ä¸ªPHPç¨åºä¸ä¼ å°çæ£çç½ç«æå¡å¨ä¸å»çï¼è¿ä¸ªæ¶åï¼æ们就éè¦ä¸ä¸ªä¸ä¼ å·¥å ·ãå¾å¤çç½ç«ï¼æ们é½æ¯ä½¿ç¨çèæ主æºï¼è¿ä¸ªæ¶åï¼æ们就éè¦ç¨å°FTPä¸ä¼ å·¥å ·ï¼æ使ç¨æå¤çFTPä¸ä¼ å·¥å ·å°±æ¯flashfapï¼éè¿å®ï¼æ们å¯ä»¥æPHPç¨åºçæä»¶å ¨é¨ä¼ è¾å°èæ主æºä¸ã
åãxshellã
æçç½ç«æ¯åæ¾å¨ä¸ä¸ªäºæå¡å¨ä¸ï¼èä¸è¿ä¸ªäºæå¡å¨çç³»ç»æ¯linuxç³»ç»ï¼è¦æ³ç®¡çè¿ä¸ªäºæå¡å¨ï¼æ们就è¦åå©ä¸ä¸ªè¿ç¨ç»ç«¯å·¥å ·æ¥è¿è¡è¿æ¥ãææå欢ç¨çè¿ç¨ç»ç«¯å·¥å ·å°±æ¯xshellï¼åªéè¦ç®åç设置ï¼å°±å¯ä»¥æ£å¸¸ä½¿ç¨ãæ们å¨ä½¿ç¨xshellå·¥å ·æ¶ï¼å¯ä»¥ç´æ¥ä½¿ç¨windowsçå¤å¶ãç²è´´çå¿«æ·é®ï¼é常æ¹ä¾¿ã
äºãwordpressã
wordpressæ¯ä¸ä¸ªPHPç½ç«ç¨åºï¼å¯ä»¥éè¿å®ï¼å°±å¯ä»¥å¿«éæ建ä¸ä¸ªPHPç½ç«ãæçç½ç«âç ä¸åè¹âå°±æ¯ç¨è¿ä¸ªwordpressç¨åºæ建çãæ们åªéè¦å¨å®è£ 好wordpressåï¼åå®è£ ä¸ä¸ªå¥½ç¨ç主é¢æ¨¡æ¿ï¼å°±å¯ä»¥è½»æ¾æ¥ææ们èªå·±ç个人ç½ç«äºãwordpressæ¯å ¨ç使ç¨æå¤çç½ç«ç¨åºï¼å°¤å ¶æ¯ä¸ªäººç½ç«ï¼wordpressç»å¯¹æ¯ä»ä»¬çé¦å ã
å ãVMwareèææºã
ç½ç«æå¡å¨çéæ©ä¸ï¼ç»å¤§å¤æ°çç«é¿ä¼éæ©linuxç³»ç»çæå¡å¨ï¼å 为linuxç³»ç»å ç¨èµæºå°ãé度快ãè¿æ ·ä¸æ¥ï¼å°±éè¦æ们çælinuxç³»ç»ï¼èæ们çµèé常é½æ¯å®è£ çwindowsç³»ç»ï¼æä¹å¦ä¹ linuxå¢ï¼å¯ä»¥ç¨èææºåãæ使ç¨çèææºå°±æ¯VMwareï¼æ¯windowsç³»ç»èªå¸¦çèææºå¥½ç¨å¤ï¼å¯ä»¥å¨vmwareèææºéå®è£ windowsãlinuxãmacãdosçå¤ç§ç³»ç»ï¼è¿æ ·ä¸æ¥ï¼æ们就å¯ä»¥å¨windowsç³»ç»ä¸ç´æ¥å¦ä¹ linuxæmacç³»ç»äºã
ä¸ãandroidstudioã
ç°å¨å®åææºå¸åºä»½é¢é常é«ï¼å ¨çæºè½ææºå¸åºä¸å æ¯è¾¾å°%å·¦å³ï¼æ以ï¼å¾å¤å ¬å¸é½å¨æèå®å软件å¼å人åï¼èä¸å·¥èµé½é常é«ãå¨å¦ä¹ å®å软件å¼åçè¿ç¨ä¸ï¼æ使ç¨æå¤çæ¯è°·æå ¬å¸æä¾çandroidstudioï¼è¿æ¬¾å¼åå·¥å ·é常强大ï¼æ们å¯ä»¥ä¸è¾¹ç¼å代ç ï¼ä¸è¾¹æ¥çèæææºä¸çéé æ åµã
å «ãdreamweaverã
å¨PHPç½ç«ç¨åºå¼åè¿ç¨ä¸ï¼ä¸è¬æ åµä¸ï¼æ们è¦å å¼åç½ç«çå端页é¢ï¼ä¹å°±æ¯htmléæ代ç ãè¿ä¸ªæ¶åï¼dreamweaveræä¸ä¸ªé常ä¸éçéæ©ãå¨ç¼åhtml5代ç çæ¶åï¼æ们å¯ä»¥éè¿dreamweaverè½»æ¾æ·»å ç½é¡µå ç´ ï¼å¦ï¼é³ä¹ãè§é¢ãå¾ççï¼é常æ¹ä¾¿ï¼å¯ä»¥å¤§æåç½é¡µå¼åé度ã
以ä¸å°±æ¯æ常ç¨å°ç软件ï¼ä¸ªä¸ªé½æ¯ç»å ¸ï¼ç¸ä¿¡å¾å¤çç¨åºåè·æä¸æ ·ï¼ä¹ä¼ç¨å°å ¶ä¸çå 个ãå½ç¶ï¼ç°å¨ç¼ç¨æ¹é¢ç软件太å¤äºï¼åæåçä¼å¿ï¼éæ©åªä¸ä¸ªï¼è¿æ¯è¦æ ¹æ®èªå·±ç使ç¨ä¹ æ¯æ¥å®ï¼å¨ä¸æç磨åä¸ï¼æ ¢æ ¢æ¾å°æéåèªå·±çé£å 款ã