Professional Documents
Culture Documents
2 Cơ sở lý thuyết
4 Demo
4
1. Tổng quan đề tài
Lý do chọn đề tài:
• Sự phát triển mạnh mẽ của Internet
• Nhu cầu khám chữa bệnh được nâng cao
• Áp lực về chất lượng dịch vụ, khả năng điều
trị cũng như đối thủ cạnh tranh của bệnh viện
- Là 1 frameword lập trình web mới - Là 1 phiên bản hiện thực hóa
của Microsoft, ứng dụng mô hình của O/RM có bên trong .NET
MVC vào trong ASP.NET Frameword 3.5
- Ưu điểm: - Cho phép mô hình hóa một
+ Tối ưu ứng dụng và dễ dàng trong CSDL dùng trong các
việc viết code, giao diện lớp .NET
+ designer linh hoạt trong việc thiết - Có thể truy vấn CSDL dùng
kế LINQ cũng như cập nhất/
+ Không sd view state nên trang thêm/ sửa/ xóa dữ liệu
web k bị tăng kích thước => hiệu - Hỗ trợ đầy đủ transaction,
năng hoạt động không bị giảm view và các stored procedure
3. Phân tích thiết kế
Biểu đồ USECASE
System
DangBaiViet
VietBinhLuan
KhachHang QuanLyTinTuc
<<include>> <<include>> NguoiVietBai
QuanLyBinhLuan
QuanLyDanhMucTin
<<include>> <<include>>
<<include>>
QuanLyDMBacSy <<include>>
QuanLyNhatKyHeThong
DangNhap
TongQuanTri
QuanTriVien QuanLyChuyenKhoa <<include>>
<<include>>
QuanLyDMPhanQuyen
<<include>>
QuanLyHinhAnh <<include>>
<<include>>
QuanLyTaiKhoan
QuanLyVanBan
<<include>>
<<include>>
QuanLyVideo QuanLyBenhVien
3. Phân tích thiết kế
Biểu +id
Slide
+id
Department
+site_id
+id
Doctor
+department_id
+id
+name
Role
+type +name_l
đồ
+name_l +cssClass
+title_l +description_l +name_e
+title_e +detail_l +specially_l
+description_l +image_path +specially_e
+description_e +language_spoken 1
+active_flag
+image_path +created_by_user_id +quantification_l
+icon +quantification_e
Lớp
+lu_updated 1
+link +lu_user_id +experiences_l
+css_class +created_date +experiences_e
+ord +name_e 1. .* +specially_interests_l
+active_flag +description_e +specially_interests_e
+site_id 1.. *
+detail_e +image_path
+created_date +ord +gender
+link +timetable_l UserGroup
1. . * +timetable_e
0.. * +alias +id
+background_image +active_flag
+show_on_home +name
1 +ord
0.. * +is_partner
Site
+position 1
+id 1 Video +created_date
+name_company_l
+video_id
+name_company_e
+video_title_l
+favicon
+video_description_l
+address_l
+video_title_e
+address_e
+video_description_e
+map AuditSy stem
+video_thumbnail
+phone
+video_link
+fax 1 0.. * +id
+created_date
+email +user_id
+created_by_user 1
+hotline +action_date
+ord 0.. * 0.. *
+emergency_number +action_description
+status User
+time_open +action_detail
+site_id
+active_flag 1 +active_flag
+id
+meta_description
+full_name 0.. *
+meta_keyword
+user_name 0. . *
+ord
1 +password
+created_date News
+email
+id +address
+title_l +image_path
+title_e +gender
Cate gory +alias_l +created_by_user_id
Docume nt
+alias_e 1 +created_date
+id 0.. *
+image_path +active_flag +id
+name_l
+detail_l +group_id +category_id
+name_e 0. . *
+alias_e +detail_e 1 +type
+alias_l +description_l 0.. * +effective_from_date
+image_path +description_e +effective_to_date
+description_l +category_id +document_name
+description_e +ord +document_code
+parent_id +created_by_user_id +document_date
0. . *
+menu_id +created_date +attach_file_path
+ord +lu_updated +bin_location
1 +description
+created_by_user +active_flag
+lu_user_id +hot_new +owner
1 Comment
+created_date +show_on_home +approved_date
+lu_updated +meta_description 0.. * +id +approved_by
+active_flag +meta_keyword +new_id +created_by _user_id
+show_on_home +views +user_name +created_date_time
+link +copyright +email +lu_user_id
+type +site_id +message +lu_updated
+theme_type +type +created_date +active_flag
+site_id +link +active_flag +site_id
+level +department_id
3. Phân tích thiết kế
Biểu đồ tuần tự Đăng nhập
1 : YeuCauDangNhap()
2 : YeuCau()
3 : HienThiTrangDangNhap
4 : NhapTenTaiKhoanVaMatKhau()
5 : KiemTraCacTruongDuLieu()
6 : GuiThongTinTaiKhoan()
7 : TruyVanKiemTraThongTn()
8 : GuiKetQuaTruyVan
9 : KiemTraXacMinhQuyen
seq KiemTraTonTaiCuaTaiKhoan
10 : HienThiTrangTuongUngVoiQuyen
11 : OLaiTrangDangNhapVaThognBaoLoi
3. Phân tích thiết kế
Biểu đồ tuần tự Thêm tin tức
1 : YeuCauChucNang()
2 : LayDanhMucTin()
3 : LayDanhMucTin()
5 4
6 : NhapThongTinTinTuc()
7 : DanhMaTuDong()
8 : ThemTinTuc()
9 : DuyetTinTuc()
10
11
12
3. Phân tích thiết kế
Biểu đồ tuần tự Sửa tin tức
1 : ChonTinTucCanSua()
2 : LayThongTinTinTuc() 3 : LayThongTinTinTuc()
5 4
6 : LayThongTinDanhMucTin()
7 : LayThongTinDanhMucTin()
8
9
10 : YeuCauCapNhat
11 : CapNhatThongTinTinTuc()
12 : CapNhatTinTuc()
13 : CapNhatTinTuc()
14 : DuyenTinTuc()
15
16
17
18
3. Phân tích thiết kế
Biểu đồ tuần tự Xóa tin tức
1 : ChonTinTuc()
2 : XacNhanXoa
opt XacNhanXoa
3 : ChonXoa()
4 : XacNhanXoa()
5 : XoaTinTuc()
7 6
8
9 : KhongXoa()
10 : KhongXoa() <<destroy>>
11 : Huy()
4. Kết luận