1 Operating Environment:
Client environment: Compatible with the following browsers: IE6, IE7, IE8, Firefox3, opera, etc.
Server-side hardware requirements:
CPU: 2.4Hz or more
Memory: 2G or more
HDD: 20G or more
Server-side Software environment:
Operating system: CENTOS5
Web server: Apache2.2
PHP Processor: PHP5.0
Database server: MySQL5.1
2 Technical architecture and component selection
The system uses the PHP object-oriented MVC three-tier architecture, the system hierarchy diagram is as follows:
Technology and Component selection:
?? php/Object-oriented
?? Mvc
?? Smarty
?? ADOdb
?? GD2
?? PHP DOM
?? Pear/mail
?? Ajax
?? Css/div
?? Javascript
3 Specific Design
html page: header.html (head) footer.html (tail) index.html (home)
register.html (registered users page)
login.html (Landing page)
update.html (User Management page)
updpwd.html (User Change Password page)
result.html (Results page)
listfilm.html (Movie page)
listcinema.html (Cinema page)
listnews.html (News headlines page)
film.html (movie content page)
news.html (News content page)
screenbycno.html (Show Schedule page (depending on theatre))
screenbyfno.html (Show Schedule page (depending on movie))
scr_plan.html (Specific show Information page)
selectfilm.html (Query Movie results page)
PHP class:
controller.do.php
(receives controlleraction call UserAction.class.php or FilmAction.class.php or ScreenAction.class.php
UserAction.class.php (the method that receives the action call usermanager.php)
usermanager.php:
checkuname (query user name exists)
login (login)
adduser (registration)
selectuser (query user information)
updpwd (change password)
Confirmregister (Compare confirmation code)
 UPLV (Modify user status)
sendregisterconfirmmai (send user registration confirmation email) L
FilmAction.class.php (the method that receives the action call filmmanager.php)
filmmanager.php:
Getgood (review: Good)
Getbad (rating: Poor)
Listnews (List of news headlines)
Selectbynno (Query news content)
Listfilms (Movie list)
Selectbyftitle (search by movie name)
SELECTBYFNO (For detailed information about the movie)
AddComment (film review)
Listcomment (browse movie reviews)
GetRecordCount (Paging)
ScreenAction.class.php (the method that receives the action call screenmanager.php)
screenmanager.php:
Listcinema (Cinema list)
Cinema (Cinema information)
Addccomment (published Cinema review)
Ccomment (Cinema review list)
Film (film name)
Cinemas (Cinema screening arrangement)
Getstime (track)
One (show specific information)
Utils.php generate a verification code map and store the verification code in session
db_conf.inc.php Database Connection (reading information from Db_config.xml)
347php009 Movie Information website