jerx
06-25-2008, 07:00 AM
I like to learn how to program. A few years ago I started to use ikonboard, phpbb and then vbulletin. I have modified their look to my needs and also added some hacks. That is why I have basic knowledge of html, css and even a little bit of php.
But since my frustration gets bigger and bigger, because I always have to look and wait for scripts or hacks, which do what I want but in the end do not suit my needs, I like to learn from scratch. My goal is to add hacks to vbulletin and open source scripts, so that they do exactly what I want. At the end of that long journey I might want to completely switch over to my own scripts, at least stop using open source scripts since their development pace is too slow and they do not suit my needs very well.
I read that learning php as the first language is not recommended. Perl has been suggested, but I do not like to begin with perl, since I don' t see any use for that language. Therefore I was thinking of beginning with Ruby (on rails). It seems to be a good language for newbies like me. The only problem I see is that unlike Perl Ruby might not be similar structured as php, so that it takes much more time until I have reached my goal.
However I am thinking of getting to know Ruby first. I was looking at these books:
Beginning Ruby: From Novice to Professional (Beginning from Novice to Professional) - Peter Cooper (http://www.amazon.com/exec/obidos/tg/detail/-/1590597664/ref=ord_cart_shr?%5Fencoding=UTF8&m=ATVPDKIKX0DER&v=glance)
The Ruby Programming Language - David Flanagan (http://www.amazon.com/exec/obidos/tg/detail/-/0596516177/ref=ord_cart_shr?%5Fencoding=UTF8&m=ATVPDKIKX0DER&v=glance)
The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition) - Hal Fulton (http://www.amazon.com/exec/obidos/tg/detail/-/0672328844/ref=ord_cart_shr?%5Fencoding=UTF8&m=ATVPDKIKX0DER&v=glance)
Afterwards I would tackle php:
PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide - Larry Ullman (http://www.amazon.com/exec/obidos/tg/detail/-/032152599X/ref=ord_cart_shr?%5Fencoding=UTF8&m=ATVPDKIKX0DER&v=glance)
PHP and MySQL Web Development (3rd Edition) (Developer's Library) - Luke Welling (http://www.amazon.com/exec/obidos/tg/detail/-/0672326728/ref=ord_cart_shr?%5Fencoding=UTF8&m=ATVPDKIKX0DER&v=glance)
Do you recommend buying a book for mastering html and css, too? I have seen that vbulletin add-ons use xml files. Do you also need in-depth knowledge of xml?
Although I think that learning all that stuff is necessary, I fear to stumble along that long ride. It might be too much input and too time consuming. Do you have recommendations how to stay focused and reach my goal? I think it might help to read the beginners guide to Ruby only and then concentrate on php.
I have read that some acquired the fundamentals and then jumped right in trying to code what they really needed. Some also recommended looking at other coders' code. vb.org seems to suggest online tutorials. The sticky in this forum points to such a site. There you can learn php, too. Unfortunately there is noghting about Ruby.
I think there is no golden way. Everyone is different and some methods might work for one but not for the other. Nonetheless there are some trails which are not recommended at all and others which need to be taken by everyone. As an experienced coder you might have come across things which you now classify as useless whereas you thought it was the only way to go at that time.
If you do not have any recommendations for me, I like to know how you started learning php or programming. If there are any other books I should consider reading, please post them.
Looking forward to your replies. Thank you for your time!
But since my frustration gets bigger and bigger, because I always have to look and wait for scripts or hacks, which do what I want but in the end do not suit my needs, I like to learn from scratch. My goal is to add hacks to vbulletin and open source scripts, so that they do exactly what I want. At the end of that long journey I might want to completely switch over to my own scripts, at least stop using open source scripts since their development pace is too slow and they do not suit my needs very well.
I read that learning php as the first language is not recommended. Perl has been suggested, but I do not like to begin with perl, since I don' t see any use for that language. Therefore I was thinking of beginning with Ruby (on rails). It seems to be a good language for newbies like me. The only problem I see is that unlike Perl Ruby might not be similar structured as php, so that it takes much more time until I have reached my goal.
However I am thinking of getting to know Ruby first. I was looking at these books:
Beginning Ruby: From Novice to Professional (Beginning from Novice to Professional) - Peter Cooper (http://www.amazon.com/exec/obidos/tg/detail/-/1590597664/ref=ord_cart_shr?%5Fencoding=UTF8&m=ATVPDKIKX0DER&v=glance)
The Ruby Programming Language - David Flanagan (http://www.amazon.com/exec/obidos/tg/detail/-/0596516177/ref=ord_cart_shr?%5Fencoding=UTF8&m=ATVPDKIKX0DER&v=glance)
The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition) - Hal Fulton (http://www.amazon.com/exec/obidos/tg/detail/-/0672328844/ref=ord_cart_shr?%5Fencoding=UTF8&m=ATVPDKIKX0DER&v=glance)
Afterwards I would tackle php:
PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide - Larry Ullman (http://www.amazon.com/exec/obidos/tg/detail/-/032152599X/ref=ord_cart_shr?%5Fencoding=UTF8&m=ATVPDKIKX0DER&v=glance)
PHP and MySQL Web Development (3rd Edition) (Developer's Library) - Luke Welling (http://www.amazon.com/exec/obidos/tg/detail/-/0672326728/ref=ord_cart_shr?%5Fencoding=UTF8&m=ATVPDKIKX0DER&v=glance)
Do you recommend buying a book for mastering html and css, too? I have seen that vbulletin add-ons use xml files. Do you also need in-depth knowledge of xml?
Although I think that learning all that stuff is necessary, I fear to stumble along that long ride. It might be too much input and too time consuming. Do you have recommendations how to stay focused and reach my goal? I think it might help to read the beginners guide to Ruby only and then concentrate on php.
I have read that some acquired the fundamentals and then jumped right in trying to code what they really needed. Some also recommended looking at other coders' code. vb.org seems to suggest online tutorials. The sticky in this forum points to such a site. There you can learn php, too. Unfortunately there is noghting about Ruby.
I think there is no golden way. Everyone is different and some methods might work for one but not for the other. Nonetheless there are some trails which are not recommended at all and others which need to be taken by everyone. As an experienced coder you might have come across things which you now classify as useless whereas you thought it was the only way to go at that time.
If you do not have any recommendations for me, I like to know how you started learning php or programming. If there are any other books I should consider reading, please post them.
Looking forward to your replies. Thank you for your time!