Follow Your Heart (---) The first day of learning PHP
Yesterday did not sleep well, and P said, probably because you want to go, I did not sleep well yesterday, he said, certainly not, because of that hot pot, because I also uncomfortable stomach. I laughed. I can't do it, I can't pretend to be a good person: There may be several reasons for not sleeping well, stomach some uncomfortable, today pulled 3 times belly, drank too much tea; Frightened by the idea of being a programmer, certainly there are some sighs of a single state of re-being to be restored ...
I send p to the airport in the morning. I said, I'm going to start practicing behind closed doors. The next time you meet me, you will be seeing a great programmer:) When I learn, I will be a full-time programmer. As I do not have the technology to the body, nothing will be unemployed peasants, now very miserable ah ....
I said, how long do you think I can do Nick's project? How soon can you start doing your own project? How long can go to elance on the rejoined ...:) he only laughed. In fact, I just hope that one day, I really want to have a travel site, not to add a button, all need to ask for help. I do not want to be like now, who has gone, I can not understand what they left me in the end is what.
Of course, when I go to the farm another day, I also hope to make a sales site of their own agricultural products.
Back, very sleepy, want to sleep, but very concerned about a few questions about PHP, opened a few posts to see, a look on to now. The pumpkin pie that was brought back yesterday was hot and ate.
The main is to see a few very concerned PHP framework, database, performance, object-oriented, MVC and other documents, it has a general feeling.
This is the simplest development language I have picked, feel, to grasp the level of their own satisfaction has been 5 years: (
Now, the spirit is really sustenance .... I'm the one who estimates the old-age university.
Sometimes, I think, can easily give up the dream of the person is happy. He who does not know how to give up is calm.
That day, in Sculpture Park met an old too, alone sitting in the side, holding 2 erhu, I said, this is erhu ah? She said, not Jinghu. I said, "Why are you alone?" no company? She said yes. I asked, why not with my friends? She said that she had just learned, pull not good, to practice alone, skilled, and other people, or will affect others, I said you this lira, tickets expensive Ah, because I went in to buy 10 yuan a ticket, I think she would often go to the park to practice piano, but the higher the input, she said she retired, after the 60-year-old person, 50 yuan an annual ticket.
60 The Apprentice ... So, well, I almost got to 60, and I can learn.
Http://www.iteye.com/topic/319039?page=7
1/F JENNYCN 2011-10-17
The world needs dreamers and the world needs doers. But above all and the world needs dreamers. -sarah Ban Breathnach
2/F JENNYCN 2011-10-17
http://koda.iteye.com/blog/866128
3/F JENNYCN 2011-10-17
There is something in the head that I want to do, learning, as if really a lot of surprises, although, also a lot of fear, how long it takes to be like others so have experience, know so many things ah
However, every learning a little new things, feel that they can use the time is very pleasantly surprised
Today, those large pieces of the article, see the better is a previous writing Zend Framework bad person, I put all his blog is roughly browsed, and later also to look at, that person a see is very experienced Phper
Also see the discussion of the PHP framework in this post
And that's the one named Koda.
There are some intuitive concepts for PHP including its pros and cons, and Java,ruby, Python, and more. For some of the sites that you might want to do later, do it with PHP, and have a general sense of what the pros and cons are.
Yesterday, when learning HTML, learned the immediately can use such as the title, link ... Links, in my home page, can be used in the bottom of the terms Ah, blog AH
4/F JENNYCN 2011-10-17
There are already names of elements and attributes in the HTML I can't remember.
English, English.
5/F JENNYCN 2011-10-17
I now this notebook slow, do not know what installed something, I dare not to delete, because the last time after the deletion, QQ has been a problem
Desktop-mounted Java environment
What if I learn php?
6/F JENNYCN 2011-10-17
Once wrote the process of learning PHP, share
Http://negoo.cn/read.php/93.htm
Often in some forums and groups to see some friends will ask "How to learn PHP, how to learn the language", but others answer the most is: from the most "simple" start.
This simple may be really not simple, hehe. Next I would like to share some of my own learning process.
First say some crap, language organization ability is poor, said a lot of crap, willing to see on the look, do not scold me on the line
In fact, learning a new language is not too difficult, it is important that you are ready to learn it well, the length of time and personal ability and determination. Hacker is also popular word is "no intrusion computer", this sentence probably means: if your technology than the maintenance of this computer administrator better, then you can take this computer can even take this administrator management of all the computer, if the skill is not as good as people, can only continue to learn more than the other side. I say these words means to prepare to learn unfamiliar language friends must be determined to learn, as long as you have made up your mind to learn, you will be able to learn, never give up halfway. (10,000 steps back, even if you do not learn, but you know more than others)
Learn what is the simplest:
1, the basic structure of the Web page is HTML code, so must be familiar with the basic elements such as Html/css/js
2, familiar with PHP syntax, understand how PHP and HTML run, learning to combine PHP and HTML to complete a simple page
PHP Manual is a good starter teacher, PHP official written manuals will not be worse than the market tutorial
.....
Several possible factors that affect learning progress and program strength:
1. Memory
Whether a language is powerful or not, it should look at its library of functions and code execution efficiency.
Each language has its own powerful library of functions, to learn it, you have to spend a lot of time to remember, good memory can make learning to achieve a multiplier effect.
2. Mathematics and Logical Thinking
This is certainly not an absolute influence, because look at the complexity of the development project.
Small projects do not require much mathematical and logical thinking, but it is important to develop projects that are similar to finance or large numbers of operations.
3. The basis of other languages
"Follow", the truth of this sentence is also indisputable. All say have C language foundation of person, learn PHP easier, I have not learned C language, so do not know this sentence effect
4, read more people write code
Learn the strengths of others, fill their own shortcomings, of course, not entirely for this
I always believe that a program written by an organized team is no worse than a personal one.
I get started with PHP from looking at the code to start, I like to see other people write code (Getting Started from disucz,phpwind and foreign phpbb look, there is the most popular open source blog program), I as far as possible to collect web PHP open source programs, so far, The PHP open source programs that I collect and download are 2GB in size, including bbs,blog,cms and so on. I download not to collect them, is to learn their programming and implementation methods, if they want to implement the function do not know how to achieve, I will learn their implementation, not plagiarism code, the end result is to learn, the technology into their own
ASP I also learn in the same way (easy and news program and other ASP Open source program)
5. Practice
Theory is important, but practice is essential. Your theoretical knowledge is good, if you do not practice, you can not see the results of the theory or effect, and can not make your memory deep, so can not talk about
6. Perseverance
Advertising is not a word to say: "The world's tallest mountain is itself", this sentence is believed that friends can understand
I'll do the rest.
7, find a useful way to learn
This article can be referred to 4, my entry is to see the code to start
A friend might ask, "Can you read the powerful code at the beginning?" ”
My way of learning is to learn from the "use" function: PHP functions too many, short time can not remember all the functions, because I believe that a large project will certainly use common and necessary functions, find these functions, will be focused on learning these functions, Can you say that the function of the BBS is less than the function of writing a blog? Can you write BBS still can't write blog?
Finding the right way to learn is to go through a variety of learning ways to try, so this only own grasp, after all, everyone's learning style is not the same
8, as far as possible to find the video screen tutorial to see
Others say 10, not as good as an operation to see, this is believed that friends have to understand it
9, starting from the project
Be sure to "force" yourself to start writing the project.
Any master of "growth" is to go through a process, the process is step by step, hard-won
Many friends learn PHP's first work is almost "guestbook", because it is the simplest program
Will write the guest book, also does not completely represent you already the introduction, also does not represent will have PHP, I myself began to want to take a "network bookmark" as own first work, but wrote the basic function did not continue, the feeling did not have much meaning. Now write a completely correct CMS system for the enterprise, including some common functions for the enterprise, I want to use this as my first PHP entry
10. Learn and learn about PHP technology
The real master must learn the technology associated with PHP, to learn PHP, you have to learn the database, Php+mysql is considered "gold partner"
So you have to get in touch with MySQL or the database you think is better, start to design a more "reasonable" database, where the reasonable is more extensive, including database optimization and query optimization, etc.
The last to say is: "Do not rely on others" no one is willing to ignore a novice's question, because the novice questions in their eyes too simple, do not want to explain. The teacher teaches The Apprentice, finally still remains the hand, moreover not to mention the stranger person. Of course, if a friend is willing to give you a hint, it is a good choice to ask him humbly.
Female friends are very popular word is "man live, Sow will tree" quote this sentence no other meaning, just let friends know the meaning of this sentence, do not rely entirely on others to teach you to learn
Also want to say is: "Cherish the number of people answer" People's patience is limited, we must cherish this limit, do not ask questions, some problems themselves to spend some time to find the answer to ask, each ask, the patience of others minus once, and so you really need help, just when others are unwilling to answer you , you can imagine that you've lost too much.
The suggestion is: "Is there a problem?" Baidu "believe that friends have noticed, you ask questions, in search engines can find relevant questions, and have a detailed solution, you can use the search engine to find their own answers, why ask others?
At present the biggest Chinese search engine is baidu.com, the global Google, of course, there are other search engines, one can not find, more than a few, unless your question is the first question, then you are lucky, it may be your "looks" problem, hehe, joking, do not mind, But this is a very popular phrase.
I wish you are ready to get started PHP friends can find the right way to learn, early success!!
7/F Nkhanxh 2011-10-17
Jennycn wrote
I now this notebook slow, do not know what installed something, I dare not to delete, because the last time after the deletion, QQ has been a problem
Desktop-mounted Java environment
What if I learn php?
First of all, there must be a fast machine, or it is very troublesome.
PHP environment with eclipse+php plugin on the line.
Even Notepad can be done directly. But that's too painful for you.
Oh. Also install PHP runtime environment, install IIS or Apache. Then configure it on your own.
If you really do development, but also to build a debugging environment,
That's why I hate him, it's too much trouble.
8/F JENNYCN 2011-10-17
Nkhanxh wrote
Jennycn wrote
I now this notebook slow, do not know what installed something, I dare not to delete, because the last time after the deletion, QQ has been a problem
Desktop-mounted Java environment
What if I learn php?
First of all, there must be a fast machine, or it is very troublesome.
PHP environment with eclipse+php plugin on the line.
Even Notepad can be done directly. But that's too painful for you.
Oh. Also install PHP runtime environment, install IIS or Apache. Then configure it on your own.
If you really do development, but also to build a debugging environment,
That's why I hate him, it's too much trouble.
What's the machine going to be configured for?
9/F JENNYCN 2011-10-18
I find that learning is really fun.
When you're not doing it,
Sleepy, or would like to have that Koda blog all roughly browse once
34 pages, and now it's pretty much the same.
It's really a very, very unclear harvest.
is at least a lot of PHP concepts have a general understanding of the various considerations, and even SEO have a concept of understanding
Also saw that he made an early change to Australia to make a travel site, with frames http://koda.iteye.com/blog/212079
Some things, when I make a small website, should have the significance of reference
10/F JENNYCN 2011-10-18
Light box shows the photo, and this is what I'm going to use.
That's the name http://koda.iteye.com/blog/211706.
When you click on a picture or link in a webpage, the background is dimmed instantly and loading appears ... Then jump out of a beautiful box to display pictures or Web pages, this effect is called Lightbox, the bottom of the collection of a number of people developed or modified Lightbox, usually have a demo, to see people like to choose.
Lightbox JS
Typical is also the most common one, currently also out of the 2.0 version, but it seems to show only pictures.
Thickbox
This is also very common, can display pictures, Web pages, and can specify the size of the box, recommended.
Greased Lightbox
A browser-mounted expansion kit is available, and the Lightbox effect is usually seen when looking at a picture.
GreyBox
This is the strongest, in addition to images and Web pages, even flash, the film can be displayed in the Lightbox pop-up box inside.
Lightbox Gone wild!
Also can display the webpage picture, the effect is also good
11/F JENNYCN 2011-10-18
http://koda.iteye.com/blog/211242
Tomorrow, I'll take a look at this, then continue to learn HTML
Vagent (hotel, tourist line ordering network) Preface one---technology platform selection
Blog Category: Php Paradise
Travel cakephprubyjqueryphp
Doomed, this is a impossible to perfect the beginning. Because in front of, is dazzling, even the choice of language is confused. Where do you start?
Language:
Java, C #, PHP, Python or Ruby?
Java: Static language, perfect language features, rich enough.
C #: The Java-like language; The language features are equally well-developed, with excellent libraries.
Php/python/ruby: The same script language. In contrast to the static language, the most straightforward feeling is that after writing a line of code, I can see the effect in the browser.
PHP is a proven, multi-threaded support for Python and Ruby. Ruby has some weird syntax ....
Framework:
Php:zend,symfony,cakephp,fleaphp,codeignier .....
Python:karrigell,django ...
Ruby:ruby on Rails
JAVA:STRUTS,WICKET,SPRING,TAPESTRY,JSF ...
C #: Framework Select single (. NET), good, how can lose direction:)
List, is the expression of inner chaos. The reason that these schools of contention proves the existence is the truth, today's web development: No language, no frame absolutely win. After finishing the thoughts or back to the source of the problem, appropriate is the best, then listed the following reference principles:
1. Technology as long as it meets project requirements
2. The technology is as simple as possible, but stable.
3. Do not seek perfection, but all problems encountered in the selected technology can at least be a roundabout solution
4. The technology platform has enough space to expand
5. Programmers should be familiar with this technology
Problem-driven is a good thing, but before that, I didn't even take a closer look at what Vagent really wanted. Vagent is an American travel agency prepared to operate the online hotel travel route ordering products. I even thought about the CMS platform, but felt that the website was customized and functional, so I gave up the idea. In general, this site features a compact module, as for performance in my mind is a fundamental idea, forget, but can not be related to language choice?
Yes, or the first choice of language: Hey, in addition to read through Ruby, the above list is actually I only Java and PHP. Java is like my wife, every day grind together, indeed a little griping at everything, young when how many people flock to. Not hate, but now the Java slack let people out of anger. All over the XML, and finally out of the annotation to enter the abyss of misery. Even a print to System.out.println, tapestry once let me have endless fantasy, but I have been waiting for two years, mom a x,v5 now or beta. In turn I still have to thank her, if not long time and tapestry, I really do not know ror this extramarital affair Shia.
Ror is the source of my study of Ruby, and Ruby good for a while, but I this person to be picky, ruby syntax is enough alternative, abandon it. At this time I was a little confused, and finally all hope is pinned on PHP.
PHP is like my old lover, I have not been particularly affectionate for many years. Pick up PHP again, I use Java to look at what has been overlooked so many things before: Java has ant,php phing; Java has junit/javadoc,php and Phpunit/phpdoc. Unlike a static language like Java, PHP and Ruby, you write the code immediately debugging, for the logic is not particularly complex to apply, PHP this script language is so cute. PHP's syntax is simple enough, you can say that some of his areas are not object-oriented, but System.out.println what is the meaning of it? Java Tapestry respected Ror, but there is no PHP this scripting language to achieve more natural, imperfect but enough. This is cakephp. Secretly said: In fact, I was the first to fancy the word cake and then PHP.
In fact, everyone unexpectedly is my conclusion is so hasty and blind: except because the script language is straightforward, the concept is simple, then is oneself familiar with PHP, cake is I like ror style and so on personal preference question. As for the other principles are basically a kind of perceptual knowledge, completely based on intuition.
Stage i:cakephp
Say dry, just talk about the stability of the problem, I boldly adopted CakePHP1.2 Beta, it is because of the temptation of new features. Think of the project is finished stable version should come out.
Next start the front-end technology platform selection and integration, that is the front-end JavaScript framework, the system will have the web2.0 technical features, without ajax,thickbox and other effects. Another brain cramp, the following JavaScript framework:
Prototype + scriptaculous
Jquery
ExtJS
YUI
Mootools
Dojo
....
To take a long story short, like choosing a background frame, my personal preferences are: simple, lightweight, and the special effects of the project itself are not particularly great. jquery and prototype enough to play. The perceptual use of jquery is another win.
Stage ii:cakephp + JQuery
And then I found out that cakephp itself integrates prototype helper, in fact the current platform already has:
Stage iii:cakephp + JQuery + Prototype.
In order to ensure the coexistence of two JavaScript libraries, I both camps, the following code should know the meaning of:
JavaScript code
Don't want to get out of hand, then CSS framework can also be integrated it? The following link
12 top-level CSS frameworks really let me have a lot of brain cell results, of course, I have no choice. Because the project's web page structure has been basically completed by professionals
Then there was basically no suspense, and the final frame was trained as
Final: CakePHP + jquery/prototype + MySQL + Apache + Linux
Is there anything else missing? Yes, I'll make it later.
12/F JENNYCN 2011-10-18
508 Blogs, with sections (One-fourth or One-third?) Point into one by one to see, although, not necessarily all understand, but each read the title and brief
Plus that Bardo 120, I'm good today.
13/F Pisheng 2011-10-18
Dude, come on. I am the Java, but also halfway decent, know that self-study is not easy----is still in the early stage. My advice is: basic knowledge as soon as possible to get started, and then do the project, the knowledge point again do not understand too normal, see a few times (a lot of knowledge points to see the third time when you feel the enlightened, full-bodied comfortable).
Introductory words, personal advice can start from watching the teaching video, Java I have seen the horse soldiers, Wang Yong's are very good. PHP I only learned a little, look at the Lamp Brothers connected (VERYCD), also quite good----certainly not necessarily to learn his home. The key to teaching video is that you can follow the hand, step by step and follow down, very rewarding. If you think they speak slowly, or are already looking at the second, three times, you can double the speed of the play. I am using VLC player, which has this function (and can guarantee the sound quality). In short, I wish you success. Come on!
14/F JENNYCN 2011-10-18
Vagentpisheng wrote
Dude, come on. I am the Java, but also halfway decent, know that self-study is not easy----is still in the early stage. My advice is: basic knowledge as soon as possible to get started, and then do the project, the knowledge point again do not understand too normal, see a few times (a lot of knowledge points to see the third time when you feel the enlightened, full-bodied comfortable).
Introductory words, personal advice can start from watching the teaching video, Java I have seen the horse soldiers, Wang Yong's are very good. PHP I only learned a little, look at the Lamp Brothers connected (VERYCD), also quite good----certainly not necessarily to learn his home. The key to teaching video is that you can follow the hand, step by step and follow down, very rewarding. If you think they speak slowly, or are already looking at the second, three times, you can double the speed of the play. I am using VLC player, which has this function (and can guarantee the sound quality). In short, I wish you success. Come on!
Thank you, hey, your experience is very encouraging to me:)
By the right, why did you teach yourself to choose Java instead of PHP? How slow is it for novice Java?
15/F Nkhanxh 2011-10-18
Jennycn wrote
Nkhanxh wrote
Jennycn wrote
I now this notebook slow, do not know what installed something, I dare not to delete, because the last time after the deletion, QQ has been a problem
Desktop-mounted Java environment
What if I learn php?
First of all, there must be a fast machine, or it is very troublesome.
PHP environment with eclipse+php plugin on the line.
Even Notepad can be done directly. But that's too painful for you.
Oh. Also install PHP runtime environment, install IIS or Apache. Then configure it on your own.
If you really do development, but also to build a debugging environment,
That's why I hate him, it's too much trouble.
What's the machine going to be configured for?
Now any new machine can be bought.
16/F JENNYCN 2011-10-18
Nkhanxh wrote
Jennycn wrote
Nkhanxh wrote
Jennycn wrote
I now this notebook slow, do not know what installed something, I dare not to delete, because the last time after the deletion, QQ has been a problem
Desktop-mounted Java environment
What if I learn php?
First of all, there must be a fast machine, or it is very troublesome.
PHP environment with eclipse+php plugin on the line.
Even Notepad can be done directly. But that's too painful for you.
Oh. Also install PHP runtime environment, install IIS or Apache. Then configure it on your own.
If you really do development, but also to build a debugging environment,
That's why I hate him, it's too much trouble.
What's the machine going to be configured for?
Now any new machine can be bought.
Recommended Ah, I bought the association of the cheapest, more than 3,000 a little .... For a short period of time, the battery will only last a few minutes. But fortunately I am a house person, usually in the place where electricity is used.
17/F Nkhanxh 2011-10-18
What I'm using now is the Lenovo I bought in the summer of 07. Added to 2.5g of memory. It's OK.
So I guess it's enough for you to buy a computer now. The memory will be larger.
Another desktop installed Java and learn PHP no conflict ah? And Eclipse also needs java.
Jennycn wrote
Nkhanxh wrote
Jennycn wrote
Nkhanxh wrote
Jennycn wrote
I now this notebook slow, do not know what installed something, I dare not to delete, because the last time after the deletion, QQ has been a problem
Desktop-mounted Java environment
What if I learn php?
First of all, there must be a fast machine, or it is very troublesome.
PHP environment with eclipse+php plugin on the line.
Even Notepad can be done directly. But that's too painful for you.
Oh. Also install PHP runtime environment, install IIS or Apache. Then configure it on your own.
If you really do development, but also to build a debugging environment,
That's why I hate him, it's too much trouble.
What's the machine going to be configured for?
Now any new machine can be bought.
Recommended Ah, I bought the association of the cheapest, more than 3,000 a little .... For a short period of time, the battery will only last a few minutes. But fortunately I am a house person, usually in the place where electricity is used.
18/F JENNYCN 2011-10-18
Nkhanxh wrote
What I'm using now is the Lenovo I bought in the summer of 07. Added to 2.5g of memory. It's OK.
So I guess it's enough for you to buy a computer now. The memory will be larger.
Another desktop installed Java and learn PHP no conflict ah? And Eclipse also needs java.
Oh, so ah, then why the front end, I test the fake data, it seems to be using PHP, to give me the previous Java programmer to move to other places? When he did, my machine would not be able to run the previous Java program. And then the Java programmer came back to me again. Now, the point in my machine is to open one of the Tomcat runs and run the previous 2 Java programs. Can actually run in the browser. I dare not move, because, that is a good demo, when looking for programmers, I have to use that to explain, people easy to understand some;
What's more, the MyEclipse in Shanghai is different from eclipse?
19/F Nkhanxh 2011-10-18
Myclipse is doing something on the eclipse basis, which is a lot easier than simply eclipse.
In addition, your machine has become a grocery store, hehe. There is no way, who knows so many people finally become what kind of.
I seldom use Php,java to make web development, so I'm not familiar with these environments.
But the environment is very annoying. It's possible to get a week off, especially for a novice.
Oh, so ah, then why the front end, I test the fake data, it seems to be using PHP, to give me the previous Java programmer to move to other places? When he did, my machine would not be able to run the previous Java program. And then the Java programmer came back to me again. Now, the point in my machine is to open one of the Tomcat runs and run the previous 2 Java programs. Can actually run in the browser. I dare not move, because, that is a good demo, when looking for programmers, I have to use that to explain, people easy to understand some;
What's more, the MyEclipse in Shanghai is different from eclipse?