![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Newbie
Join Date: Oct 2006
Posts: 6
Rep Power: 0
![]() |
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. |
|
|
|
|
|
#12 | ||
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Quote:
Quote:
![]()
__________________
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 |
||
|
|
|
|
|
#13 | |||
|
Newbie
Join Date: Sep 2006
Posts: 12
Rep Power: 0
![]() |
Quote:
Quote:
Quote:
|
|||
|
|
|
|
|
#14 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6
![]() |
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. |
|
|
|
|
|
#15 |
|
Programming Guru
![]() ![]() |
hey BN, easy with the swearing.
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
|
#16 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
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. |
|
|
|
|
|
#17 |
|
Newbie
Join Date: Sep 2006
Posts: 12
Rep Power: 0
![]() |
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.
|
|
|
|
|
|
#18 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
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. |
|
|
|
|
|
#19 |
|
Newbie
Join Date: Oct 2006
Posts: 2
Rep Power: 0
![]() |
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. |
|
|
|
|
|
#20 |
|
Hobbyist Programmer
|
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |