12.07.2015 Views

H Students Craft Dynamic Web Sites - Lake Highland Preparatory ...

H Students Craft Dynamic Web Sites - Lake Highland Preparatory ...

H Students Craft Dynamic Web Sites - Lake Highland Preparatory ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

casestudy.NET Helps<strong>Students</strong> <strong>Craft</strong><strong>Dynamic</strong> <strong>Web</strong> <strong>Sites</strong>Learn how one high school teacher used Visual Studio .NET and ASP.NET <strong>Web</strong>Matrix to teach his students how to create interactive <strong>Web</strong> pages.by Lee ThéSolution SummaryInstitution<strong>Lake</strong> <strong>Highland</strong> <strong>Preparatory</strong> School,Orlando, Florida. Honorsprogramming class.ProjectCreate curriculum to provide students anopportunity to use state-of-the-artsoftware to develop relativelysophisticated <strong>Web</strong> sites. The lessonsinclude <strong>Web</strong> programming, SQLtraining, <strong>Web</strong> services, mobileapplications, and a case study calledNothing but .NET. The case studyincludes a student activity database,login screens, <strong>Web</strong> service application,calendar event application, and a slideshow activity. See the lessons atwww.lhps.org/scarbeau/webmatrixlessonsuse.htm.Tools• ASP.NET <strong>Web</strong> Matrix• .NET Framework 1.1• Visual Studio .NET• Visual Basic .NET• Visual J# .NET• Accessigh schools have a reputation for teaching yesterday’stechnology. But computer science teacher BrianScarbeau decided to break with that tradition—with-Hout also breaking the budget at <strong>Lake</strong> <strong>Highland</strong> <strong>Preparatory</strong>School in Orlando, Florida. Microsoft ASP.NET <strong>Web</strong>Matrix was a key tool that allowed Scarbeau to teach his<strong>Web</strong> design class how to build interactive <strong>Web</strong> pages usingMicrosoft ASP, and stay within budget.Scarbeau knew his <strong>Web</strong> design class needed updating. The curriculum had previouslytaught students only how to build static <strong>Web</strong> pages. He knew they’d need tolearn how to build dynamic ones to be competitive in college and beyond. But suitabletools had only recently become available—notably the updated <strong>Web</strong> Matrixreleased in June 2003.He says, “I chose <strong>Web</strong> Matrix because it’s compact [has a relatively small file size], it’sused by <strong>Web</strong> professionals, it looked like it would be easy to use—and it was free.” Hewas also confident he could learn it himself in the limited time he had available. <strong>Web</strong>Matrix is a community-supported, WYSIWYG tool for ASP.NET. You can download itas a 1.3MB file from the Microsoft <strong>Web</strong> site, along with the .NET Framework it requires(see Resources).<strong>Web</strong> Matrix’s features include an ASP.NET page and HTML designer, SQL Serverdatabase management, data bound page generation without coding, multiple .NET languagesupport, class browsing, XML <strong>Web</strong> services support, mobile application support,projectless file and FTP workspaces, a development <strong>Web</strong> server, and a built-in gateway tothe ASP.NET community. So, it’s a long way from being just a demonstration tool that6| .netU Fall 2003 | www.fawcette.com/dotnetu


casestudybase manipulation: creating a database,connecting to it, entering records, searchingand sorting records, and conductingdynamic searches from a <strong>Web</strong> page. Lesson12 added record validation, “which isa great feature of <strong>Web</strong> Matrix,” Scarbeausays. The next lesson covered calendar controls,followed by one on mobile applications.The last lesson dealt with <strong>Web</strong> Services.Then students put all the lessons towork and created their own Nothing but.NET sites.The case study covered the creation ofa student works database. This could includeshort stories or poems that a teachermight want to enter into the database, usinga teacher login page. In addition,Scarbeau had students create a calendar“Another cool thingabout <strong>Web</strong> Matrix is theaccess from mobileInternet devices—wireless devices likePDAs or phones. Thatwas pretty sweet.”Figure 1. Build an Interactive <strong>Web</strong> Site. <strong>Students</strong> create this home page when they finishtheir teacher’s <strong>Web</strong> Matrix-based lessons. The case study allows students to create a PigLatin translator <strong>Web</strong> service application, an events calendar, a database of literary work, ateacher login page, a form for teachers to fill out, and a slide show of digital pictures orscanned-in artwork. See the live site at http://bgscms.europe.webmatrixhosting.net/.of events, along with a <strong>Web</strong> services applicationthat converted text to Pig Latin.Finally he had them add a slide show ofphotos.Then it was time to take his new curriculuminto the classroom. When he introducedstudents to the project they wereexcited to learn they were some of the firsthigh school students to be learning .NETtechnology—both because it’s up to dateand because it’s what the real world is using.Not to mention getting to build dynamic<strong>Web</strong> pages.However, an initial glitch did arise.In early lessons, Scarbeau tried to teachstudents the principles of object-orientedprogramming (OOP) that underlie.NET. However, the students found theconcepts hard to follow. So, Scarbeaushowed the flexibility that’s characteristicof all good teachers and switchedgears. He concentrated on showing stu-Figure 2. Work with Databases. <strong>Students</strong> get a head start at working with databases bybuilding a form they create during their lessons. They then enter this form into their JamesBond movie database.8| .netU Fall 2003 | www.fawcette.com/dotnetu


casestudydents how to use <strong>Web</strong> Matrix, ratherthan its conceptual underpinnings.Things really got rolling when he showedthem how to download and install <strong>Web</strong>Matrix and the .NET Framework; thento create a page with <strong>Web</strong> Matrix anduse its commands.IT professionals will probably agreethat the most practical part of Scarbeau’scurriculum is the collection of databaselessons that followed the introduction. Onthe other hand, the last two lessons coveredthe two aspects the students enjoyedthe most, according to Scarbeau: mobileapplications and <strong>Web</strong> services. For theformer he covered downloading Microsoft’sASP.NET Mobile Internet Toolkitand Phone Emulator Software, which studentsneeded to create applications formobile phones along with <strong>Web</strong> Matrix.Then he dealt with adapting the JamesBond movie database he’d created forNothing But .NET.The last lesson, on <strong>Web</strong> services, showedhow to both create and consume them.This lesson included details such as howto use <strong>Web</strong> Matrix’s XML <strong>Web</strong> ServiceProxy Generator, which helps create theproxy a <strong>Web</strong> service requires between anapplication and the <strong>Web</strong> service.“Record validation is agreat feature of <strong>Web</strong>Matrix.”Scarbeau’s students also praise this newcurriculum. Eleventh grader Andrew Hillsays, “It’s really different. Before this I used[Macromedia] Dreamweaver for <strong>Web</strong> applications,and straight Java for programming..NET is cool because it pretty muchcombines the two and lets you put a lot ofinterfaces straight into the <strong>Web</strong>.”Junior John Root says that although he(like the other students) had trouble understanding.NET conceptually early on,“By the end of the lessons we realized howpowerful it could be.” He also confirms thestudents’ interest in mobile applications:“Another cool thing about <strong>Web</strong> Matrix isthe access from mobile Internet devices—wireless devices like PDAs or phones. Thatwas pretty sweet.” .netUABOUT THE AUTHORFormer Visual Studio Magazine executiveeditor Lee Thé writes occasional technologypieces to pay for scuba diving trips for his wifeand himself while he works on a science fictiontrilogy. Reach him at aw66@att.net.ftponline.com’s Newest Management Tool:Tips, tricks and techniques to keepyour development team on top• Get secrets to effectively manage yourdevelopment team• Pick methodologies, and execute them• Figure out what’s broken, and fix it• Join discussion groups covering lively debate topics• Safeguard yourself from the “five deadly waysto kill a project”• Keep your fingers on the pulse of development trendsGOwww.ftponline.com/resources/managingdevwww.fawcette.com/dotnetu | .netU Fall 2003 |9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!