刚从win回来,各种不顺手
回复内容:
PhpStorm,最好的,没有之一,你会感谢我的推荐的。话说楼上推荐的 NetBeans 其实很不错,我用了好久,超级顺手,可是后来系统升级 10.9 后 NetBeans 卡shit,后来是在受不了找到 PhpStorm,然后再也回不去了。 泻药,,,
传送门:我的Mac Pro coding环境配置
- 基本开发环境,已经够用了
########安装Homebrew########
# ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
# brew tap phinze/cask
# brew install brew-cask
##########安装iTerm2 + zsh + oh-my-zsh##########
# brew cask install iTerm2 zsh zsh-completions
# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
##########安装launchrocket ##########
# brew tap jimbojsb/launchrocket
# brew cask install launchrocket
# brew unlink xxxxx #关闭brew当前版本,用于安装其他版本
# brew link xxxxx #激活brew当前版本,用户切换其他版本
独立分个区别大小写的开发分区开个与线上环境一样的vagrant
用Intellij IDEA作为大部分语言(Java、PHP、Ruby、Coffee)的IDE
. 如果不是跨平台,不依赖gui的大vim,简直没天理了好不好!
哪个ide能ssh远程到mac还能用!!!
我大vim教众快来点赞,吓死这些异教徒。 我是装了个虚拟机里跑centos7来当开发环境。
IDE用的ZendStudio13,phpstorm实在不习惯。
文本用的notepad佳佳,转编码什么的贼方便。
数据库是sequel pro,因为navi猫实在太卡了。
以上唯一需要付费的就是zs13了,不过我已经把它xx啦哈哈哈哈哈哈会不会有人骂我。 xampp,sublime,firefox ide推荐用phpstorm(收费的,很贵),完爆其他的eclipse,netbean,zend studio
homebrew,包管理工具,谁用谁知道
命令行的用iterm2代替系统原生的(终极 Shell | MacTalk-池建强的随想录),然后切换shell为zsh,并安装oh my zsh
server推荐使用nginx
mysql客户端推荐用navicat(收费的,很贵),支持所有主流数据库。有个开源的叫Sequel Pro(Sequel Pro)也不错,但是只支持mysql
简单的文本编辑推荐sublime text(收费的),开源的推荐Atom(Atom)
版本控制推荐git,只用命令行即可,几乎用不上ide。如果一定要用的话,ide的推荐Sourcetree
文件比较用 beyondcompare,即所谓的bc(收费的)
ftp客户端推荐 file zilla ,还是开源的
记录常用想法的笔记本推荐evernote,国内有有道云笔记
markdown的ide用Mou,前面提到的Atom编辑md也挺赞的
如果做移动H5开发,还需要一个Charles(Charles 从入门到精通(中国5折特惠))
浏览器用chrome
最重要一点,搜索用google 开发环境我用的是Laravel 的Homestead虚拟机,集成开发环境,安装简单你要的都有(不过用的是nginx,不是Apache),还可以自己倒腾,复制,不影响mac本机的配置环境。
IDE的话,推荐phpStorm
文本编辑器,Sublime 我是atom + 命令行


PHP is used to build dynamic websites, and its core functions include: 1. Generate dynamic content and generate web pages in real time by connecting with the database; 2. Process user interaction and form submissions, verify inputs and respond to operations; 3. Manage sessions and user authentication to provide a personalized experience; 4. Optimize performance and follow best practices to improve website efficiency and security.

PHP uses MySQLi and PDO extensions to interact in database operations and server-side logic processing, and processes server-side logic through functions such as session management. 1) Use MySQLi or PDO to connect to the database and execute SQL queries. 2) Handle HTTP requests and user status through session management and other functions. 3) Use transactions to ensure the atomicity of database operations. 4) Prevent SQL injection, use exception handling and closing connections for debugging. 5) Optimize performance through indexing and cache, write highly readable code and perform error handling.

Using preprocessing statements and PDO in PHP can effectively prevent SQL injection attacks. 1) Use PDO to connect to the database and set the error mode. 2) Create preprocessing statements through the prepare method and pass data using placeholders and execute methods. 3) Process query results and ensure the security and performance of the code.

PHP and Python have their own advantages and disadvantages, and the choice depends on project needs and personal preferences. 1.PHP is suitable for rapid development and maintenance of large-scale web applications. 2. Python dominates the field of data science and machine learning.

PHP is widely used in e-commerce, content management systems and API development. 1) E-commerce: used for shopping cart function and payment processing. 2) Content management system: used for dynamic content generation and user management. 3) API development: used for RESTful API development and API security. Through performance optimization and best practices, the efficiency and maintainability of PHP applications are improved.

PHP makes it easy to create interactive web content. 1) Dynamically generate content by embedding HTML and display it in real time based on user input or database data. 2) Process form submission and generate dynamic output to ensure that htmlspecialchars is used to prevent XSS. 3) Use MySQL to create a user registration system, and use password_hash and preprocessing statements to enhance security. Mastering these techniques will improve the efficiency of web development.

PHP and Python each have their own advantages, and choose according to project requirements. 1.PHP is suitable for web development, especially for rapid development and maintenance of websites. 2. Python is suitable for data science, machine learning and artificial intelligence, with concise syntax and suitable for beginners.

PHP is still dynamic and still occupies an important position in the field of modern programming. 1) PHP's simplicity and powerful community support make it widely used in web development; 2) Its flexibility and stability make it outstanding in handling web forms, database operations and file processing; 3) PHP is constantly evolving and optimizing, suitable for beginners and experienced developers.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version
Visual web development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.