1. Trang chủ
  2. » Luận Văn - Báo Cáo

Xây dựng ứng dụng web quản lý tổ chức sự kiện tại trường đại học an giang

86 28 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 86
Dung lượng 4,84 MB

Nội dung

TRlTCRVG DAI HOC AN GIANG KHOA KY THUAT - CONG NGHE - MOI TRl/CfNG NGUYEN HOANG MINH CHI - DTH082036 KHOA LUAN TOT NGHEEP DAI HQC NGANH CU" NHAN TIN HQC XAY DlTNG tTNG DUNG WEB QUAN LY TO CHtTC SU^ KIEN TAI TRlTO^G DAI HOC AN GIANG TRUCiNG DAI HOC AN GIANG ' THUVIEN An Giang, 05/2012 Giang vien huong dan: Ths Ho Nha Phong Xay dung ling dung Web Quan ly to chuc sir kign tai trircmg Dai hgc An Giang LO0[ CAM ON ^^ CO ca Bau tien em xin gili lbi cam on chan den ba me ngu^i da sinh ra, nuoi nang va day em nen nguoi Nguoi da quan tam ch^m soc, Iu6n danh nhtrng tinh cam t6t dep nhat cho em Em xin gui Icri cam on den Ban Giam Hieu Tnrong Dai hoc AnGiang, cung cac quy Thay Co Khoa Ky Thuat-Cong Nghe-M6i Truong da quan tam, day va truyen dat nhirng kien thiic quy bao cho em bon nam hoc qua Em xin cam cm tMy Ho Nha Phong, nguoi da t^^ tinh hudng din, giiip db em rit nhi^u d6 em co th6 hoan kh6a luan Em xin cam on chan den ban be, to^n the nhung nguai than, nhung ngucri da quan tam, lo lang, dong vien giup eni vuot qua nhiing kho khan, thii thach hoc tap va cuoc s6ng, tao them dong lire cho em vfing budc tiSn tdi Mac du em da co gang d6 hoan t6t nhat de tai pham vi kha nang cua minh nhung chac hln khong tranh kh6i nhung thi^u sot Rit mong duac sir thong c^m va chi b^o, gop ^ cha quy thay co va cac ban Em xin chan cam on tltca! Sinh vidn thuc hin: Nguyen Hoang Minh Chi Khoa luan tot nghiepTrang i Xay dung ung dung Web Quan ^^ to ehu-e su- kien t^i tracing Bai hgc An Giang MUC LUC PHfiN A: TONG QUAN1 I.Bat van d!1 II.Ly chondetai PH^N B: PHAN NQI DUNG2 Chucmg 1: MO TA TONG QUAN HE THONG2 I.Mo ta chiic nang h thong2 II.Pham vi he th6ng3 1.Phat biSu v&n dg3 2.Phantichhientrangheth6ng3 2.1.Mo ta hien trang he th6ng3 2.2.Banh gia hien trang3 2.3.Giai phap su dung4 3.Muc tieu cua h^ th6ng4 4.Chiic nang chinh4 HI Banh gi^ kha thi5 1.Kha thi v8 kinh tg5 2.Kha thi vg ky thuat5 Chmmg 2: PHAN TICH HE TH6NG7 I PHAN TICH YEUCAU7 1.Ygu ciu chiic nang7 1.1.Ygu dta vg luu trii, truy xudt7 1.2.Ygu cSu vg nghiep vu7 2.Ygu ciu phi chiic nang8 H PHAN TICH CHUNG8 1.SadgUsecase;8 1.1.Danh sach va vai tro ciia ttrng actor8 1.2.Danh sach va mo ta ngan gpn chiic nang cua tirng Usecase9 1.3.M6i quan he giiia cac actor-usecase'.11 1.4.Mo ta Usecase.•16 2.So d6 Idp37 2.1.Ve so dg ldp37 2.2.Cac thuoc tinh vaphuong thiic ciia tiing lop38 3.Scrdgtuantir40 Chinrag 3: THIET KE HE THONG48 I Thilt ke co-sfr du'lieu48 1.Mghinhquanhe48 2.Luoc dg quan he49 Khoa lu^n tot nghiepTrang ii Xay dyng li-ng dung Web Quan ly to chu-c su- ki^n tai tru-frng Bai hoc An Giang 3.Mo ta cac bang50 4.Rang buoc toan ven 57 II Sff d6 trang web61 m Thiet kl giao dl^n62 1.Giao dien ngu^i dung (User)62 2.Giao dien quan tri vien he thong (Admin)65 PHAN C: KET LUAN VA HUtJNG PHAT TRIfiN70 I.Danh gia tong quan70 1.Kit qua dat dugc70 2.HanchS70 II.Hirdng phat triln:70 PHAN D: PHU LUC71 Phu luc 1: NGON NGC LAP TRINH PHP VA HE QUAN TRJ CO SOf DU" LIEUMYSQL71 I Ngon ngif lap trinh PHP71 1.Gidi thieu so luge ve PHP71 2.PHP kit n6i din MySQL71 n He quan tri ca sd dir lieu MySQL72 Phu luc 2: JQUERY73 I.So- lu-pc vi JQUERY73 II.Hoatdong73 Phu lye 3: SMTP va PHPMailer.,74 I Ly chon giai phap74 H SMTP74 HI PHPMailer74 Phu luc 4: GSMComm75 I Khaiquat:75 n Tinhnang:,75 HI Mot si phu-ffng thirc GSMComm:75 Phu Iyc 5: Google Maps'.76 I Gidithieu76 H Caidat76 TAI LIEU THAM KHAO77 I Tai lieu sach77 H Internet'.77 Khoa luan tot nghiepTrang iii Xay dung i^^ng dung Web Quan ly to ehue sp kien tai trirfrng Bai hoc An Giang DANH MUC HINH ANH Hinh 1: Mo hinh usecase muc 011 Hinh 2: Phan usecase quan ly su kien.12 Hinh 3: Phan usecase guti danh sach didm danh cua phong ban td chute12 Hinh 4: Phan usecase giii danh sach tham gia cua don vi lien quan ,13 Hinh 5: Phan usecase quan ly su kien cua quan tri vien he thong13 Hinh 6: Phan usecase quan ly phong ban14 Hinh 7: Phan usecase quan If vien14 Hinh 8: Phan usecase quan ly phong15 Hinh 9: Phan usecase gop y, binh luan,15 Hinh 10: So dd ldp tdng quat37 Hinh 11: Ldp sir kidn 38 Hinh 12: Ldp Bo phan - Bp mdn38 Hinh 13: Ldp vien phong ban38 Hinh 14: Ldp binh luan38 Hinh 15: Ldp Phong ban38 Hinh 16: Ldp phong:39 Hinh 17: Ldp thong bao39 Hinh 18: Ldp gop y39 Hinh 19: Ldp don vi lien quan39 Hinh 20: Ldp anh sir ki&i39 Hinh 21: Lupc dd tu^n tu - Dang sg kien40 Hinh 22: Lupc dd tu^n tu - Suta thong tin su kien41 Hinh 23: Lupc dd tudn tu - Hdy su kidn42Hinh 25: Lupc dd tudn tu - Siia danh sach tham gia44 Hinh 26: Lupc tuan tu - Dang anh vao su kien 45 Hinh 27: Lupc dd tu^n tu - Suta anh su kien46 Hinh 28: Lupc dd tuin tu - Xoa ^nh su kien47 Hinh 29: Lupc dd quan he49 Hinh 30: So dd trang web61 Khda luan tot nghiSpTrang iv XSy dung ti^g dung Web Quan ly t chic su1 kif n tai trutmg Bai hoc An Giang Hinh31: Giao dien trang chu.„62 Hinh 32: Giao dien dang su kien63 Hinh 33: Giao dien th6ng tin chi tit su kien:64 Hinh 34: Giao dien dang nhap trang quan tri,65 Hinh 35: Giao dien xoa su kien66 Hinh 36: Giao dien quan ly phong ban67 Hinh 37: Giao dien quan ly vien68 Hinh 38: Giao dien quan ly phong69 Khoa luan tot nghiepTrang v Xay drag rag dung Web Quan ly tb chile sir kien tai trirfrng B^i h^c An Giang DANH MUC BANG Bang 1: Mo ta usecase dang nhap16 Bang 2: Mo ta usecase dang xult17 Bang 3: Mo ta usecase dang sir kien18 Bang 4: Mo ta usecase huy sir kin19 Bang 5: Mo ta usecase siia sir kifn20 Bang 6: Mo ta usecase giii danh sach dilm danh21 Bang 7: M6 ta usecase siia danh sach digm danh22 Bang 8: Mo ta usecase xem sir kien23 Bang 9: Mo ta usecase dang anh sir kien24 Bang 10: Mo ta usecase siia anh su kien25 Bang 11: mo ta usecase xoa anh sir kien26 Bang 12: Mo ta usecase xem sir kien dcm vi c6 lien quan27 Bang 13: Mo ta usecase giii danh sach tham gia27 Bang 14: Mo ta usecase siia danh sach tham gia28 B^g 15: Mo ta usecase g^i DSDD cua DVLQ29 Bang 16: Mo ta usecase SDSDDcuaDVLQ'.30 Bang 17: Mo ta usecase SDSDD cua DVLQ31 Bang 18: Mo ta usecase gopy,32 Bang 19: Mo ti usecase xem thong tin sir kien33 Bang 20: Mo ta usecase tim kidm su kien34 Bang 21: Mo ta usecase in, xu^t danh sach va sir kien.-.34 B^ng 22: M6 ta usecase xem phong trdng35 Bang 23: Mo ta usecase Xem th6ngke36 Bang 24: Mo ta RBTV0158 Bang 25: Mo ta RBTV0258 Bang 26: Mo taRBTV 0359 Bang 27: Mo ta RBTV 0459 Bang 28: Mo ta RBTV 0560 Kltoa luan tot nghiipTrang vi Xay dung ting dung Web Quan ly to chijc sir kien tai trirfrng Bai hoc An Giang DANH SACH CAC KY HIEU Actor Mot nguai hoac nhom ngvrai thao tac den he thong (Tac nhan) View Hien thi giao din (Thg Men) Controller La tang tiSp nhan yeu cau ttr Actor va gpi Model thuc Men tuong img vdi yeu cau (L^p diSu khiln) : Model Model Tang truy xu&t lam viec vdi ca so dd lieu Database Lira trd, truy xuat co sd dd (Co sd dd lieu) lieu Use-case Mot chuoi cdc hanh dpng ma (Chuc nang) Actor thuc Men Procedure (Phucrng thdc) Khoa luan tot ngfiiep HuyQ, u Phuorng thuc the Men yeu c^u cua ddi tupng ben trai vdi ddi tuong ben phai Trang vii Xay dung ting dung Web Quan ly t6 chti-e su1 kien tai tracing Bai hoc An Giang DANH MUC CAC TlT VIET TAT mm mm Ti^iJ^fafil- • :' ^•••"• X ngBTa, >i ' " i PBTCSK Phong ban t6 chiic su kien DVLQ Bon vi lien quan GDSDD Gui danh sach diem danh XSKPBBTC Xem sir kien phong ban da t6 chiic XSKBVCLQ Xem su kien don vi co lien quan GDSTG Giii danh sach tham gia SDSBD Sua danh sach dilm danh TTSK BSK Bang su kien 10 BSTG Banh sach tham gia 11 BSBB Banh sach diem danh 12 BSTV Banh sach vien 13 CSBL Co sd du li^u 14 RBTV Rang bupc toan ven Klida luan tot nghiep ( ••^•• Thong tin sir kien Trang viii Xay dung ling dung Web Quan ly to chuc su kien tai trutmg Dai hoc An Giang Ph^nA:T6NGQUAN I Bat van de Ngay vdi su phat triSn manh me ciia cong nghe thong tin, tin hoc da khong xa la ma da trd nen quen thufic va la bo phan khong th^ thi^u moi llnh vuc, bdi vi lcri ich ciia no mang lai la rit ion va vo cung thiet thuc Hoa cung vdi xu hudng chung, cac to chiic va doanh nghiep nhieu lihh vuc khac dang tim moi bien phap dS ti^p can va tung budc tin hpc hoa cac tac nghiep ciia t6 chiic va doanh nghiep minh Nh^m tan dung triet de lpi ich ma cong nghe thong tin mang lai tu nang cao hieu qua cong viec va dat dupe kit qua cao nhat Cung nhu moi Itnh vuc khac, gido due cung can tung budc tin hoc hoa tu khau gidng day d6n quan ly vi ngoai giang day qudn ly cung can duuc tin hoc hoa t6t dl chat luong giao due dupe nang cao todn dien va phu hpp vai xu the ciia then dai Mot nhung cong tac qudn ly kha quan trpng cac truang dai hpc nen can dupe tin hpc hoa la cong tdc quan ly to chiic su kien, vi thucrng viec to chiic su kien dien theo each thu c6ng, ton nhieu thai gian va siic luc ma hi8u qua mang lai khong cao, ben canh cong nghe Web cang dupe phat trien va giiip viec quan ly va to chiic tra nen de dang, thudn tien han Do vay viec thay doi quan ly to chiic su kien theo phuang phdp thu cong, la rat can thiet II Ly chon de tai Truang Dai hpc An Giang dupe dau tu vai quy mo ldn vi vay ling dung tin hpc hoa c6ng tac qudn ly la dieu rat can thiet Hang nam tai truang dai hpc An Giang dien rat nhieu su kien, cong tac quan ly gap nhieu kho khan, nha trucmg phai b6 nhieu thai gian, cong siic, chi phi cho moi su kien nhung hieu qua mang lai chua dupe nhu mong muon Vi vay, van de dupe dat la can co mot giai phap khac tiet kiem han, hieu qnk han de (hay the cong tac quan ly thu cong dang dupe sii dung Tin hpc hoa se la giai phap hang dau giiip ta giai quyet van de Bdi le n6 se giiip ta nhe nhang han khau to chiic, cac su kien dupe luu trii va truy xuat dl dang, thuan tien Ben canh do, ling dyng Web rlt ph6 biSn va quen thupp nen viec dua cong tac quan ly len n8n Web da trd mot xu hudng chung va rat can thiet Nhan thly dupe nhung vSn d8 va dk giai quy^t mot phln nao kho khan cung nhu giiip cho cong tdc quan ly t6 chiic su kien.tai frucmg Dai hpc An Giang tra nen nhanh chong, thuan tien, hieu qui han, vdi sir h trp cda th^y co khoa Ky thuat-Cong nghe-M6i trucmg va su hudng din tan tinh cda thiy H6 Nha Phong em da chpn di tai "Xay dung ung dung Web qu^n \f to chiic su kif n tai Trufrng Dai hoc An Giang" lam dS tai nghiSn ciiu cho khoa luan t6t nghiep cua minh Khoa luan tot nghiepTrang Xay dung ling dung Web Quan ly to chuc sir kien tai trirdng Bai hoc An Giang r ,•""' •••*'•-•'••— * o sif kijii ThM giui bit 3aii " TIM glo tet tboc '• A Ding sir ki^n ?Xemsirkiqii > idDaahsieh > B ' Tb glsn obk nb^ gMaabbsicb •*^ Tim phbng f Thdng fce Dim yf gih daub s^cb diem danb d CAPTCHA: ~.Nbap vbodk^t^maii den bun^ idnb-) Hinh 32: Giao dien dang sir kien Klwa lu^^i tot nghiep Trang 63 Xay dung ung dung Web Quan ly to chuc sir kien tai truxnig Sai hpc An Giang r: fy fMm r Thong tin S\r Kien a • tea sir kifn: H^i tii^o ung d^ug c&ng ngh^ thong tin n5m hgc 2012-2013 •TltM gian bit din: 27/04/2012 22:20:00 ^''sukSn •:Th*l glnn kit thlic: 28/04/2012 22:20:00 *Trang tb^i su ld^ n: Su ki^n chua diln + Xem su ki^h ,> ^Danhsach r • ^r ' ^n^ HuyStrkt^n > ^Tlmphing f[ Thdng kJ 4i dang chi tilt iDuhsich dim vi lien quan ^Danlrstcb ttnm gta Danh sieb dtlm danh t? Th&ng tin binh luatf *'aU'' T.I •Kiraa Kiah Te - Qaaa Til KwhDoa^h (10/04/2012 015739) Hfingnamneat^diircb^io^iin^'f Hqi than trog d^ngcong nghp tbqng tm nqag nijni bqc 2012- 2013 lat thiet tfairc Hlnh 33: Giao (lien thong tin chi tilt su kien Khoa lu^itut nghi^p Trang 64 Xay dung frng dung Web Quan ly to chiic sir kien tai tririmg Bai hge An Giang Giao dien quan tri vien he thdng ( Admin) T" Be dam bio an tota n^n ^^ng ^uitra ^^iiig trlnb 6ayi kbi fioan t^t cfing ^ Hinh 34: Giao (lien dang nhap trahg quan tri Khoa luan tot nghiep Trahg 65 t ki ne X g^ # o Cr ) ?Bophan-Bpmon ?Phong J I | ?Phong ban ? Thanh vien phong ban | ] ?ink sir kirn ?Thong tin Binhhian j ?QuantySirKen B 1***^5J^^|Pt^ {?p?"S> B Click lieie! Le khai giang nam hoc 2012 Ten sip Wen AG-112 ? X AG-102 AG-104 AG-106 AG-10B 20120516175500 2012-0522175500 2012 051918 0000 2012-0530180000 2012052818.0500 2012 0522180500 2012-0505181000 2012-05-22181000 2012-0523181500 2012-0522182000 Thoi gian bat dau 2012-051717 5500 2012-05-23175500 2012-05201800 00 2012-053118 0000 2012 0529180500 2012-052418 0500 2012-06 06181000 2012-0524181000 2012-0524181500 2012-0523182000 Th^i gian ket thuc Coppynght ^ 2012 Unong Dai hpc An Giang— ? X Hoi thao dng dung cong nghe t D X Hop mat chuyen de hoc tap va ? X TO chdc Hoi nghi s

Phong ban } ^ Thong tin Binh lun LNJain lj SpKien Click iiere! QXbamucdachon 16 16 16 16 16 16 16 16 16 06 Zoom Gill chu Xinchio: A^-ln |B8in3fkhsn 'IBinginit ' ' Xay dyng irag dung Web Quan ly to chfrc sir kien tai trirfrng Bai hoc An Giang PHAN C: KET LUAN VA HlTC^NG PHAT TRIEN I Danh gia tong quan 1.Kit qua flat dupe 1.1.Co sd ly thuylt: Trong qua trinh thuc hidn khda luan, nhung yeu clu cua cong vide thuc tl da giiip em: + Cling c6 them kiln thiic da hoc trdn phuong dien ly thuylt + Giup em hilu ro hon quy trinh dl thuc hien mot du an va cung cap cho em kiln thiic vl thilt kl website cho phu hop + Hilu ro hon vl ngon ngu lap trinh PHP, he quan tri co sd da lieu MySQL + Hilii ro hon viec ung dung cong nghej Query vao website + N3m duoc qui trinh gui mail bang phuong phap su dung class PHPMailer thong qua may chu SMTP + Gui tin nhin dien thoai thong qua thu vien GSMComm + Uhg dung Google Maps vao he thdng de dinh vi toa dp dia diem to chuc su kien 1.2.Chile nang cua h^ thong: h| thing da ddp ^ng dupe cac yeu cku da de nhu: + Quan tri viSn he thing: quan ly phong ban, quan ly Bp phan - Bp m6n, quan ly viSn cua phong ban, quan ly phong, qu^n ly su kien, xem va xoa thong tin binh luan, gop y + Phong ban, don vi co quyen user (da dang nhap): to chiic su kien, gui danh sach tham gia, dang anh, binh lu^n, gop y + Ngiroi dung(chira dang nhap): Tim kiem su kifn (ten va ngay), in, xu^t danh sach va su kien, xem thong ke, xem phong trong, xem thong tin chi tiet su kien 2.Han ch! + Giao dien chua dap ling hit nhu cku cua ngudi dung + Chua ap dung nhieu cong nghe mdi vao he thong + Thuat toan su dung chua that su tli uu II Hirong phat trien Tiep tuc tim hieu cac nghiep vu thuc td de cai tien, hoan thien he thong, tu dd co the dua vao cai dat, sue dung (hue tl Cac cdng viec cu thl ckn thuc hien la: + Tim giai phap cai thidn tic dp xii ly cda he thing + Uhg dung cac ky thuat, cong nghe mdi ckn thilt vao he thing + Phan tich, cap nhat them nhilu chiic nang mdi dl hoan thidn he thing + Cai dat, thu nghidm thuc td Khoa luan tot nghiepTrang 70 Xay dung tog dung Web Quan ly to chuc su kien tai trutog Dai hoc An Giang PHAN D: PHU LUC Phu luc 1: NGON NGlT LAP TRINH PHP VA HE QUAN TRI CO S6 Df LIEU MYSQL I Ngon ngir lap trinh PHP 1.Gi^i thieu sff hryc ve PHP PHP (vilt tit hli quy "PHP: Hypertext Preprocessor") la mot ngon ngir lap trinh kich ban hay mot loai ma lenh chu yeu dupe dung dl phat tri^n cac ling dung vilt cho may chu, ma ngubn md, diing cho muc dich t6ng quat No rSt thich hop vdi web va co thS dl dang nhung vao trang HTML Do duac t6i uu hoa cho cac tog dung web, t6c nhanh, nhd gon, cu phap gidng C va Java, di hoc va thdi gian xay dung san phim tucrng d6i ngin hem so vdi cac ngon ngu khac nen PHP da nhanh chong trd mot ngon ngir lap trinh web ph6 bi6n nhit thS giai Doan ma sau minh hoa giup each viet PHP-long vao cac trang HTML de dang nhu th^^ nao: Code: l. 2. 3.Tieu di 4. 5. 6. 9. 10 The se danh diu su bat dim va su kgt thuc cua phdn ma PHP qua may chu bi^t d6 xii ly va dich mS cho dung Day la mot di&n kha tifn loi ciia PHP giup cho viec viet ma PHP tro nen kha true quan va de dang viec xay dung phan giao dien tog dung HTTP 2.PHP kit n6i dgn MySQL -Kit nli co- so- dfr lieu: $conn=mysql_connect("hostname","user","pass"); -Lya chon cu su dir lieu: $db=mysql_select_db("dbname",$conn); -Thyc thi c^u lenh truy van: $result=mysqI_query("SQLcommand",$conn); -Dim si dbng dir lieu bang: Kh6ali4ntotnghifpTrang 71 Xay dpng ling dung Web Quan ly ti chlic sir kien t^i tracing Bai hoc An Giang $count=mysql_num_rows($result); -Lay dong ket qua: $row=mysql_fetch_array($result); -Bong kit noi co so' dfr lieu: mysql_close(); II He quan tri cff sfr dfr lieu MySQL MySQL la he quan tri ca sd dti lieu ma nguon md bien nMt the gidi va dupe cac nha phat triin rdt ua chuong qua trinh phat trien ling dung Vi MySQL la ea sd du li^u t6c dp cao, 6n dinh va _di su dung, co tinh kh^ chuyln, hoat dong tren nhieu he diiu hanh cung cip mot he thing Ion cae ham tien ich rat m^nh.Voi toe d va tinh bao mat cao, MySQL rat thich hop cho cac feig dung co truy c^p CSDL tren internet MySQL miin phi hoan toan cho nSn ban co th! tai ve MySQL tir trang chd No co nhiiu phien ban cho cac he diiu hanh kh^c nhau: phien ban Win32 cho cac hg dieu hanh dong Windows, Linux, Mac OS X, Unix, FreeBSD, NetBSD, Novell NetWare, SGI Irix, Solaris, SunOS, MySQL la mot nhQng yi du rat ca ban ve H| Qu^n tri Co sd dQ lieu quan he sd dung Ngdn ngu truy vin cd ciu true (SQL) MySQL dupe sd dung cho vipc bd trp PHP, Perl, va nhieu ngon ngu khac, no lam noi luu trd nhung thdng tin tren cac trang web viet b^ng PHP hay Perl, Khoa lunn tdt nghiepTrang 72 Xay dyng ihig dung Web Quan ly to ehire sy kien tai trirfrng Bai hoc An Giang Phu luc 2: JQUERY I So1 liro-cve JQUERY j Query la mpt thu vien Javascript kieu mdi, giup chung ta don gian hoa each viet Javascript va tang toe xu: ly cac sp kiSn tren trang web Be thuc hien mot chiic nang nao do, thay vi viSt vai chuc dong lenh DOM JavaScript vcri jQuery thi ta tiSt kiem duoc so dong lfnh Mot s6 tien ich cua jQuery: + Truy cap (access) cac phan tii (elements) npi dung trang web (document) + Thay d6i hinh th^e/giao dien (appearance) cua trang web: Thay d6i class hoac style rieng le + Thay d6i noi dung (content) trang web + Tuong tac vai ngu^i dung + Hieu ling dong: fades, wipes, + Ly thong tin tit Server ma khong cfin load lai trang web (AJAX) + Ban gian hoa tac vu cua JavaScript II Hoat dong Cong viec ca ban nhat cua jQuery la chpn mot pMn cua document d thao tac Biu dupe thurc hifn dua vao cfiu true $() Xem $() nhu ham nhan mot tham so kieu string Vi du: $(document).ready(fimctionO { SC-conten^-addClassChighlight'); }); Trong vi du tren, chiing ta da chpn tit ca cac phn cua document c6 class la content Va addClass() la phuang thiic chen mot class mai vao doi tuong M6t s6 each chpn $0: + Chpn theo ten Tag, vi dp: $('p') + Chpn theo ID, vi dp: $('#author') + Chpn theo class, vi dp: $('.content') + Chpn theo npi dung ben trong, vi dp: $('.content:contains(noidung)') Khoa limn tot nghiepTrang 73 Xay dung ung dung Web Quan ly to chu-c sir ki^n tai trirfrng Dai hoc An Giang Phu luc 3: SMTP va PHPMailer I Ly chon giai phap Trong ngon ngQ PHP ham mail() la ham chuyen dung di guri email Nhung mpt vin di tin t^i song song la khong ph^i host nao cung bat ham VI cac 11 chinh: + Tin bo nhd, niu webmaster gud mail theo mot danh s&ch dM Vi ham mail() cho phep gui toi nhigu dia ehi cimg luc, va khong phai he th6ng nao cung c6 kha nang cung ^ing du + Webmaster guri nhigu tin rac, thg la ip gui email (hie ip cua host) bi cho black list (vi du nhu cua Gmail) Toan bo mail guri tir server dgu bi dan mac la SPAM + Va vo van digu bit loi khac Khi do, giai phap tot nhat khong sii dimg ham mail() la guri email thong qua mot may chu khac bing may chu SMTP va sii dung class PHPMailer II SMTP Dg kit nii duoc vdi may chii SMTP thi doi hoi tii thiiu tham si la: SMTP Host, SMTP Username, SMTP Password: + SMTP Host: nha cung cip dich vu mail ma dua SMTP khac nhau(Gmail va cac mail sur dung co chi Google Apps thi co dia chi Host la smtp.gmail.com) + SMTP Username va SMTP Password chinh la account email Code kit nii: $mail->SMTPSecure = "ssl"; $mail->Host = "smtp.gmail.com"; $mail->Port = 465; $mail->Username = "mailAdmin"; $mail->Password = "passwordAdmin"; III PHPMailer La mot class chuygn dung dg guri email qua SMTP va hoan toan khong cin host phai md ham Mail(), class phpmailer kha don gian, no cung cip kha nhigu thuoc tinh va phuomg thiic cho cac van dg cua chiing ta, kg ca dinh kem trohg mail Kltoa luan tot nghiepTrang 74 Xay dung tog dung Web Quan ly to ehto sy kien tai trufrng Bai hoc An Giang Phu luc 4: GSMComm I Khai quat: + GSMComm la thu vien truyin thong cho dien thoai, chu yiu la thuc hiin cac cong viec lien quan den tin nhan thfing qua he thong mang GSM + Mo hinh hoat d6ng su: dung GSMComm: Mo hinh hoat dong GSMComm II Tinhnang: + Quan ly tin nhdn SMS: gui, dpc, xoa, luu trii va xult cac tin nh^n nhan ducrc + Quan ly danh ba: tao, xoa, doc, nhap va xuit muc danh ba + Quan 1^ dien thoai: thong tin chung, thiSt ldp l^i cdu hinh, nhap ma PIN + H tro thong bao v6 thu moi cung nhu chuygn ti^p chung true tiSp vao tog dung + Phat hien k6t n6i / ngdt k6t n6i dien thoai m Mot s6 phirong thiic GSMComm: + Mo- kit noi: comm.OpenO; + Dong ket noi: comm.Close(); + Kit noi dien thoai v6i may tinh: comm = new GsmCommMain( int portNumber, int baudRate); + Guitinnhin: SmsSubmitPdu gui = new SmsSubmitPdu( text, numberPhone); comm.SendMessage(gui); + Doc tin nhan: comm.ReadMessage^ int index, int storage); + Xoa tin nhan: comm.DeleteMessage( int index, int storage); Khoa luan tot ngltiep Trang 75 Xay dung ling dung Web Quan ly to chire sir kien tai trirfrng Bai hoc An Giang Phu luc 5: Google Maps I Gioithieu Google Maps la mot dich vu ban true tuyen mien phi dugc cung cap boi cong ty Google thong qua cac trang web nhu Google Maps, Google Ride Finder va dugc • nhung vao cac trang web No cung cap cac dich vu khac cho nguoi xem nhu : Ban di duong ph6, anh chup ve tinh, tim kiem 16 trlnh dubng di, tim kiem dia chi II Caidat B6 chen Google Maps vao website, chung ta phai chu y d6n cac budc co b^n sau: -Khai bao sir dung Javascript cua MAP: Chav tren Localhost Chav tren Hosting -Khai bao phan di hiin thi ban di: Var map = new google.maps.Map(document.getElementById("div_id"), myOptions); -Viet ham chiic nang (function) de tao doi tugng ban do: function initialize Q{ -Xac dinh to^ dia li cua doi tugng tren ban do: var myLatlng = new google.maps.LatLng(toadol,toado2); -Gan d6i tugng tren ban d6 tu the body bSng thuoc tinh onLoad di dgc ban di: Klwa luan tot nghiepTrang 76 Xay dung ling dung Web Quan ly to chirc sir kien tai trircmg Dai hoc An Giang TAI LIEU THAM KHAO I Tai lieu sach [1] Trln Van Giau 2011 Khoa lu^n t6t nghiep Xay dung website qu^n ly sii dung phdng hoc tai Truong B^i hoc CSn Tho [2] Nguyin Ti^n Llm 2009 Khoa luan t6t nghiep xay dung ling dung web htra lap ke hoach va phan cong giang day theo he thong tin chi tai truong Dai hpc An Giang [3], Le Dinh Hi6u, Pham Thi Trang 2011 Thuc tap cu6i khoa ThiSt kg Website http ://cholongxuven.net II Internet 1.http://www.nhatnghe.com/forum/showthread.php?t=109294 2.http://nguyenvocaomuih.info/php-2/tao-file-excel-bang-php-exporting-data-to- excel-with-php.html#more-13 3.http://www.thoiso.com/diendan/viewtopic.php?f=57&t=1683 4.http://webscripts.softpedia.com/dvn-postdownload.php?p=26385&t=0&i=2 5.http://www.ttv.vn/Tao-Form-de-upload-file-len-Server.html 6.http://niit.vn/khoa-hoc/541/phpa.html 7.http://minhnhut.info/gui-email-tu-php-thong-qua-smtp-voi-phpmailer/ 8.http://www.trieudo.com/tin-tuc-va-tu-van-ve-vi-tinh/106499-php-la-gi.html 9.http://vi.wikipedia.org/wiki/MvSOL 10.http://thuthuatvietnam.com/home/cach-nhung-tinvmce-lam-bo-soan-thao-cho•website.html/ 11.http://www.math.hcmus.edu.vn/~lvluven/trr/Chl Co%20So%20Logic.pdf 12.http://www.scampers.org/steve/sms/libraries.htm^^gsmcomm requirements 13.http://www.google.com.vn Khoa luan tot nghiepTrang 77 ... Dang nhap va dang xuit he th6ng + Quan ly phong ban + QudnlyBophan-Bomon + Quan ly danh sach vien ctta phong ban + Quan ly phong + Quan ly su Men + Xoa thong tin binh luan, gop y Phong ban Dang... hoc An Giang 1.3.2 Miic a Phan usecase quan Iy sy kien | Hinh 2: Phan usecase quan Iy sy kien b Phan usecase giii danh sach diem danh cua phong ban to chiic sy kien Hinh 3: Phan usecase giii danh... thong e Phan usecase quan ly phong ban Khoa luqn tot nghiSp Trang 13 Xay dung rag dung Web Quan ly to chirc sir ki^n tai trirong Dai hqc An Giang Hinh 6: Phan usecase quan ly phong ban f Phan usecase

Ngày đăng: 01/03/2021, 09:23

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w