ssd参考.docx

上传人:b****5 文档编号:11982682 上传时间:2023-04-16 格式:DOCX 页数:11 大小:23.84KB
下载 相关 举报
ssd参考.docx_第1页
第1页 / 共11页
ssd参考.docx_第2页
第2页 / 共11页
ssd参考.docx_第3页
第3页 / 共11页
ssd参考.docx_第4页
第4页 / 共11页
ssd参考.docx_第5页
第5页 / 共11页
点击查看更多>>
下载资源
资源描述

ssd参考.docx

《ssd参考.docx》由会员分享,可在线阅读,更多相关《ssd参考.docx(11页珍藏版)》请在冰豆网上搜索。

ssd参考.docx

ssd参考

Unit1TheWorldWideWeb

ThisunitofthecourseintroducesyoutotheWorldWideWebanditsworkings.YouwilllearnhowtousetheWebasaneffectivetoolforfindinginformation.YouwillalsolearnhowtocreateyourownWebpagesusingHyperTextMark-upLanguage(HTML).

∙1.1UsingtheWeb

∙1.2What'sintheWeb?

∙1.3IntroductiontoHTMLFormsandServlets

1.1UsingtheWeb

∙1.1.1SurfingtheWeb

∙1.1.2YourWebPages

∙1.1.3 Clients,Servers,andURLs

∙1.1.4 SearchingtheWeb

∙1.1.5 CommerceontheWeb

∙1.1.6 SomeEthicalConsiderations

1.1.1SurfingtheWeb

Let'sstartwithsomebasicdefinitions.Incaseyoudonotalreadyknow,theInternetisacomputernetworkthatconnectsmillionsofcomputersacrossanumberofcountries.ThereisnocentralauthoritythatcontrolstheInternet;differentorganizationsowndifferentpiecesofit.TheInternetwasoriginallyconceivedofbytheAdvancedResearchProjectAgency(ARPA)oftheU.S.governmentinthe1960s.TheWorldWideWeb(or"theWeb"forshort)referstothatportionofthecomputersontheInternetthatcancommunicatewitheachotherusingacomputer-networkprotocolcalledHTTP.AllbrowsersuseHTTPtorequestandreceiveWebpagesfromothercomputers.

Onlyafewyearsagotheexpression"surfin'theWeb"hadmeaningforonlyasmallpercentageofthepopulation. Todaythatisnolongertrue,andifyouhaven'tyetexperiencedsurfingtheWeb,youshouldtryit. Surfing(orbrowsing)theWebcantakeyoutomanydifferentplaceswithonlytheclickofthemouse. However,ifyoudoso,lookingforinformationinahaphazardfashion,youmayfindtheinformationquickly.Or,youmayfindyourselfspendinganentireeveningwanderinghitherandthither,frompagetopage,findingatallsortsofinterestingmaterial—butnotwhatyouwereactuallylookingfor. So,inordertousetheWebeffectively,youneedtoknowhowtosearchtheWebefficiently.Thattopiciscoveredinalaterpage. 

Asyoursearchskillsimprove,youwillfindthatyoucanlocatealotofinformationveryquickly.But,bewarned:

allthatmeansisthatyouarenowabletosearchthatmanymoreplaces!

 Again,don'tbesurprisedifentireeveningsslipawaywhileyoumeanderaroundtheWeb.Bytheway,wehaveusedthewordspageandplaceinterchangeablywhenreferringtotheWeb.Anothersynonymoustermissite,asinWebsite.AllthreetermsrefertolocationsontheWebthatyoucanvisitandviewthroughabrowser.Youare,infact,familiarwithatleastoneWebsite:

theiCarnegiesiteyouvisitedtologontothiscourse.

TheWebisaninterestingplace. Thereisverylittle"law"ontheWeb—andithasbeendescribedasaplaceof"controlledanarchy." EffortstoregulateorgovernithavebeenvigorouslyresistedbyWebusers. OnewaytolookattheWebistocompareittotheearlydaysoftheWildWest,wherejustaboutanythingcouldanddidhappen. Whiletherearefewrules,thereare,however,twomajorareasofcontrol. OnehastodowiththenamingofasiteontheWebandtheotherwiththerulesofanInternetServiceProvider(ISP).(AnISPisanyoneofanumberofcompaniesthatenablepeoplelikeyouandmenotonlytoconnecttotheInternetandsurftheWebbutalsotopublishWebpages.) Withrespecttothefirstareaofcontrol,allWebsitesmusthaveuniquenamesoraddresses—onepermachine.Therefore,ifyouwanttosetupaWebsite,youhavetoapplytoregisterasitenameandpayasmallfee;afterthat,nooneelsecanuseyoursitename.Concerningthesecondareaofcontrol,ifyouwishtopublishWebpages,youmustdosothroughanISP,andISPsoftenhaverulesthatyoumustfollow—rulesthatmaygovern,forexample,thetypeofcontentWebpagesmaycontain,wherethepagescanbestored,andsoon.

Otherthantheseconstraints,theWebisaprettywide-openplace. However,ontheWebyouarestillsubjecttosocietalrulesandcouldfindyourselfinlegaltroubleifyouslandersomeone,displayinformationthatiscopyrightedbysomeoneelse,orcommitfraud. WhenbrowsingtheWeb,youalsoneedtounderstandthatthepeoplewhousetheWebandcreateWebpagesrepresentacrosssectionofsociety. Assuch,thereisbothgoodandbadmaterialontheweb("bad"materialrangesfrompornographytoinaccurateormisleadinginformation). And,becausethereisnoonepersonororganizationincontroloftheWeb,thereisnoonetocertifythattheinformationpresentedontheWebisaccurate,correct,andup-to-date.

Fraudisaproblem,too. TherehavebeenseveralrecentpressreleasesfromthefederalgovernmentwarningpeopletobecautiousaboutbuyingunsolicitedstocksandothersecuritiesovertheWeb. Understand,however,thatwhenfraudisdetected,thoseresponsiblecanbeprosecuted,andthepenaltiescanbesevere. Nevertheless,whenshoppingontheWeb,youwoulddowelltoremembertheoldsaying,"afoolandhismoneyaresoonparted."Thisisnottosaythatthereisn'talotofgoodinformationontheWebandthatyoucan'tfindgoodbargains;asurferjusthastobecarefulandevaluateanyinformationtakenfromtheWeb.

OnethingthattheWebhasfacilitatedistheformationofinterestgroupsofvarioustypes. Thesegroupscanrangefromsupportgroupsforspecificillnesses,togroupsinterestedinhobbiessuchasstampcollectingorflyingradio-controlledmodelplanes.TheWebprovidesaconvenientmeetingplaceforpeoplewithsimilarinterests.Becausedistanceisnotaproblem,peoplecaneasilycommunicateeventhoughtheyareseparatedbyvastdistances.SomefamiliesthataregeographicallyseparatedusetheWebtocommunicate. Peoplecanseepicturesoftheirgrandchildalmostassoonastheyaretaken. Theparentshaveadigitalcamera(costabout$250)andtheyputthepicturesontheirWebpage. ThegrandparentscanaccesstheWebpageandseethem.

IfyouhavenotyettriedsearchingtheWebforinformation,youshoulddoso. Youmighttrylookingforinformationonafavoritetopicusingasearchengine.AsearchengineisaprogramthatallowsonetosearchforkeywordsinfilesatoneormoreInternetsites.PopularsearchenginesincludeLycos,Excite,andAltaVista.Totrylookingforinformationusingasearchengine,youmight,first,pickatopic,thenvisitasearchenginesuchasoneoftheonesmentionedaboveandreadthehelppagestolearnhowtouseit.Thenyouarereadytostartsearchingforinformationonyourchosentopic. However,aftereveryfifteenminutesorsoofbrowsing,youshouldstopandseewhereyouare.Don'tbesurprisedifyoufindyourselffarfromthetopicyouchoseoriginally,havingbecomesidetrackedbysomethingelsethatcaughtyoureyealongtheway. Also,besuretorememberthatthereisnoonecertifyingthatwhatyoureadisaccurate.OneimportantruleforWebsurferstokeepinmindis"caveatemptor"or"buyerbeware."

Wediscusssearchenginesinmoredetailinthecoursepage1.1.4 SearchingtheWeb.

1.1.2YourWebPages

Aswehaveseen,thereisnoagencyorgroupthatcertifiestheinformationontheWebtobeaccurate,valid,andup-to-date. Thereis,however,theideaofthe"ReasonablePersonPrinciple"thatmanypeoplefollow. ThisideaissimplytheGoldenRuleatapracticallevel. IfyouaregoingtoprovideWebpagesforotherstoview,thenyoushouldkeepyourWebpagesinaconditionthatmirrorswhatyouwouldliketofindwhenyouvisitotherpeople'spages.

Ataminimum,theinformationshouldbecorrectandup-to-date.Ifyouremailaddresschanges,thenyoushouldedityourWebpagetoreflectthechange. Ifyoudon'twantalotofmail,don'tincludeyouremailintheWebpage. Puttingyouremailaddressonthepageimpliesthatyouwillrespondtomail. Asacorollarytothe"ReasonablePersonPrinciple,"ifyouhaveanydoubtaboutdisplayinginformation,donotdisplayit.

RememberthattheusersoftheWebrepresentacrosssectionofsocietywithitsgoodandbadelements. Becarefulaboutthepersonalinformationconcerningyourself,yourfamily,andothersthatyouputontheWeb. IfyousurftheWeb,youwillnoticethatmanypersonalsitesdonotincludehomeaddressesandphonenumbers. Manyuserskeepthecommunicationatanelectroniclevel—probablynotabadidea.

IfyoudecidetojointheWebsociety,startsmallandsimple. KeepyourgoalsforyourWebpageswithinyourgrasp. Asyourskillsgrow,youcanenhanceyourWebpagestomatchyourskills. Ifyoubuildyourpagesinthismanner,youwillprobablyfindyoureffortsmorerewarding.

1.1.3Clients,Servers,andURLs

∙Clients

∙Servers

∙URLs

∙HowitWorks—theBasicModel

∙BeyondtheBasicModel

∙QuestionstoConsider

Clients

Clientandserveraretwotermsthatarecommonincomputingcontexts,buttheirmeaningsarenotalwaysunderstood.Inaclient-serversetup,aclientapplicationrequestsinformationfromaserverapplicationoraskstheservertoperformsometaskonitsbehalf.IfyourunaWebbrowseronyourcomputerandusethatbrowsertoviewWebpagesfromothercomputers,yourbrowserisconsideredaclient. Whenyou,throughabrowser,requestinformationfromanothersiteontheWeb,thesitethatsuppliestheinformation(say,aWebpageyouwishtoview)isconsideredaserver. 

Servers

Serverapplicationsaretypicallyrunonpowerfulcomputers,sincetheyneedtobeabletoserviceconcurrentrequestsfromanumberofclients.Ontheotherhand,clientapplicationsaretypicallyrunonlesspowerfulcomputers,suchasPCsorworkstations.Youprobablydonotuseyourhomecomputerasaserver,andifyoupublishpagesontheWeb,youprobablydosothroughyourschool,yourcompany,orthroughanindependentISP,whichoperatesthe

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高中教育 > 高中教育

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1