Home  >  Article  >  Backend Development  >  The road to learning PHP (1) - using zendframework in zendstudio

The road to learning PHP (1) - using zendframework in zendstudio

WBOY
WBOYOriginal
2016-08-08 09:24:09892browse

After the conversation with my uncle on May 1st, I felt that I had to calm down and do the background work, so during the busiest semester of study, I joined an entrepreneurial team of my classmates and worked as the background with the master. Although it's a bit suicidal, I hope I can persevere until the end. Introduction to various tools first

ZENENNENENENENENENENIO -Version 10.6.2 The IDE

ZEND Framework -Version 2.4.2 of a PHP framework of PHP

xmapp -Version 3.2.1 I am also a novice, so I am not very clear about the concepts of the above three things. I will slowly learn and supplement them in the future.

Without further ado, let’s start recording today’s results: using the zendframework framework in zendstudio

1. Create a new LOCAL PHP PROJECT

2. Copy the library in ZF to ZF in the vendor

3. Modify the project The judgment statement in init_autoloader.php

if (is_dir('vendor/zendframework/library')) {

$zf2Path = __DIR__.'/vendor/zendframework/library';

4. Modify autoload.php under vendor

require_once __DIR__ . 'composer' . 'autoload_real.php';

The directory under windows is " " and under Linux it is /

Then you can start writing php files in public.

Finally, I recommend the ZF2 learning website http://zendframework2.sinaapp.com

Although I don’t understand many of the principles of everything I do currently, and it takes a lot of time to learn, but time is currently tight, so I can only put it aside first. , first learn to use the tools, and then understand the principles of the tools. ! ! !

The above introduces the PHP learning path (1) - using zendframework in zendstudio, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn