Você está na página 1de 4

Web App-PHP Programming

01/20/2012 ...................................................................................................................................................Learning/PHP/Assign01-PHP.doc

JilMac@Mac-Rand.com http://JilMac.com

M-F 6am-8pm, S-S 8am-8pm JilMac 802-254-8628 c:802-451-8288

1. Introduction 2. Reading Assignment


3. 4. 5.

Discussion Assignment worth up to 2 points Code Examples Assignment worth up to 3 points CHA times will !e worth up to 1 extra credit point per w"
===========================================================

1. Introduction
#ur $oogle Class %e! &age is https'((sites.google.com(site()ilmactraining(we!*app*programming

site that is a+aila!le all the time.

his is a $oogle his is where ,ou can also re-erence other classes I teach. and their handouts.

%e will !e using 2 /hared %e! Host spaces * and some students ma, !e read, to set up their own /hared %e! Host * or use a /hared %e! Host the, alread, ha+e. / %E0' his area is created !, 1/C21ermont /tate College and will !e a+aila!le the -irst wee" o- class' his is a 1/C /tudent %e! 3stwe!4 ser+er. It is loc"ed down * and can not Create a Data!ase. 5pdate or Delete -rom a data!ase. %e will !e outgrowing this a!out 1(2 wa, through the semester. 6# E' the 113/& in the lin" a!o+e ,ou ma, -ind lin"s that ha+e a V12 !"#$"V12SP"t#"

http://stweb.ccv.edu/CIS-2340-VO01-V13SP/jam08260

V13SP"or re-er to another class li"e"CIS-2147 i- ,ou get a 474 page not -ound error * su!stitute the class and
semester -or ours.
$oDadd, 891ER8#6 . 1 * this is one o- m, personal /hared %e! hosts I use -or eaching. Each student who 5nder Acti+ities A//I$68E6 / are where ,ou get the lin"s to the o+er+iew -or the wee". #r ,ou can post general :uestions. ;#R58/ < is where I &ost Announcements that are emailed to ,ou

Each wee"(assignment a Research Assignment will !e assigned. It will !e worth a point. %hen ,ou post ,our research this will !e C#6/IDERED ,our A E6DA6CE -or the wee". I- ,ou are una!le to do the research during this wee" * please state it here so ,ou will ha+e an attendance 3important -or -inancial aid4 %hen ,ou are a!le to do the research * please post ,our answer in the discussion so ,ou can recei+e a point toward ,our -inal grade. Answers to this Research :uestion should !e posted !, /unda, o- that wee" * to recei+e attendance. /ince our class will ha+e 1 research :uestion worth 2 points worth 1 point -or posting in 8oodle = 1 point -or adding it to ,our / %E0 site. And 3 code examples re-erred to as 0e-ore = A-ter>s * ,ou can recei+e up to ? points per wee". here will also !e an extra credit CHA that ,ou can attend * or watch and comment on. -or 1 point per Assignment(wee". #6@9 the research assignment is due !, /unda,. CC1 highl, recommends that ,ou do this assignment as earl, in the wee" as possi!le. ;or man, classes * this is the most important assignment o- the wee" * in a &rogramming class * I thin" D#I6$ the code 30e-ore = A-ter4 is the most important * howe+er !eing a!le to discuss assignments is important -or those that want to go on to !e 8anagers. &ro)ect @eaders. etc.

! "om#thin$ i" con!%"in$ & pl#a"# call, o' #Mail, o' a"( a )%#"tion in th# *i"c%""ion. ! "om#thin$ i" holdin$ +o% %p and +o% n##d a !a"t an",#' & th#'# i" a -./.R01 )%#"tion. 2h#'# ,ill 3# a -./.R01 *i"c%""ion 2h'#ad #ach 0""i$nm#nt, ,ill t'+ to an",#' +o%' )%#"tion" ,ithin 48 ho%'". 4o,#5#' & th# F0S2.S2 ,a+ i" to $#t m# i" 6all MF 6am-8pm 7 S-S 8am-8pm o' 3+ appointm#nt. 0l"o "#ndin$ #mail to JilMac@Mac-Rand.com o' 8ilmac.mac'and@$oo$l#.com i" 3#tt#' than %"in$ th# 9S6 #mail & 3#ca%"# that do#" /:2 con"i"t#ntl+ !o',a'd #Mail. ;l#a"# dont wait to contact m# %ntil +o% a'# n#a' h+"t#'ical < i! +o%='# "pinnin$ +o%' ,h##l" & that=" a $ood tim# to "ta't contactin$ m#. 0nd +o% can call/#mail m# a co%pl# o! tim#". 669 in"t'%cto'" ha5# oth#' 8o3" & non# o! %" can 3# !%ll tim# in"t'%cto'" & it=" th# '%l#" & "o ,# ha5# to di5id# o%' tim# 3#t,##n m%ltipl# cli#nt", =m 8%"t ,o'(in$ on "om#thin$ #l"# & "o i! +o% n##d m# contact m#, i! don=t $#t 3ac( to +o% & contact m# a$ain. /:2.: >o% can al"o contact ?a'#n 6a"# & th# on-1in# ad5i"o' !o' thi" cla"". 4#'# i" h#' data, "h# i" h#'# to h#lp +o% too. Aaren Case. Coordinator o- Academic /er+ices * #nline Communit, College o- 1ermont 32 College /treet /uite 2 8ontpelier. 1 7?B72 C72 C2C 47B7 "aren.caseDcc+.edu

Moodle
Each wee" * we will wor" on an Assignment. learning -rom di--erent chapters -rom the ext 0oo". 0asicall, this is two chapters per Assignment. Each wee" we will also ha+e a Research Assignment' Assign71 are general E$et to "now each otherE :uestions. Each wee" we will ha+e 3 0FA20e-ore = A-ter Code' Assign71 is to set up ,our ; & so-tware and upload ,our index.php or index.html -ile. 9ou are also welcome to load ,our last semesters %e! /ite or a /ite ,ou want to wor" on.

%hen ,ou log into 8oodle * and select this course 91@S; 6 S-24@0-9:01

8oodle Rooms Left-Navigation ,ou will see'

My Courses o Clic" on V13SP CIS- !3"-V#"1 Web App$i%ation Programming &a%' Wee()Assignment

o o o o o o o o

Assignments < Each wee" is !ro"en down into the Assignment = $eneral Guestions #pen *anuary - *anuary +

N&WS ,orums - %here I post that the Announcements ;orum * Assignment * gi+e ,ou the location o- where the assignment in-ormation is ;orum * Research * where ,ou can post that ,ou ha+e completed the Research and are read, -or me to grade ;orum * 0FA 0e-ore = A-ter examples post here when ,ou ha+e completed them and are read, -or me to grade ;orum * $eneral Guestions * where ,ou can enter an, :uestions ;orum * %here in-ormation a!out the %ee"l, CHA is posted

2. Reading Assignment
.ea/ing Assignment * 9ou can start to Reading' Introduction and Chapters 1 = 2 o- the text.

:%' 2#At Boo(=" accompan+in$ C#3 ;a$# i" http://,,,.la''+%llman.com/3oo("/php-!o'-th#-,#3-5i"%al)%ic("ta't-$%id#-4th-#dition/ Sc'oll to th# 3ottom o! th# pa$# and *o,nload th# "o%'c# cod# !il#:
phpvqs4_scripts.zip (86 KB, last modified 03/03/2012)

6lic( th# Downloads 20B 3#lo, th# pict%'# o! th# 3oo( 6lic( D*o,nload th# "o%'c# cod#E Sa5# th# .Fip !il# to +o%' ha'd d'i5# o' oth#' m#dia GnFip th# !il#" 2o do,nload nt'o, 6hapt#' @ 7 th# nd#A 6lic( th# am!le "ontent 20B 3#lo, th# pict%'# o! th# 3oo( 6lic( D0natom+ o! an 08aA 0pplicationE 6lic( DSampl# ;a$#"E i" nt'o, 6hapt#' @ and th# nd#A in a @5 pa$# .pd! !il# GnFip th# !il#"

I will !e adding to and updating our our class we! page http://"t,#3.cc5.#d%/6 S-2@40-9:01-91@S;/8am08260 each wee". 0reathe and @augh * it -uels the !rain with #x,gen * which is important in the learning processH

#. Discussion/Researc$ Assignment % 2 !oint


Assign"1-.easear%' is to0 Intro/u%e yourse$f to me and ,our classmates. ell us a!out what other classes ,ou ha+e ta"en. what ,ou do -or wor"(ho!!ies(passions. I- ,ou ha+e chosen a degree or certi-icate. %hat ,our goals are -or this class. %hat t,pe o- computer ,ou ha+e %in(8ac. operating s,stem I&. 1ista. #/. what so-tware applications ,ou use. 8icroso-t. %ord. Excel. Access. &hotoshop. ;lash. Dreamwea+er. etc. %hat ,our -a+orite we! site is. etc. %hat do ,ou thin" o- our ext 0oo"s we! siteJ And an,thing else ,ou thin" would help me when it comes time to explain a new concept * so I "now something to attach the concept to.

&."ode '(am!les)*e+ore , A+ter % # !oints


%ach"wee&"'#u"w())"be"ass(*+ed"3"c#de"e,amp)es."" #$"#u$"-($st"wee&/ass(*+me+t"'#u"w())"$ece(ve"a"p#(+t" each"-#$"c#mp)et(#+"#-"1."2."/"3. 1. Set"up"a+" 0P"c)(e+t"t#"access"#u$"S01%2"space."3($ect(#+s"a$e"(+"3#cume+ts. 2. " http://stweb.ccv.edu/CIS-2430-VO01-V13SP/jam08260/3#cume+ts "*et"" 0P.d#c"#$" 0P.pd-" 3. I-"'#u"a$e"us(+*"a"PC"-"1(+SCP"(s"a"pac&a*e"supp#$ted"b'"CCV"but"the$e"a$e"ma+'"'#u"ca+"ch##se" -$#m. I-"'#u"a$e"us(+*"a"4!C"-"5##*)e"64ac" 0P"C)(e+t6"-"the$e"w())"be"a"va$(et'"t#"ch##se"-$#m.""7#u"w())" set"up"the"pa$amete$s8"the"same"as"a"1(+d#ws" 0P"C)(e+t"-"s#"use"that"setup"-$#m"%,te$+a)"9(+&s."

2.:"C$eate"a+ index.htm"-()e"a+d"put"(t"(+"the"$##t"#-"'#u$"S01%2"space.""P)ease"put"the"+ame"#-"the"c#u$se." your name,"a+d"a")(tt)e"b(t"ab#ut"'#u$se)-"a+d"what"'#u$"*#a)s"a$e"c#m(+*"(+t#"the"c)ass.""I-"'#u"have"a+" (+de,.htm"#$"(+de,.htm)"pa*e"-$#m"a+#the$"c)ass"e,.""1eb"3es(*+."#$"3(*(ta)"Ima*e"4a+(pu)at(#+."#$" I+te$med(ate"1eb"3es(*+."#$" )ash."#$"...""I"e+c#u$a*e"'#u"t#"sta$t"w(th"(t"-"a+d"add"#+.""I"a)s#"e+c#u$a*e"'#u" t#"c#mb(+e"th(s"c)ass"w(th"a+#the$"c)ass/p$#ject/w#$&"ass(*+me+t"-"app)'(+*"what"we"a$e"d#(+*."a+d"sha$(+*" that"app)(cat(#+"ma&es"the"p$#jects"$(che$. 3.:""C$eate")(+&s"#+"'#u$"(+de,.htm)"t#"!ss(*+me+t01"-"!ss(*+me+t14."a+d"P$#ject"Out)(+e."P$#ject."a+d" %,t$a"C$ed(t"w#$&."" #$"th#se"that"have"add(t(#+a)"web"s(tes"'#u"ma'"wa+t"t#"add")(+&s"t#"them"as"we))."" !+'th(+*"'#u"w#u)d")(&e"t#"sha$e"w(th"the"c)ass"sh#u)d"be")(+&ab)e"-$#m"'#u$"(+de,.htm)"pa*e."";ust")(&e"a" $ea)"web"s(te.""4'"c)asses"a+d"the"w#$&"'#u"tu$+"(+"sh#u)d"a))"be"access(b)e"-$#m"'#u$"(+de,.htm) 4. <O0%:""I-"'#u"a$e"+ew"t#"CCV=s"S01%2">Stude+t"1eb"Se$ve$:"#$"(-"!<7"a+d"I"h#+est)'"mea+"a+'"#-" th(s"(s"c#+-us(+*"-"p)ease"ca))"me"a+d"we"ca+"wa)&"th$#u*h"(t"t#*ethe$.""It"(s"much"eas(e$"-#$"me"t#"w#$&" #+e-#+-#+e"w(th"'#u"a+d"'#u$"c#mpute$"s'stem"a+d"*et"a))"the"&(+&s"w#$&ed"#ut"-"the+"t#"wa(t"u+t()"'#u" a$e"-$ust$ated.""9et=s"sta$t"#ut"as"sm##th)'"as"p#ss(b)e.""Never wait to call"-"just"*(ve"me"a"ca))"a+d"we=))" w#$&"t#*ethe$.""4- "6am-8pm"S-S"8am-8pm.""802-2?4-8628""I-"these"t(mes"d#"+#t"w#$&"w(th"'#u$" schedu)e"-"e4a()"me"a+d"*(ve"me"a"-ew"#pt(#+s"what"w())"w#$&.""I=m"usua))'"up")ate$"-"I"just"ca+=t"$ece(ve" (+c#m(+*"ca))s"-"but"I"ca+"ca))"'#u"a-te$"8pm.

-. "HA. % 1 !oint e(tra credit


%ach"1ee&"-"I"have"a"set"t(me"whe$e"I"p$ese+t"mate$(a)"a+d"a+swe$"stude+t8s"@uest(#+s.""It"(s"<O0" $e@u($ed"-"but"(t"(s"+(ce"t#"t#uch"base"w(th"stude+ts"a+d"a+swe$"@uest(#+s"$ea)"t(me.""I"a)s#"*#"#ve$"the" chapte$"e,amp)es"a+d"p$ese+t"mate$(a)"-$#m"s#u$ces"#the$"tha+"#u$"te,t"b##&. P$ev(#us"Semeste$=s";avaSc$(pt"CA!0s"ca+"be"v(ewed:"" http://s(tes.*##*)e.c#m/s(te/j()mact$a(+(+*/(+te$+et-p$#*$amm(+*-js/js-chat-$ec" 0h(s"semeste$"I"am"#+)'"ava()ab)e"-#$"Chats"#+"4#+da'"eve+(+*s"8:30"-"B:30pm."wh(ch"has"bee+"a" p#pu)a$"eve+(+*."""I-"'#u"a$e"u+ab)e"t#"atte+d"-"a"$ec#$d(+*"#-"the"chat"w())"be"ava()ab)e"-"'#u"ca+"$ece(ve" up"t#"1"p#(+t"pe$"wee&"-"depe+d(+*"#+"h#w"much"'#u"c#mme+t"#+"the"chat. I-"'#u"have"@uest(#+s"#$"w#u)d")(&e"t#"t$'"a"C#++ect"Sess(#+"w(th"me"-"p)ease"just"ca)). CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

Você também pode gostar