Pradeep Project Bc a 2014

download Pradeep Project Bc a 2014

of 56

Transcript of Pradeep Project Bc a 2014

  • 8/12/2019 Pradeep Project Bc a 2014

    1/56

  • 8/12/2019 Pradeep Project Bc a 2014

    2/56

  • 8/12/2019 Pradeep Project Bc a 2014

    3/56

  • 8/12/2019 Pradeep Project Bc a 2014

    4/56

  • 8/12/2019 Pradeep Project Bc a 2014

    5/56

    CONTENTS

    1 . I N T R O D U C T I O N

    1.1 Organization Profile1.2 Synopsis2 . P R O B L E M D E F I N I T I O N S 2.1 Existing System2.2 Proposed System3. SYSTEM ANALYSIS

    3.1Feasibility Analysis4.SYSTEM REQUIREMENTS4 . 1 H a r d w a r e R e q u i r e m e n t s 4.2 Software Requirements5.SYSTEM DESIGN

    5

    R diagram5 . 2 D a t a D i c t i o n a r y5 . 3 D a t a F l o w D i a g r a m 6.SYSTEM DESCRIPTION

    7 . S O U R C E C O D E

    8. SYSTEM TESTING

    9 . S N A P S H O T S A N D R E P O R T S

    1 0 . F U T U R E E N H A N C E M E N T S

    1 1 . C O N C L U S I O N

    1 2 . BIBILIOGRAPHY

  • 8/12/2019 Pradeep Project Bc a 2014

    6/56

    INTRODUCTION

    The main purpose that banks have been serving since theirinception is keeping our money safe for us. While keeping our

    money safe, they also let us earn a certain amount of interest onthe money deposited with them. Traditional banks have been doing this,and internet banks continue the same function. The only difference is inthe way the transactions are made. They all know about internet bankingand most of us use it quite often as well, but few of us ac tuallyunderstand about the history of internet banking and how i tal l ca me ou t. Kno win g the history of internet banking can beincredibly useful, especially since it will allow us to have more

    respect for the little things that we take for granted. In ternet bankinghas been around for quite a few yea rs now, but has real lyonly become prominent over the past year or so inpart icular. Internet banking offers an array of d ifferentad va nt ag es to the user, including account balances and historyincluding year-to-date information, the ability to transfer moneyfrom one account to another and to payees for bill payments,check history, reorders, and stop payments, check credit cardbalances and statements.Onlineloan applications, secure interactive messaging withsta ff, and much more . I nte rnet ban kin g basically allows youto be able to do everything that you can in your regular bankinginstitution, only with the benefit that you can do it all right fromthe convenience of your own home. Not only is this greatbecause you can be comfortable and have peace of mind knowingthat you can keep track yourself of all your banking issues, but as wellit allows for more ease because you never have to worry about rushing

    out and making it to the bank.

  • 8/12/2019 Pradeep Project Bc a 2014

    7/56

    SYNOPSIS

    Online Banking System

    With cybercafs and kiosks springing up in different citiesaccess to the Net is going to be eas y. In ter ne t ban king (a lsoreferred as e banking) is the latest in this series ofte chno logi ca l wonders in the recent past involving use ofInternet for delivery of banking products & services. Even theMorgan Stanley Dean Witter Internet research emphasized that Web ismore important for retail financial services than for many otherindustries. Internet banking is changing the banking industryand is having the major effects on banking relat ionships.Banking is now no longer confined to the branches wereone has to approach the branch in person, to withdraw cashor deposi t a cheque or request a s tatement of ac counts. Intr ue In te rn et ba nk ing, an y in qu ir y or transaction is processedonline without any reference to the branch (anywhere banking) at anytime. Providing Internet banking is increasingly becoming a"need to have" than a "nice to have" service. The net banking, thus,now is more of a norm rather than an exception in many developed

    countries due to the fact that it is the cheapest way of providing bankingservices.

  • 8/12/2019 Pradeep Project Bc a 2014

    8/56

    PROBLEM DESCRIPTION

    Existing System

    Exist ing system is the t radi t ional banking, wherecu stomer s ha ve to go th ro ug h th e lo ng queue, time wasted andstill wouldnt have access to efficient and effective banking system.

    Proposed System

    Considering the stress and time taken to go to bank and dotransaction. The development of a well structure andsecured online banking system will allow customer to performobjectives like, creating a banking system that is easilyaccessible by customers from the comfort of their homes, offices.Reduce the flow of human traffic and long queues at banks; Promoteefficient and effective ba nk ing fo r th e ba nk s by fo cu si ng onthose services that s t i l l require physical presence atth e banking hall. Provides intra-bank funds transfer servicesto their customers. Keep a detailed log of customer transactionswith the bank on his account. Generate the statement of account of aselected period of time for customers. And Provide a customerrelationship services.

  • 8/12/2019 Pradeep Project Bc a 2014

    9/56

    SYSTEM ANALYSIS

    System analysis is a logical process; the objective of this stage isnot actually to solve the pr oble m b ut to dete rmin e wha t must

    be done to solve the problem. The basic object ive of theanalysis s tage is to develop the logical model of thesystem using tools such as UML (Unified modeling language).\

    MAIN OBJECTIVE

    To reduce the manual and paper workTo provide quick access.

    Easy maintenance of records

    FEASIBILITY ANALYSIS

    Feasibi l i ty is the determination of whether or not a projectis worth doing. The processes is followed in making thisdetermination is called a feasibility study. Feasibility study is thetest of system proposal according to its workability, Impacton the organization ability to meet usersneeds, and effective use ofresources. The result of feasibility study is a formal proposal. This issimply a reporta formal document detailing the nature and scope ofthe proposed solution .The main objective of a feasibility studyis to test the technical , social and economic feasibi l i tyof developing a computer system. This is done by investigationthe existing system in the area under investigation andgenerating ideas about a new system. On studying the feasibility

    of the system, three major considerations are dealt with, to findwhether the automation of the system is feasible.

  • 8/12/2019 Pradeep Project Bc a 2014

    10/56

    Software Requirements

    Application Requirements

    Microsoft Windows 2000PHP (Apache Tomcat 5.5)

    Database Server

    My SQL 5.0.

    Client and Browser

    Microsoft Internet Explorer (6+).Mozilla Firefox.

    Hardware Requirements

    Hardware Requirements (Minimum)

    Pentium IV 233MHz.128 MB RAM.250 MB free hard disk space.

    Communication Interface

    Client on Internet will be using HTTP/HTTPS protocol.

    Client on Intranet will be using TCP/IP protocol.

    A Web Browser such as IE 6.0 or equivalent.

  • 8/12/2019 Pradeep Project Bc a 2014

    11/56

    Data Flow Diagrams

    This Diagram server two purpose.Provides an indication of how date is transformed as it moves

    through the system.Disputes the functions and sub functions that transforms the

    dataflow.The Data flow diagram provides additional information that

    is used during the analysis of the information domain, andserver as a basis for the modeling of functions.

    T h e d e s c r i p t i o n o f e a c h f u n c t i o n p r e s e n t e d i n t h eD F D i s c o n t a i n e d i s a p r o c e s s specifications called asPSPE

  • 8/12/2019 Pradeep Project Bc a 2014

    12/56

  • 8/12/2019 Pradeep Project Bc a 2014

    13/56

  • 8/12/2019 Pradeep Project Bc a 2014

    14/56

  • 8/12/2019 Pradeep Project Bc a 2014

    15/56

  • 8/12/2019 Pradeep Project Bc a 2014

    16/56

    ER-Diagrams

    The entity Relationship Diagram (ERD) depicts the relationshipbetween the data objects. The ERD is the notation that is used toconduct the date modeling activity the attributes of each data objectnoted is the ERD can be described resign a data object descriptions.

    The set of primary components that are identified by the ER-Diagramare

    Data object

    RelationshipsAttributesVarious types of indicators.

    The primary purpose of the ERD is to represent data objects and theirrelationships

  • 8/12/2019 Pradeep Project Bc a 2014

    17/56

  • 8/12/2019 Pradeep Project Bc a 2014

    18/56

  • 8/12/2019 Pradeep Project Bc a 2014

    19/56

  • 8/12/2019 Pradeep Project Bc a 2014

    20/56

  • 8/12/2019 Pradeep Project Bc a 2014

    21/56

    Accessing view:

    User after logging into his/her account a page is displayed with the basic

    requirements1) Balance Enquiry.2) Funds Transfer User can perform various actions on his/her account.

    Name of Use-Case:

    Balance enquiry.

    Description:

    Client can view the balance left in his account, if once he hasentered into his account.

    Preconditions:

    The client has already been logged in.

    Funds Transfer:

    Upon the request the user can transfer funds from hisaccount toother accounts.

    Mini statements:

    He also can take a mini statement print out upon his requirement.

  • 8/12/2019 Pradeep Project Bc a 2014

    22/56

  • 8/12/2019 Pradeep Project Bc a 2014

    23/56

    Users of the system:

    In this online internet banking system, the users are

    AdministratorsCustomers

    Administrator: He is the super user responsible formanaging system users , takingsystem backup, generat ing reports , maintaining organizat ion det ails , Sta rtin g Sess ions and end ing Sessions andalso manages various requests from different Types of users.

    Providing Username, Password and other informationrequired for the users to start an account.28

    Starting Sessions:The Administrator creates the system users and will beassignedwith the different roles. He is also responsible to startthe session when a particular user wantsto use the system everytime (It is automatically managed setup).

    Managing Data Backup:

    The Administrator is responsible for managing entiredetailsby taking the backup periodically. He also takes the Backup ofthe database in order to p rev ent los s of da ta on sys temcrashes or in order to prevent malfunctioning. He can takea backup of entire database or a particular section.

    Crash Recovery:

    The Administrator manages the crash recovery at the t imeof system crash or failure occurs.

  • 8/12/2019 Pradeep Project Bc a 2014

    24/56

    Ending session:

    The administrator is responsible for ending the sessionwhen the particular user logged out of the system (It is automaticallymanaged setup).

    Customer (Normal/others):Ordinary customers have a user name & password with whichthey can login into their account. They can perform all thetransactions such as funds transfer, balance enquiry etc by sitting attheir home on internet.

    Login:

    U s e r c a n l o g i n t o t h e s y s t e m b y p r o v i d i n g a p p r o p r i a t e u s e r n a me a n d password provided by the administrator.

    Selecting the Account:

    After logging in the user is provided with a screen showing thedetails of accounts and he selects one of the account in order to performthe transaction.

    Balance Enquiry:

    He can view the balance left in his account, if once he has entered intohis account.

    Funds Transfer:

    Upon the request the user can transfer funds from his account toother accounts.

    Mini statements:

    He also can take a mini statement print out upon his requirement.30

  • 8/12/2019 Pradeep Project Bc a 2014

    25/56

  • 8/12/2019 Pradeep Project Bc a 2014

    26/56

  • 8/12/2019 Pradeep Project Bc a 2014

    27/56

  • 8/12/2019 Pradeep Project Bc a 2014

    28/56

    Overall Description

    The Online banking Application project will be divided into 4 modulesnamely:

    LoginRegistrationAccount InformationTransaction

    Description Login:

    The customer is asked to enter user name & password. When theuser enters the details & submits it goes to a validation enginewhere it checks valid/not. If valid he is shown with list of accountshe has with the bank.

    Authentication:

    Itprovides a way of identifying a user, typically by having theuser e n t e r a v a l i d u s e r n a m e a n d v a l i d p a s s w o r d b e

    f o r e a c c e s s i s g r a n t e d . T h e p r o c e s s o f a u t h e n t i c a t i o nis based on each user having a unique set of criteria for gainingaccess. Server compares a user's authentication credentials withother user credentials stored in a database. If th e c r e d e n t i a l sm a t c h , t h e u s e r i s g r a n t e d a c c e s s t o t h e a c c o u n t . I ft h e c r e d e n t i a l s a r e a t variance, authentication fails and accountaccess is denied.

  • 8/12/2019 Pradeep Project Bc a 2014

    29/56

    Authorization:

    Service manages authentication, authorization, and accesscontrol to user accounts, subject to approval from the account

    holder. several account authorization API to ac co mmod at edifferent types of access. After A uthenticat ion a user wil lbe ver if ied for performing the various tasks, It access is limited it isknown as authorization

    Registration:

    Once your registrat ion is complete you wil l be able to

    access all of your accounts, with information asked in theprompts during the registration process. We use this informationto authenticate you as a user with access to the retail loan orlease account. Details such as name........add phone......

    Account Information:

    Selecting the Account:

    After logging in the user is choose the details of accounts and heselects one of the accounts in order to perform the transaction.

    Balance Enquiry:

    The balance details of a particular account to display. Balance of currentaccount , fixed and saving account.

    Transaction:

    This module maintains the information related to the funds thathave been transf erred by th e custo mer f rom one of hisac coun t to an oth er ac cou nt of hi s o wn . Thi s module helps thecustomer in executing the fund transfer without the physical visit to thebanks premises.

  • 8/12/2019 Pradeep Project Bc a 2014

    30/56

    Mini Statement:

    When the user requests for mini s tatements in the homepage, system asks the type of s tatement needed bythe customer. When the customer selects the type of

    statement . The system displays the l is t of t ransact ions onthe screen. If the customer wants to take print outs he can take the printouts of the same.

    Tools and Technologies used

    PHP

    Hypertext Preprocessor

    ( t h e n a m e b e i n g a r e c u r s i v e a c r o n y m ) i s a w i d e l y u s ed , general-purpose scripting language that was originallydesigned for web development to produce dynamic web pages. Forthis purpose, PHP code is embedded into the HTML source documentand interpreted by a web server with a PHP processor module, whichgenerates the web page document. As a general-purposeprogramming language, PHP code is processed by an interpreterapplication in command-line mode performing desired operatingsystem operations and producing program ou tp ut on it sstandard output channel . I t may also funct ion as agraphical applicat ion. PHP is avai lable as a processor formost modern web servers and as s tandalone interpreter onmost operating systems and computing

    platforms.P H P w a s o r i g i n a l l y c r e a t e d b y R a s mu s L e r d o r f i n 1 9 9 5 a n d h a s b e e n in c o n t in u o u s development ever since.The main implementation of PHP is now produced by The PHP Groupand serves as the de facto standard for PHP as there is no formalspecification. PHP is free software re le ased unde r the PHPLicense, which is incompatible with the GNU

  • 8/12/2019 Pradeep Project Bc a 2014

    31/56

    General Public License (GPL) because restrictions exist regardingthe use of the term PHP.

    Security

    The National Vulnerability Database stores all vulnerabilities

    found in computer software. The overall proportion of PHP-related vulnerabilities on the database amounted to: 20% in2004, 28% in 2005, 43% in 2006, 36% in 2007, 35% in2008, and 30% in 2009. Most of these PHP-relatedvulnerabilities can be exploited remotely: they allow hackers tosteal or destroy data from data sources linked to the web server(such as an SQL database), send spam or contribute to Do attacksusing malware, which itself can be installed on the vulnerable servers.These vulnerabilities are caused mostly by not following bestpractice programming rules: technical security flaws of thelanguage itself or of its core libraries are not frequent (23 in2008, about 1% of the total). Recognizing that programmerscannot be trusted, some languages include taint checking todetect automatically the lack of input validation whichinduces many issues. Such a feature is being developed for PHP, butits inclusion in a release has been rejected several times in the past.38 Hosting PHP applications on a server requires a careful and

    constant attention to deal with these security risks. There areadvanced protection patches such as Suhosin and Hardening-Patch, especially designed for web hosting environments.

  • 8/12/2019 Pradeep Project Bc a 2014

    32/56

    Speed optimization

    As with any interpreted language, PHP scripts are stored as human-readable source code and are compiled on-the-fly by the PHP

    engine. In order to speed up execution time and not have tocompile the PHP source code every time the webpage is accessed, PHPscripts can also be stored in binary format using PHP compilers such asphp and road send. Code optimizers aim to reduce the runtime ofthe compiled code by reducing its size and making other changesthat can reduce the execution time with the goal of improvingperformance. The nature of the PHP compiler is such that there areoften opportunities for code optimization, and an example of a code

    optimizer is the e Accelerator PHP extension. An other approach forreducing overhead for high load PHP serversis using an Opcodecache. Opcode caches work by cachingthe compiled form of a PHP script (opcodes) in sharedmemory to avoid the overhead of parsing and compiling the code everytime the script runs.

    Resources

    PHP includes free and open source libraries with the core build.PHP is a fundamentally Internet-aware system with modulesbuilt in for accessing FTP servers, many databaseservers,embedded SQL libraries such as embedded PostgreSQL,My SQL and SQLite, LDAP servers, and others. Many functionsfamiliar to C programmers such as those in the stdio familyare available in the standard PHP build.PHP allows developers to

    write extensions in C to add functionality to the PHP language.These can then be compiled into PHP or loadeddynamic ally at runtime. Extens ions have been written toadd support for the Windows API, process management on Unix-like operating systems, multibyte strings (Unicode), cURL,and several popular compression formats.

  • 8/12/2019 Pradeep Project Bc a 2014

    33/56

    Some more unusual features include integration with Internet RelayChat, dynamic generation of images and AdobeFlash content,and even speech synthesis. The PHP Extension CommunityLibrary (PECL) project is a repository for extensions to the PHP

    language.

    My- SQL

    My SQL is a relational database management system (RDBMS)1.Thatruns as a server providing mult i-user access to a number ofdatabases. My SQLis officially pronounced (My S-Q-L), but often

    pronounced (My SeQueL).2 . T h e M y S Q L d e v e l o p m e n tp r o j e c t h a s m a d e i t s s o u r c e c o d e a v a i l a b l eu n d e r t h e t e r ms o f t h e G N U G e n e r a l P u b l i c L i ce n s e ,a s w e l l a s u n d e r a v a r i e t y o f proprietary agreements. My SQLis owned and sponsored by a single for-profit firm, the Swedishcompany My SQL AB, now owned by Sun Microsystems,a subsidiary of Oracle Corporation.3 . M e m b e r s o ft h e M y S Q L c o m m u n i t y h a v e c r e a t e ds e v e r a l f o r k s s u c h a s Drizzle and Maria DB. Both forkswere in progress long before the Oracle.

    Uses

    Many web applications use My SQL as the database componentof a LAMP software stack. Its popularity for use with webapplications is closely tied to the popularity of PHP, which isoften combined with My SQL.

    Platforms and interfaces

    My SQL code uses C and C++. The SQL parser usesya cc and a ho me -b re we d lexe r. It is works on many differentsystem platforms, including AIX, BSDi, FreeBSD, HP-UX, i5/OS,

  • 8/12/2019 Pradeep Project Bc a 2014

    34/56

    Linux, Mac OS X, Net BSD, Novell NetWare, Open BSD, OpenSolaris, eComStation, OS/2 Warp, QNX,IRIX, Solaris, Symbian,SunOS, SCO Open Server and Microsoft Windows. All majorprogramminglanguages with language-

    specific APIs include Libraries for accessing MySQL databases. Inaddit ion, an ODBC interface cal led MyODBC al lows addi tio na l prog rammi ng languages that support the ODBCinterface to communicate with a My SQL database, such as ASP orColdFusion. The MySQL server and official libraries are mostlyimplemented in ANSI C &ANSI C++.40

    Database

    A collection of programs that enables you to store, modify, andextract information from adatabase. Information of the users getsstored in a relational database. The application works wellwithMS- Access as database, it also works well with MySQL, SQL Server2000 and Oracle.Data

    Manipulation Language (DML)is used to modify the data present indatabase:SELECT - extracts data from a database tableUPDATE - updates data in a database tableDELETE - deletes data from a database tableINSERT INTO - inserts new data into a database tableThe

    Data Definition Language (DDL)is used to define the data:CREATE TABLE - creates a new database tableALTER TABLE - alters (changes) a database tableDROP TABLE - deletes a database tableCREATE INDEX - creates an index (search key)DROP INDEX - deletes an index

  • 8/12/2019 Pradeep Project Bc a 2014

    35/56

    Official

    The official MySQL Workbench is a free integrated environmentdeveloped by MySQL AB,tha t

    enables users to graphical ly administer MySQLdatabases and visual ly design databasestructure. MySQLWorkbench replaces the previous package of software, MySQL GUI Tools.Similar to other thirdparty packages but s t il l co nsider ed th e au thorita tive MySQL f rontend , MySQLWorkbench lets users manage the following.

    Database design & modelingSQL developmentreplacing My SQL Query BrowserDatabase administrationreplacing My SQL Administrator In thisproject , My SQL is used as the backend database. My SQLis an open so urc e data base management system. The features ofMy SQL are given belowM y S Q L i s a r e l a t i o n a l d a t a b a s e m a n a g e m e n t s y s t e m.A r el a t i on a l da ta b a se st o re s information in different tables,rather than in one giant table. These tables can be referenced toeach other, to access and maintain data easily.

    My SQL is open source database system. The database softwarecan be used and modify by anyone according to their needs.It is fast, reliable and easy to use. To improve the performance,My SQL is multithreaded database engine. A multithreadedapplication performs many tasks at the same time as if multipleinstances of that application were running simultaneously. In beingmultithreaded My SQL has many advantages. A separate thread handleseach incoming connection with an extra thread that is always

    running to manage the connections. Multiple clients can performread operations simultaneously, but while writing, only hold upanother client that needs access to the data being updated. Eventhough the threads share the same process space, they executeindividually and because of this separation, multiprocessormachines can spread the thread across many CPUs as long as the

  • 8/12/2019 Pradeep Project Bc a 2014

    36/56

  • 8/12/2019 Pradeep Project Bc a 2014

    37/56

  • 8/12/2019 Pradeep Project Bc a 2014

    38/56

  • 8/12/2019 Pradeep Project Bc a 2014

    39/56

    Rights();/ / $a r r Ri gh ts =a rr ay ( ' ad d ' => t r ue ,

    ' ed i t '=> t rue , ' de l e t e '=> t rue , ' v i ew '=> t rue ) ; fo reach

    ($arrAllRights as $moduleCode=>$currRights)

    {$arrAllRights[$moduleCode]=$rights->getRights($_SESSION['userGroup'],$moduleCode);}$ugroup = new

    UserGroups();$ugDet = $ugroup -

    >filterUserGroups($_SESSION['userGroup']);$arrRights['repDef'] =

    $ugDet[0][2] == '1' ? true : false;} else {/* Assign supervisors edit and

    view rights to the PIM* They have PIM rights over their subordinates,

    but they cannot add/delete* employees. But they have add/delete rights

    in the employee details page.*/if ($_SESSION['isSupervisor'])

    {$arrAllRights[PIM]=array('add'=> false , 'edit'=> true , 'delete'=>

    false,'view'=> true);}

    /** Assign Manager's access to recruitment module

    */if ($_SESSION['isManager'] || $_SESSION['isDirector'] ||(isset($_SESSION['isAcceptor']) &&$_SESSION['isAcceptor'])|| (isset($_SESSION['isOfferer'])

    && $_SESSION['isOfferer'])){$arrAllRights[Recruit]=array('add'=>false , 'edit'=> true , 'delete'=> false, 'view'=> true);}}switch($_GET['menu_no_top']) {case"eim":$arrRights=$arrAllRights[Admin]; break;case "hr":$arrRights=$arrAllRights[PIM]; break;case "mt":$arrRights=$arrAllRights[MT]; break;case "rep":$arrRights=$arrAllRights[Report]; break;case "leave":$arrRights=$arrAllRights[Leave]; break;case "time":$arrRights=$arrAllRights[TimeM]; break;case "recruit":$arrRights=$arrAllRights[Recruit]; break;}$_SESSION['localRights']=$arrRights;$styleSheet = CommonFunctions::getTheme();$authorizeObj= new authorize($_SESSION['empID'], $_SESSION['isAdmin']);//Default leave home pageif ($authorizeObj->isAdmin()){$leaveHomePage ='lib/controllers/CentralController.php?leavecode=Leave&action=Leave_

  • 8/12/2019 Pradeep Project Bc a 2014

    40/56

    FetchLeaveAdmin&NewQuery=1';} else if ($authorizeObj->isSupervisor()) {if ($authorizeObj->isAdmin()){$leaveHomePage ='lib/controllers/CentralController.php?leavecode=Leave&action=Leave_HomeSupervisor';} else {$leaveHomePage =

    'lib/controllers/CentralController.php?leavecode=Leave&action=Leave_FetchLeaveSupervisor';}} else if ($authorizeObj->isESS()){$leaveHomePage ='lib/controllers/CentralController.php?leavecode=Leave&action=Leave_Summary&id='.$_SESSION['empID'];}Time module default pagesif (!$authorizeObj->isAdmin() &&

    $authorizeObj->isESS()) {if ($_SESSION['timePeriodSet'] == 'Yes')

    {$timeHomePage =

    'lib/controllers/CentralController.php?timecode=Time&action=View_C

    urrent_Timesheet';} else {$timeHomePage =

    'lib/controllers/CentralController.php?timecode=Time&action=Work_W

    eek_Edit_View';}$timesheetPage = 'javascript: location.href = \'' .

    $_SESSION['WPATH']

    .'/lib/controllers/CentralController.php?timecode=Time&action=View_

    Current_Timesheet&clientTimezoneOffset=\' +

    escape((newDate()).getTimezoneOffset() * -1);';} else {if($_SESSION['timePeriodSet'] == 'Yes') {$timeHomePage =

    'lib/controllers/CentralController.php?timecode=Time&action=View_Se

    lect_Employee';} else {$timeHomePage =

    'lib/controllers/CentralController.php?timecode=Time&action=Work_W

    eek_Edit_View';}$timesheetPage =

    'lib/controllers/CentralController.php?timecode=Time&action=View_Se

    lect_Employee';}/* Attendance Default Page */if ($authorizeObj->isAdmin()) {$attendanceDefault =

    'lib/controllers/CentralController.php?timecode=Time&action=Show_E

    mployee_Report';} else {$attendanceDefault =

    'lib/controllers/CentralController.php?timecode=Time&action=Show_M

  • 8/12/2019 Pradeep Project Bc a 2014

    41/56

    y_Report';}if (!$authorizeObj->isAdmin() && $authorizeObj->isESS())

    {$beneftisHomePage =

    'lib/controllers/CentralController.php? benefitcode=Benefits&action=Be

    nefits_Schedule_Select_Year';$empId = $_SESSION['empID'];$year =date('Y');$personalHspSummary =

    "lib/controllers/CentralController.php? benefitcode=Benefits&action=Se

    arch_Hsp_Summary&empId=$empId&year=$year";} else

    {$beneftisHomePage =

    'lib/controllers/CentralController.php? benefitcode=Benefits&action=Be

    nefits_Schedule_Select_Year';$personalHspSummary =

    'lib/controllers/CentralController.php? benefitcode=Benefits&action=Hs

    p_Summary_Select_Year

    if ($authorizeObj->isESS()) {if ($_SESSION['timePeriodSet'] == 'Yes'){$timeHomePage ='lib/controllers/CentralController.php?timecode=Time&action=Show_Punch_View';} else {$timeHomePage ='lib/controllers/CentralController.php?timecode=Time&action=Work_Week_Edit_View';}}if ($authorizeObj->isAdmin()) {$recruitHomePage =

    'lib/controllers/CentralController.php?recruitcode=Vacancy&action=List';} else if ($authorizeObj->isManager() || $authorizeObj->isDirector() ||$authorizeObj->isAcceptor()|| $authorizeObj->isOfferer()){$recruitHomePage ='lib/controllers/CentralController.php?recruitcode=Application&action=List';}// Default page in admin module is the Company general infopage.$defaultAdminView = "GEN";$allowAdminView = false;if($_SESSION['isAdmin']=='No') {if($_SESSION['isProjectAdmin']) {//

    Default page for project admins is the Project Activitypage$defaultAdminView = "PAC";// Allow project admins to view PAC(Project Activity) page only (in the admin module)// If uniqcode is notset, the default view is Project activityif ((!isset($_GET['uniqcode'])) ||($_GET['uniqcode'] == 'PAC')) {$allowAdminView =true;}}if($_SESSION['isSupervisor'])

  • 8/12/2019 Pradeep Project Bc a 2014

    42/56

    {// Default page for supervisors is the Company property

    page$defaultAdminView = "TCP";// Allow supervisors to view TCP

    (Company property) page only (in the admin module)// If uniqcode is

    not set, the default view is Company Propertyif((!isset($_GET['uniqcode'])) || ($_GET['uniqcode'] == 'TCP'))

    {$allowAdminView = true;}}}require_once ROOT_PATH

    . '/lib/common/Language.php';require_once ROOT_PATH

    . '/lib/common/menu/MenuItem.p .require_once ROOT_PATH

    '/language/default/lang_default_full.php';require_once($lan-

    >getLangPath("full.php"));require_once ROOT_PATH . '/themes/'

    . $styleSheet . '/menu/Menu.php';$menuObj = new Menu();/* Create

    menu items *//* TODO: Extract to separate class */$menu = array();/*

    View for Admin users */if ($_SESSION['isAdmin']=='Yes' ||

    $arrAllRights[Admin]['view']) {$menuItem = new MenuItem("admin",

    $lang_Menu_Admin, "./index.php?menu_no_top=eim");$menuItem-

    >setCurrent($_GET['menu_no_top']=="eim");$sub = new

    MenuItem("companyinfo", $lang_Menu_Admin_CompanyInfo,

    "#");$subsubs[] = new MenuItem("companyinfo",

    $lang_Menu_Admin_CompanyInfo_Gen,"index.php?uniqcode=GEN&

    menu_no_top=eim");$subsubs[] = new

    MenuItem("companyinfo",$lang_Menu_Admin_CompanyInfo_Locatio

    ns, "index.php?uniqcode=LOC&menu_no_top=eim");$subsubs[] = new

    MenuItem("companyinfo",$lang_Menu_Admin_CompanyInfo_CompSt

    ruct, "index.php?uniqcode=CST&menu_no_top=eim");$subsubs[] =

    new

    MenuItem("companyproperty",$lang_Menu_Admin_Company_Property,"index.php?uniqcode=TCP&menu_no_top=eim&pageNo=1");$sub-

    >setSubMenuItems($subsubs);$subs = array();$subs[] = $sub;$sub =

    new MenuItem("job", $lang_Menu_Admin_Job, "#");$subsubs =

    array();$subsubs[] = new MenuItem("job",

  • 8/12/2019 Pradeep Project Bc a 2014

    43/56

    $lang_Menu_Admin_Job_JobTitles,

    "index.php?uniqcode=JOB&menu_no_top=eim");$subsubs[] = new

    MenuItem("job", $lang_Menu_Admin_Job_JobSpecs,

    "index.php?uniqcode=SPC&menu_no_top=eim");$subsubs[] = newMenuItem("job", $lang_Menu_Admin_Job_PayGrades,

    "index.php?uniqcode=SGR&menu_no_top=eim");$subsubs[] = new

    MenuItem("job", $lang_Menu_Admin_Job_EmpStatus,

    "index.php?uniqcode=EST&menu_no_top=eim");$subsubs[] = new

    MenuItem("job", $lang_Menu_Admin_Job_EEO,

    "index.php?uniqcode=EEC&menu_no_top=eim");$sub-

    >setSubMenuItems($subsubs);$subs[] =

    $sub;$sub = new MenuItem("qualifications",$lang_Menu_Admin_Quali

    , "#");$subsubs = array();$subsubs[] = new MenuItem("qualifications",

    $lang_Menu_Admin_Quali_Education,"index.php?uniqcode=EDU&me

    nu_no_top=eim");

  • 8/12/2019 Pradeep Project Bc a 2014

    44/56

  • 8/12/2019 Pradeep Project Bc a 2014

    45/56

    TESTING

    Software testing is a process of analyzing or operating softwarefor the purpose of finding bu gs. Tes t act ivit ies tha t are

    associated with analyzing the products of softwaredevelopment include code inspections, walkthroughs, and deskchecks.

    UNIT TESTING

    Unit test ing involves test planning, test case developmentand meas ure me nt of te s t un it against the requirementspecifications.Pl an ni ng in vo lv es de s i gn in g th e sc he du le ,de te r mi ni ng th e re so ur ce s re qu ir ed an ddetermining thefeatures to be tested. Test case development involves designing testcases that are to be tested; the test cases are prepared so as to test thesystem exhaustively to find the bugs present in the system. Measurementof test unit against specification involves testing the system by givingthe test cases as input and checking the systems adherence to itsspecification. The following features were tested:Test to see if the requirements specified are taken care of.Test to see if all the inputs are handled effectively.Test the system by traversing all paths to discover any surprises.Check if the errors and exceptions have been handled properly.See if the validations of input data are all taken care off. Test caseswere designed to check the results retrieved from the databaseand the validation of all user inputs. All the modules were testedthoroughly. The module interface was also tested to ensure thatinformation flows into and out of the program units.

  • 8/12/2019 Pradeep Project Bc a 2014

    46/56

    INTEGRATION TESTING

    This test ing is performed after al l individual modules arede ve loped and re ad y f or the integration. The objective of this

    testing is to build a program structure as dictated in the designby taking unit tested modules.

    REQUIREMENT TO BE TESTED

    The following requirements will be tested1.Verify i f val id usersar e id en ti fi ed .2.Verify if invalid users are blocked from logginginto the application.

    GET REPORTGENERATION DETAILS

    This service validates fetches the account details givenan account Id down integration is an incremental approach to theconstruction of program structure. Modules are integrated bymoving downward through the control hierarchy, beginning with themain module. Modules subordinate to the main module areincorporated into the structure in depth first manner. In this way,interfacing between the various modules was also thoroughlytested. In this System, the integration testing is done by checkingall possible workflows of the analysis and cleaning process.

    SYSTEM TESTING

    System Testing is a series of test, which have to be performedto fully exercise the computer- based system. It ensures that

    al l the system elements are ful ly integratedand each eleme nt performs its allocated function.

  • 8/12/2019 Pradeep Project Bc a 2014

    47/56

    PERFORMANCE TESTING

    Performance testing is done to test run-time performance of thesoftware within context of an integrated system. For real time

    systems, adherence to performance requirements is a must. Itdetermines the amount of execution time spent in various units,program throughput and response time. This system being highlyuser-interactive and capable of executing large volume of datawas expected to have a small response time.

    White Box Testing

    This is a unit testing method where a unit will be taken at a timeand tested thoroughly at a statement level to find the maximumpossible errors . I tested step wise every piece of code, takingcare that every statement in the code is executed at least once.The white box testing is also called Glas s Box Testi ng . I havegenerated a l is t of test cases, sample data. which is used tocheck al l possible combinations of execution paths through the code atevery module level.

    Black Box Testing

    This testing method considers a module as a single unit and checks theunit at interface and communication with other modules rather gettinginto details at statement level. Here the module will be treated as a blockbox that will take some input and generate output. Output for a given setof input combinations are forwarded to other modules.

    TEST CASES

    VALIDATE LOGIN

    This service validates the login credentials provided by the user. If thelogin credentials are correct, it returns the User Context to the caller. Ifthe login credentials are incorrect it returns a null User Context.

  • 8/12/2019 Pradeep Project Bc a 2014

    48/56

  • 8/12/2019 Pradeep Project Bc a 2014

    49/56

  • 8/12/2019 Pradeep Project Bc a 2014

    50/56

  • 8/12/2019 Pradeep Project Bc a 2014

    51/56

    FUTURE ENHANCEMENTToday, online banking services are quite varied. One of the best featuresof online banking is putting the user in control. The user controls all bill

    paying, transfers, and investments from home. There are otherfeatures, though of online banking. One of these is increasedaccessibility to your account information. Users of onlinebanking services can access their account information fromanywhere in the world! This is particularly helpful for businesses.Internet business banking is beco mi ng in cr ea si ng ly po pu la r,as businesses are becoming more global in their reach. Now business people can access their accounts, even when on

    overseas business trips . Business Internet banking is extremelypopular for this reason.

  • 8/12/2019 Pradeep Project Bc a 2014

    52/56

  • 8/12/2019 Pradeep Project Bc a 2014

    53/56

    CONCLUSIONThis section discuses the result of the work done in this project And alsomentions the future scope for improvement.

    Conclusion

    As the world becomes more of a global village being runned bypaperless systems, the idea of a cashless society is the hope ofthe future. Thus more innovations will still evolve which willmake cashless transactions easily accessible and affordable.

    Future Scope of Improvement

    T h e B a n k i n g O n l i n e S y s t e m i s a b i g a n d a m b i t i o u sp r o j e c t . I a m t h a n k f u l f o r b e i n g provided this greatopportunity to work on it. As already mentioned, this project hasgone through exten sive resea rch w ork. On th e bas is of theresearch work, we have successful ly designed andimplemented banking online System.

  • 8/12/2019 Pradeep Project Bc a 2014

    54/56

  • 8/12/2019 Pradeep Project Bc a 2014

    55/56

    BibliographyBOOK REFERENCES

    W. Lecky-Thompson,

    Web Programming with XHTML, PHP and MySQL,2nd

    Edition,2008

    W. Jason Gilmore,Beginning PHP and MySQL,3rd

    Edition,2008

    WEB SITES

    Online banking of National City bank www.Nationalcity.com

    Online banking of Bank one www.BankOne.com

    Online banking of ICICI bankwww.ICICI .com

    PHPtutorialswww.phpbuilder.com

    PHP

    http://www.icici.com/http://www.icici.com/http://www.icici.com/http://www.icici.com/http://www.icici.com/http://www.phpbuilder.com/http://www.phpbuilder.com/http://www.phpbuilder.com/http://www.icici.com/http://www.icici.com/
  • 8/12/2019 Pradeep Project Bc a 2014

    56/56