Learning web programming, good tutorials?

narreth

Senior member
May 4, 2007
519
0
76
If I have some experience with basic programming and matlab/VBA, which languages do I need to learn to do web development? PHP/HTML? What about flash? I'm looking for good tutorials so I can teach myself.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,284
3,905
75
First, I second w3cschools. I'm not a tutorial kind of guy; I just look at some existing code, change it as necessary, and refer to references - like w3cschools - as necessary.

I can point you to some tools that will make learning easier:

  1. Get Firebug. Firebug lets you see what's going on on any page with HTML, CSS, and Javascript; plus you can modify CSS and execute your own JavaScript, all from within the browser!
  2. Learn HTML. It's pretty dry, but it's the foundation for just about everything else on the web.
  3. Learn CSS, at least a little.
  4. Get Stylish. With Stylish, you can change the CSS on any page any way you want, in real time! Also look at styles others have made and learn from them. Try out their techniques on sites you want to restyle. Try using FireBug to identify the elements you want to restyle. When you can restyle any site, you can certainly style your own site!
  5. Learn JavaScript, at least a little.
  6. Get Greasemonkey. Greasemonkey lets you add JavaScript to any site the way Stylish lets you add CSS. Also look at scripts others have made and learn from them. Try using FireBug to identify the elements you want to modify with Greasemonkey. Use FireBug's console to execute and debug most Greasemonkey scripts. Particularly get comfortable with modifying the InnerHTML attribute of elements.
  7. Now that you're used to modifying HTML, how about a language that writes HTML? Well, they're called Server Side Scripting languages, and there are several of those! You can stick with JavaScript, with Node.js. Or you can branch out to PHP, or maybe even ASP.NET. But you may want to learn C# before learning ASP.NET.

There's plenty more stuff to learn, like jQuery for JavaScript, or SQL for AJAX and most Server Side Scripting languages. And Flash is a world unto itself. But I hope this gives you a good start.
 
Last edited:

eldavo

Junior Member
Jun 12, 2008
6
0
0
I've recently been enjoying Rails 3.0 (the latest incarnation of Ruby on Rails). The documentation is great and I think that the library (called 'gems') management is a done well. If you're more of a visual kind of guy, they have great screencasts.

If I might add something to Ken g6's excellent post, I'm a big fan of using selector gadget and Nokogiri when "interfacing" with websites (*wink* *wink*).
 

Ka0t1x

Golden Member
Jan 23, 2004
1,724
0
71
+1 for Ken's suggestions.

Its far much easier to learn HTML/CSS and then incorporate a scripting language followed with a DBMS.

JavaScript is made easy with jQuery. Learn to love it.

Also, I've been doing PHP w/ MySQL/Oracle for the past..5+ years.. but I'm getting into Rails again with v3 release... Rails just seems to be a better experience, and they're getting MUCH better at performance. I've tried frameworks in PHP.. it just doesn't work.

Gogo RyanBates @ railscasts.com
 
Last edited:

PhatoseAlpha

Platinum Member
Apr 10, 2005
2,131
21
81
Hey Ken, what's the point of Stylish if you've already got Firebug installed? You can already edit styles in real-time with firebug.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,284
3,905
75
If I might add something to Ken g6's excellent post, I'm a big fan of using selector gadget and Nokogiri when "interfacing" with websites (*wink* *wink*).
This reminds me of a very old argument I keep having when doing automated testing. For automated testing, it's necessary to have a program automatically identify a control, or textbox, or even an element of a web page, even if that element has moved or changed. Automated testing tools usually include a way to automatically identify an object; but they also let you manually specify how to identify an object. Personally, I prefer to specify how to identify an object manually, to minimize the chance of mis-identification.

For CSS, I think manual identification is even more important, so you can specify a certain set of objects and no others. I'm trying this selector gadget, but it's not working very well for me. I'm not seeing a way to select, say, all
buttons on this page and nothing else, for instance; or all images inside all posts.

Edit: Oh, I forgot to mention my favorite CSS reference! I know, it's pink. D: But it's quite complete, and it links to a selectors support chart, so you know whether your CSS is supported on a particular browser.
 
Last edited:

eldavo

Junior Member
Jun 12, 2008
6
0
0
For CSS, I think manual identification is even more important, so you can specify a certain set of objects and no others. I'm trying this selector gadget, but it's not working very well for me. I'm not seeing a way to select, say, all
buttons on this page and nothing else, for instance; or all images inside all posts.

Well, color me confused. I went to a thread with images and clicked one. It gave me this string: .tcattdimgresizer which seemed to select all the images inside Nokogiri's css method. *shrugs*

Personally, I prefer to specify how to identify an object manually, to minimize the chance of mis-identification.

Right and the 'quote' buttons have no clear identifiers which makes their selection difficult. The selectorgadget tool is a suggestion for people who wish to harvest information from the web. Hence the winking. If I were ever coding a website I wanted to regression test, I would use clear formulaic identifiers in an HTML5 compliant style for easy and assured script selection. Nobody seems to do this though.

Here's an example of a fun first project for new Rails developers looking to do something interesting with a site they like on the web. I suggested selectorgadget as a tool to understand CSS classes, I use it a lot at home.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |