Some suggestions for PHP beginners and reference guide for books

Source: Internet
Author: User
Tags php and mysql smarty template zend framework
In the early days should understand the PHP language-related history and industry anecdotes or characters anecdotal, this is to trigger the language you learn the indirect power, but also you learn the direction and goals. One of the funniest anecdotes is that the United States * Personal build station and then publish information, see PHP is a very easy to get started language ah.
1. Basic data types. This PHP and JS a bit like, are weak type, self-recognition.
Data types There are so many to pay special attention to, if you later in the process of development, your youth more than half time will be consumed on this.
A. String type
String type below a large heap of function methods, need to master, such as common Substr,strstr,trim,strrpos and so on
B. Array type
Also the following a large pile of function methods, common are: Array_merge, Array_push,array_shift, these.
2. Basic Process Control Statements:
In mastering the word based on the combination of writing articles, so that the program to help you achieve what you can not achieve, which requires process control
if () ElseIf () if ()
while () {}
For () {} foreach () {} Do not forget the ternary operator
No matter what language has the above two things, mastering this after learning other languages, a duck to the surface.
3. Object
This if in-depth words to learn from java,c# in the OOP thought, beginners can properly understand, there is no need to delve into.
4. SQL
Curd basic additions and deletions to change the sentence, should be skilled. Other MySQL-related knowledge systems should be understood.
The above pile is the PHP language you need to master, the rest is your interview time to increase the stack of things:
Recommended books are: PHP and MySQL programming third version of the electronic version, the latest version of the fourth edition
1. CSS Classic box model concept, cascading concept. CSS selector ==jquery selector. If you look closely, the cascade in CSS is the inheritance in OOP, and subclasses override the parent class's properties, called Cascading style sheets. The difference between margin,padding and ie6,7,8,9, and the difference between them and Firefox,chrome,opera,safari. IE6 most unforgettable haslayout in the end is how things, Firefox under the magical magic of Overflow:hidden, interested to know the front-end refactoring this position.
Recommended books are: CSS those things, proficient in CSS
2. javascript
The basic concept of language is like the above, JS and PHP have similar places. Not much to say.
Their difference is: PHP operation is the data inside the database, and JS operation is browers parse the page data after the end. Figuring this out can do more with less.
In addition, the biggest headache for CSS,JS development is browser compatibility, which requires industry experience to support your technology development.
Recommended books are: JavaScript Advanced Programming Second Edition, JavaScript Dom advanced programming, JavaScript language essence and programming practice all have electronic version
3. jquery
The only thing to say is: No JS Foundation is difficult to harness jquery, there is a JS foundation, and then a jquery API can be hands-on.
Selector and CSS 2.1 very similar, in fact, the original life of jquery originally wanted to call cssquery, the result later out of a cssquery, had to rename to jquery, so that the similarities between the two selectors.
The first two days have just released jq1.6, has already glorious ascended the version Emperor throne.
The recommended books are: The sharp jquery has an electronic version
So many things, what time to learn, someone will certainly ask.
My point is: learning is an interest-led, and then the main is to do it. To be interested in guiding you into a personal forget the time passes the two forgotten realm of oneness, or youth is a difficult to drink erguotou, difficult to swallow. Others look at personal creation, everyone's opportunity is not the same, but the opportunity is for those who are prepared.
Another person does not advocate to see the post will return, but you see the feeling of benefit or some place with you resonate, on the top, write the program fee brain, code word fee hand Ah, brothers.


Reply to discussion (solution)

It's not enough to score points.

Smarty template, Zend Framework, Memcache,........ A lot

One in the same way and the other in unity

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.