Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: JavaScript 24-Hour Trainer
|
BOOK: JavaScript 24-Hour Trainer
This is the forum to discuss the Wrox book JavaScript 24-Hour Trainer Jeremy McPeak; ISBN: 978-0-470-64783-7
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: JavaScript 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 7th, 2012, 12:52 AM
Registered User
 
Join Date: Mar 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Use of MS Visual Web Developer Express

I'm familiar with JavaScript, but unfamiliar with the MS Visual Web Developer Express (MSVWDE) you use in your videos. I note in your videos that you always seem to start with the files already open. When I do a New File in MSVWDE, I'm presented with a variety of file types. The closest I come to JavaScript is Microsoft's flavor, JScript, and selecting that adds about 185 lines of SIGnature block at the top.

I'm going to be using this text for a hands-on class I'm teaching, and I'd like to have the students able to follow along easily. The students are all new to programming, and I don't want them to be overwhelmed. Is there a quick and easy way to add a JavaScript template that omits all of the SIG lines so it's closer to your sample code?

Also, have you used this in a classroom setting? If so, do you find the autocomplete functionality of MSVWDE aids in the learning process, or does it allow them to gloss over some of the important details because they need only select from a few choices?

I must say that I'm leaning towards using a simpler editor, like Notepad++, so they can focus more on the JavaScript aspect.

Thanks!
Grant

Last edited by gprellwi; March 7th, 2012 at 01:36 AM..
 
Old March 7th, 2012, 10:45 AM
jmcpeak's Avatar
Wrox Author
 
Join Date: Nov 2005
Posts: 87
Thanks: 0
Thanked 18 Times in 17 Posts
Default

Howdy, Grant.

First, that's awesome you're going to use it in the classroom. Thanks!

That's interesting. When I create a new .js file it's empty. It sounds like something has mucked up the templates and/or default documents.

I wanted to use WebMatrix when recording the book, but it was in beta (and I didn't want to use beta software). It has a built-in web server, which is great for Ajax stuff. Another excellent editor is Sublime Text 2, but it's not free. Notepad++ or Notepad2 are good editors.

Autocomplete can be a double-edged sword. It's nice to have, but it is also easy to get dependent on it. In JavaScript's case, I'd say it's more a hindrance than tool. Autocomplete is hard to get right in a language like JavaScript, and while support is better than it used to be, it still leaves a lot to be desired.
 
Old March 7th, 2012, 12:31 PM
Registered User
 
Join Date: Mar 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I only have 12 hours of classroom time, so I don't expect to be able to get into Ajax beyond a cursory description of it. Because of that, the server component of MSVWDE is probably overkill and I'll stick with Notepad++.

The //SIG lines have shown up on both fresh installs of MSVWDE we've done, so I don't think it's a corrupted template. This is when I select New File of type JScript.

I'll also probably move the chapter on common coding mistakes up towards the front, because they're more likely to encounter them when typing without autocomplete. If I can get the latest versions of either IE or FireFox installed, I'll show their built-in developer tools, including the ability to write to console.log instead of a bunch of alert()s.

Thanks, and I may have some followup questions!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Web Developer Express- Free vs Trial? skier10 BOOK: Beginning ASP.NET 4 : in C# and VB 7 July 28th, 2011 12:05 PM
Cant find Visual Web Developer 2010 Express eurico BOOK: Beginning ASP.NET 4 : in C# and VB 10 May 31st, 2010 02:51 AM
Visual Web Developer 2008 Express jjc9809 Visual Web Developer 2008 2 December 23rd, 2008 12:06 PM
Visual Web Developer 2008.. Express Edition Neamat .NET Framework 3.5 14 August 3rd, 2008 09:47 AM
Web Matrix vs. Visual Web Developer Express kwilliams ASP.NET 2.0 Basics 8 July 17th, 2007 01:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.