Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2005, 12:57 AM
rpwolfe's Avatar
rpwolfe rpwolfe is offline
 
Join Date: May 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Wanting to learn Php

Okay, I have a simple question. What books/tutorial course can I get to teach me php? I can learn via reading but would like to get something that has some sort of video like instruction. I can write html very well and I have a very good understanding of css. I have never been taught any sort of coding language and I am dying to learn so that I can create my own custom hacks needed for my board.

Thanks in advance,
Roger
Reply With Quote
  #2  
Old 06-15-2005, 01:00 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I learned it (Do I know PHP? Not sure ...) by reading vBulletin source code and http://www.php.net

But I should add that I already knew other languages like C/C++, Perl, JAVA, etc.
Reply With Quote
  #3  
Old 06-15-2005, 01:02 AM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If, like Kirby, you know other languages (especially C++, Java, and Perl), then you'll pick up PHP very quickly. However, even if you do, I would suggest any PHP tutorial book by Sams Publishing.

I would not suggest learning PHP directly from reading vBulletin code for several reasons, including you'll make assumptions about coding that may only apply to a specific part of vB, not the entire language. It is, however, a great way to test your knowledge.
Reply With Quote
  #4  
Old 06-15-2005, 01:04 AM
rpwolfe's Avatar
rpwolfe rpwolfe is offline
 
Join Date: May 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know NO languages at all and would love to learn. What is the best way I could go about this? I have a Barnes and Noble near by but I hate looking through all the books beacuse I don't really know what I am looking at. I need the programming for newbies guide but what would be the best thing to go for?
Reply With Quote
  #5  
Old 06-15-2005, 01:13 AM
N8's Avatar
N8 N8 is offline
 
Join Date: Dec 2004
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything you will need to know about php is in the php.net manual:

http://www.php.net/manual/en/
Reply With Quote
  #6  
Old 06-15-2005, 01:46 AM
rpwolfe's Avatar
rpwolfe rpwolfe is offline
 
Join Date: May 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What would be the easiest language to learn for a newbie? A language that would allow me to easily learn other languages?
Reply With Quote
  #7  
Old 06-15-2005, 01:55 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rpwolfe
What would be the easiest language to learn for a newbie? A language that would allow me to easily learn other languages?
Visual basic is cake to learn, but I am not sure learning the easiest first is best. Some of the easy ones teach you very bad programming habits.

If you are going to do it for more than a hobby at some point, I suggest learning java. (not javascript) The development tools are free, there's lots of documentation online and it's a stricter language that will help you develop better code.

Amy
Reply With Quote
  #8  
Old 06-15-2005, 02:03 AM
GottaBeKD GottaBeKD is offline
 
Join Date: Apr 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well PHP/C++/Java are pretty much identical in terms of syntax. PHP is used just for web applications, so if that's what you are interested in doing, you might as well start by just learning some PHP.

I can't recommended a tutorial...I think any should be good. The main thing with programming is playing around with it. It might be a good idea to set up a server on your local computer. For that, this is a good package : http://www.apachefriends.org/en/

Don't be intimitated, either. Programming is pretty easy, after a little practice. At first, you may be asking yourself "How would I go about doing this?". With a little experience, the question becomes "Okay, what's the best way to do this?".
Reply With Quote
  #9  
Old 06-15-2005, 03:19 AM
rpwolfe's Avatar
rpwolfe rpwolfe is offline
 
Join Date: May 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
Visual basic is cake to learn, but I am not sure learning the easiest first is best. Some of the easy ones teach you very bad programming habits.

If you are going to do it for more than a hobby at some point, I suggest learning java. (not javascript) The development tools are free, there's lots of documentation online and it's a stricter language that will help you develop better code.

Amy

Okay Amy, I like your idea. When I first started learning HTML a couple of years ago I had no idea what I was doing. I wrote some very crude pages that were a disaster at best.

I very much so like leaving myself notes as to what I am doing comment tags and what not. Are there any java sites that you might frequent that would give me a good head start?
Reply With Quote
  #10  
Old 06-15-2005, 12:26 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The internet is a great tool, there are tons of tutorials out there that will help you gain an understanding of basic, beginning php by doing a simple google search on it. Once you go through a couple of them you can have an understanding of the basics in no time
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09831 seconds
  • Memory Usage 2,245KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (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_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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete