Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-25-2008, 07:00 AM
jerx jerx is offline
 
Join Date: Feb 2006
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Learn to program - where to start?

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
The Ruby Programming Language - David Flanagan
The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition) - Hal Fulton

Afterwards I would tackle php:
PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide - Larry Ullman
PHP and MySQL Web Development (3rd Edition) (Developer's Library) - Luke Welling

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!
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04314 seconds
  • Memory Usage 2,357KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete