Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 3rd, 2006, 7:56 PM   #11
bigrodey77
Newbie
 
Join Date: Oct 2006
Posts: 6
Rep Power: 0 bigrodey77 is on a distinguished road
Just my two cents but...

Being in collge now, I think it would be more beneficial to use PHP. JS might be easier to use seeing all you need is a web browser and Notepad, but don't most schools give web space to students? My old school did.

From my personal experience, I took much, much better to PHP than I have Javascript. It seems like anytime I look up a tutorial online or a snippet of code for somewhere, the syntax is different. Maybe I'm weird.

Do you plan on having them type everything in or use some sort of editor like Dreamweaver or Frontpage. For what would probably be the course equivalent of what you are teaching, my old school *required* the class to use Frontpage. We didn't do any programming in the class although we did have to build a database in Access and learn some basic SQL. Come to think of that, I think that skipping the programming all together and making them build a database and learning some basic SQL would be much more beneficial than learning PHP, Javascript, Python, or whatever language you may choose. Learning about a database, how it works, how to make one, basic forms even, can prove to be much more real world worthy than programming; something they may or may not have any interest in doing for the rest of their lives. Perhaps I'm closed minded and stereotyping a group of people when I don't think that many students in a general computer literacy course are going to switch majors to an IT related field of study.

Programming at any level isn't for everyone although when I had a class in BASIC in high school, there definately were no future computer scientists in that class but everyone loved it.

However if you must go through the programming route, I would recommend PHP because there is much less room for error than with Javascript.
bigrodey77 is offline   Reply With Quote
Old Oct 3rd, 2006, 8:25 PM   #12
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Quote:
I would recommend PHP because there is much less room for error than with Javascript
Without addressing Tromba's issue in this post, I'd be very interested in hearing about some source material for that statement.
Quote:
It seems like anytime I look up a tutorial online or a snippet of code for somewhere, the syntax is different
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Oct 3rd, 2006, 9:13 PM   #13
tromba
Newbie
 
Join Date: Sep 2006
Posts: 12
Rep Power: 0 tromba is on a distinguished road
Quote:
Originally Posted by bigrodey77 View Post
JDo you plan on having them type everything in or use some sort of editor like Dreamweaver or Frontpage.
It's all been by hand until now. They can now use anything they like. I showed them NVU since that's free (we don't have any computer labs since we give everyone a laptop when they enroll)
Quote:
Originally Posted by bigrodey77 View Post
Come to think of that, I think that skipping the programming all together and making them build a database and learning some basic SQL would be much more beneficial than learning PHP, Javascript, Python, or whatever language you may choose.
Good point. THey don't have a database, but could get OpenOffice.org and use that database. Might be worth considering.
Quote:
Originally Posted by bigrodey77 View Post
Programming at any level isn't for everyone although when I had a class in BASIC in high school, there definately were no future computer scientists in that class but everyone loved it.
This is definitely just to get some idea of what programming is about. Just like our html -- we got a couple of steps past "Hello World" and some students struggled get there, others went and found all kinds of other things to do.
Quote:
Originally Posted by bigrodey77 View Post
However if you must go through the programming route, I would recommend PHP because there is much less room for error than with Javascript.
Thanks for your reply
tromba is offline   Reply With Quote
Old Oct 4th, 2006, 12:48 AM   #14
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6 bl00dninja is on a distinguished road
well, alot of people have problems with "hello world"...if they're messing with hello world then they're obviously starting, but yeah, i like threads of the type:

WHAT THE FUCK IS THIS SHIT!?!
int main  <----------is main a variable here?

well i'm sure whatever you do, your students will probably have fun and may get exposure to crap they might not have otherwise. i got hooked on this from looking at html and realizing it's not a hard as you might think (and sometimes harder then you could ever imagine).

:p

good luck!
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Oct 4th, 2006, 11:17 AM   #15
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
hey BN, easy with the swearing.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Oct 4th, 2006, 12:07 PM   #16
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
I'm somewhat divided on this issue. On the one hand, Javascript is arguably the more consistant language, and web browsers are common enough that anyone can develop code with it. On the other hand, Javascript is often tricky to debug (no STDOUT or inbuilt logging mechanisms to make life easier), and PHP has a greater internal library.

The main problem with PHP, however, is that it's somewhat more difficult to set up a web server than it is to install a simple interpreter. Still, if each student has a certain amount of webspace available to them, and the hosting web server is PHP-capable, then it may very well be possible to do.

I generally recommend Python, myself; easier to install and to find good beginners guides for.
Arevos is offline   Reply With Quote
Old Oct 4th, 2006, 12:12 PM   #17
tromba
Newbie
 
Join Date: Sep 2006
Posts: 12
Rep Power: 0 tromba is on a distinguished road
Quote:
Originally Posted by Arevos View Post
Still, if each student has a certain amount of webspace available to them, and the hosting web server is PHP-capable, then it may very well be possible to do.
The webserver for the class is in my office (it's a linux running Mandriva), and it's got PHP installed, so access shouldn't be a problem.
tromba is offline   Reply With Quote
Old Oct 4th, 2006, 1:01 PM   #18
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
PHP shouldn't be too hard to teach, then. It's certainly a useful skill to have; many web hosting companies nowadays offer PHP at rather low prices, so some PHP knowledge might come in handy. It also has immediate results that students can see.

As for a beginning PHP tutorial, I don't know of any that would fit that exact bill. Most PHP tutorials I've seen are written for programmers learning a new language, rather than for beginners starting from scratch.
Arevos is offline   Reply With Quote
Old Oct 5th, 2006, 2:06 AM   #19
Chicken001
Newbie
 
Join Date: Oct 2006
Posts: 2
Rep Power: 0 Chicken001 is on a distinguished road
I noticed after learning Java, or taking the course in Java, PHP was a breeze to pick up.

PHP is quite useful, I just learned from taking glances at source codes and comparing, then, testing it out from tutorials.
Chicken001 is offline   Reply With Quote
Old Oct 5th, 2006, 2:24 AM   #20
Mocker
Hobbyist Programmer
 
Mocker's Avatar
 
Join Date: Oct 2005
Location: Indiana
Posts: 224
Rep Power: 0 Mocker is an unknown quantity at this point
Send a message via AIM to Mocker
Just took a look at the tutorials by bulio and headzoo, those are both pretty nice and start off with the basics. If they already put together some simple html pages, I would suggest starting them with simple form php scripts.
Like.. Put your name in the box, then have php echo it, just to get an immediate feel for how you can have it work in a website.
Then from there you can get into basic variables, data structures and functions.

I think php is probably a really good choice since you have a webserver going anyways. It looks friendlier and is super easy to start with.
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi
freelance scripts - http://ryanguthrie.com/index.html
Mocker is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Python] BlackJack UnKnown X Show Off Your Open Source Projects 9 Feb 20th, 2006 7:01 AM
First Python Programme: Fibonacci Finder UnKnown X Python 2 Dec 15th, 2005 7:19 PM
2 new programs HaCkeR C 30 Nov 29th, 2005 8:14 AM
entering data into excel from a form glevine Perl 1 Nov 18th, 2005 6:03 PM
ftplib help please! disAbled Python 1 Jun 30th, 2005 9:05 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:40 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC