vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Wanting to learn Php (https://vborg.vbsupport.ru/showthread.php?t=83108)

amykhar 06-15-2005 11:55 AM

Quote:

Originally Posted by rpwolfe
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?

This is a great place to start:

http://www.mindview.net/Books/TIJ/

It's a easy to read, comprehensive book available for free online.

Amy

edwardcyh 06-15-2005 02:31 PM

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.

I think Visual basic is probably one of the most useful because unfortunately Micro$oft continues to dominate the PC Operating System and Office Productivity Suite market. Understanding VB would let you manipulate various aspects of Micro$oft products, like office for starters.

I totally agree with the bad habits part though.

I personally would suggest starting with C++. If you want to learn it right, like actually studying data structure and flow, go to a community college and take some classes on it. I have met so many "programmers" who write codes from "trial and error" without understanding basic loops.

Like:
draw line
draw line
draw line
draw line
draw line

Is equivalent to:
A "loop" with count =5 and action=draw line

"Gee... I don't need loops to produce the same results..."
::: SMACK ::: :devious:

rpwolfe 06-16-2005 02:18 AM

Thanks for the suggestions guys I am gonna check some of this out.

filburt1 06-16-2005 10:43 AM

Visual Basic is a piece of garbage and will teach you every wrong habit you can learn. C++ is overly complex and archaic, and is ridiculously overcomplicated for GUI work.

I would suggest Java. No pointers, very easy GUIs, runs on any platform, almost human-readable code, and a lot of IDEs.

You can also try C#, which is generally Windows-only and models Java, only with more complexity.

I would not suggest learning PHP as your first language, because it easily lets you pick up bad habits. It has seemingly cryptic syntax errors that often don't really help to solve the problem, and you also need to set up other dependencies such as a web server to use it.

GottaBeKD 06-18-2005 12:06 AM

Well, if you are serious about learning programming, especially Obejct Oriented Programming, I second the Java suggestion. Because after doing lots with Java over the last year or two, programming in PHP is...well, I wish it were Java.

filburt1 06-18-2005 12:39 AM

Quote:

Originally Posted by GottaBeKD
Well, if you are serious about learning programming, especially Obejct Oriented Programming, I second the Java suggestion. Because after doing lots with Java over the last year or two, programming in PHP is...well, I wish it were Java.

Mirrors my thoughts 100%.

tamarian 06-18-2005 01:29 AM

If you have no background in any programming languages, I would recommend not wasting your time with any specific language that you may never use.

Just start head first with a PHP book for beginners, like "PHP for Beginners". Studying Java first (or C++) can be an overkill, if you have no plans to use them.

Then you can setup a test seerver on your PC to test you PHP scripts and the book examples, or even a vBulletin test server. Next would be an introductory book into SQL, like "SQL Fundamentals", to learn about relational databases, including MySQL.

If you prefer to get some background first, I recommend getting a general book on "Programming Languages".These types of textbooks are ideal in introducing you to the basic concepts of programming languages and techniques, runs through the most popular languages and some historical ones, and explains the differences between them, without committing you to any specific language. These books are an easy read, and show you the differences between modular and object oriented languages, and how they handle/translate algorithms.

zetetic 06-18-2005 04:22 PM

Quote:

Originally Posted by tamarian
Just start head first with a PHP book for beginners, like "PHP for Beginners". Studying Java first (or C++) can be an overkill, if you have no plans to use them.

Yeah I was gonna say... it seems odd to recommend learning Java to a new programmer who wants to write hacks for vBulletin, given that vBulletin is completely php and javascript...

I'm a total newb myself, and I'm about halfway through Larry Ullman's PHP and MySQL for Dynamic Websites Visual Quickpro Guide. Not only is it written for non-programmers but it's directly relevant to working with vBulletin. I've even managed to make a couple mini-mods here recently with the help of that book and these forums. Obviously I recommend it. :)

amykhar 06-18-2005 04:58 PM

Quote:

Originally Posted by tmhall
Yeah I was gonna say... it seems odd to recommend learning Java to a new programmer who wants to write hacks for vBulletin, given that vBulletin is completely php and javascript...

I'm a total newb myself, and I'm about halfway through Larry Ullman's PHP and MySQL for Dynamic Websites Visual Quickpro Guide. Not only is it written for non-programmers but it's directly relevant to working with vBulletin. I've even managed to make a couple mini-mods here recently with the help of that book and these forums. Obviously I recommend it. :)

My recommendation was qualified by the statement
Quote:

If you are going to do it for more than a hobby at some point, I suggest learning java.
And, I stand by that statement. PHP and HTML are the way to go if all you are ever going to do is tinker with your site and the sites of others. But, if you are looking at becoming a "programmer" who can branch out and do other things, I think Java is the best way to start.

Amy

zetetic 06-18-2005 05:11 PM

Quote:

Originally Posted by amykhar
And, I stand by that statement. PHP and HTML are the way to go if all you are ever going to do is tinker with your site and the sites of others. But, if you are looking at becoming a "programmer" who can branch out and do other things, I think Java is the best way to start.

And that makes sense, but he did say:

Quote:

[...] I am dying to learn so that I can create my own custom hacks needed for my board.
So it just seems to me that what he needs to learn to that end is php/javascript. :shrug:


All times are GMT. The time now is 01:52 AM.

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.02420 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete