Hello Ladies and ladies! Good afternoon everyone, yesterday good friends to Beijing, at night to play DotA in the Internet bar to hit a little more. Five innings and three wins, I said I was very satisfied. Take advantage of the friends to see the diffuse exhibition (said today have Cang Teacher!!!) Time, I give you to introduce us to learn while doing the third phase, development environment and catalog creation.
The development environment here is my personal development environment, small partners can build their own environment according to their actual situation, what do not understand can give me a message, I try to help everyone (already under the Windows,mac and Linux build success).
My operating system is MAC OS X (the machine is the MacBook Pro minimum, can't afford a high match??). ), the previous study of PHP using the windows,windows under the direct download Wamp, the environment is very good to build.
Mac under Php+mysql Environment construction can refer to: http://blog.csdn.net/henry121212/article/details/9210193. Inside this tutorial
Please ignore the MCrypt Extensions section of the configuration PHP.
About the IDE (Integrated development environment, integrated development environment) I chose eclipse for a simple reason: it's free and usable.
Note that Eclipse relies on the JRE (Java Runtime Environment), so you need to install Java before installing Eclipse.
Html,css and JS editor I chose Webstorm (very good IDE)
Of course, the development environment must also have a comfortable 360-degree non-dead-angle Workbench:
OK, here are the highlights, the blog directory:
Admin folder: For storing background pages, including adding articles, message management, etc.
Config folder: Including some configuration files, database connection and so on, when used to be specific.
CSS: folders, our site needs to use bootstrap (responsive front-end development framework), for the art is not very good crossing is very useful
Fonts: Font file
Image: Where the picture is stored
Where the Js:javascript file is stored, we'll use jquery
Ueditor: Rich Text Editor, Baidu then download it yourself
index.php: Home
about_me.php: A blog must introduce its owner.
list.php: List of articles
Article.php: The content of a specific article, according to get over the parameters to display different content
This is the simplest version of the directory, and new content will be added to it later in the introduction.
Some small partners will ask Smarty, Smarty where? Sorry, I did not pass by everyone agreed to move this part, because I think different small partners will choose a different framework, and this time the development of art and background development are our own, do not need smarty. But if there is time, I will add this part at the end (and of course, it is not interesting to everyone).
The next update should be next week (it will continue to update), because the younger brother will be on holiday! Ah haha haha
Learning while doing Php+mysql+smarty+apache personal blog (3): Development environment and Directory creation