Introduction To Web Application Development
Introduction To Web Application Development
NOTICE
These training materials are the copyrighted work of Temenos Headquarters SA and other companies in the TEMENOS group of companies
(The Copyright Owner). The training materials contain protected logos, graphics and images. Use of the training materials is restricted solely for
use by licensed end users, partners and employees. Any un-licensed reproduction by any means, redistribution, editing, transformation,
publishing, distribution, or public demonstration of the training materials whether for commercial or personal gain is expressly prohibited by law,
and may result in severe civil and criminal penalties. Violators will be prosecuted to the maximum extent possible. Such training materials shall
not be represented, extracted into or included in part, or in whole, as part of any other training documentation without the express permission of
the Copyright Owner, which must given in writing by an authorised agent of the Copyright Owner to be valid. Where such permission is given a
clear and prominent notice must be displayed on any and all documentation accrediting the Copyright Owner with having copyright over the
materials. End-user licenses will in no event contain permissions extending the use of these training materials to third parties for commercial
training purposes.
Without limiting the foregoing, copying or reproduction of the training materials in part or in whole to any other sever or location for further
reproduction or redistribution is expressly prohibited, unless such reproduction is expressly licensed by the Copyright Owner.
Also ensure that all the materials are marked as follows at least on the front page: Copyright © 2010 Temenos Headquarters SA (and change
each year like 2009-2011 as time passes)
Objectives
Slide 2
Web Application Development
Slide 3
Web Application Development
Click on the hyperlink above for the detailed functional specification for DEBIT CARD Application
Slide 4
What you need to do to create a custom web page.
Slide 5
1. Develop the User Interface
Create a web form with the required form controls i.e., labels, text boxes, radio
buttons, combo boxes, drop down lists etc. to accept input of the required information
which has to be stored in the tables.
Slide 6
What you need to do to create a custom web page.
Slide 7
2. We need a database table to store our information.
DEBIT.CARD
DBC1121300001 FM GOLD FM 23016 FM 1 FM JOHN FM 1121300001123456 FM 20111018 FM 20130901 FM CURRENT FM
DBC11013D2YUZ FM SILVER FM 45689 FM 1 FM JASON FM 1101324376549999 FM 20111018 FM 20130901 FM CURRENT FM
DBC11224d689H FM GOLD FM 23016 FM 1 FM DAVID FM 1122665578659090 FM 20110416 FM 20130301 FM CURRENT FM
Slide 8
What you need to do to create a custom web page.
Slide 9
3. Code the Business logic and validations
The Debit Card ID has to start with a prefix – DBC, followed by Julian
mandatory field
Slide 10
3. Code the Business logic and validations
Debit Card No should be a 16 Digit no. The last 4 digits must be the
Raise an override if the End Date is > 5 years from start date
Slide 11
What you need to do to create a custom web page.
Slide 12
4. Identify the allowed operations for the module.
Slide 13
Tables in a Transaction
Input New
User - A
Record
Save /
1 Commit
$NAU
Unauthorized
Slide 14
Tables in a Transaction
User B
2 Authorize
$NAU LIVE
Unauthorized Live / Authorized
Slide 15
Tables in a Transaction
User - A
Amend a
3 Live Record
Live
Record
$NAU LIVE
Unauthorized Live / Authorized
Slide 16
Tables in a Transaction
User B
Authorise
4 again
$HIS
$NAU LIVE
Unauthorized Live / Authorized
Slide 17
Tables in a Transaction
User B
Delete an
4 Unauthorised
record
$DEL
$NAU LIVE
Unauthorized Live / Authorized
Slide 18
Database Table Model
DATABASE
$HIS $DEL
LIVE $NAU
Slide 19
Identifying underlying tables for a page
One – to – one relationship between the data-controls on the T24 web-page and the
fields in associated table
DEBIT.CARD]D
DEBIT.CARD.ID 0 13R
SHORT.DESC 1 30R
ACCOUNT 2 10R
NO.OF.CARDS 3 1R
DISPLAY.NAME 4 30R
DEBIT.CARD.NO 5 16R
START.DATE 6 10R
END.DATE 7 10R
STATUS 8 7R
How does T24 understand how many tables are available for a page at the database level.
Let us understand application Stereotype and Classification
Slide 20
Web Application Development
Application Stereotypes
Slide 21
Web Application Development
Application
H $NAU LIVE
$HIS $DEL
Contract
Application
U $NAU LIVE
$DEL
Display Utility
Live/Concat file
L LIVE
Work-file
Application Application W
T
LIVE
LIVE
Slide 22
Web Application Development
Application Classification
Slide 23
Possible configurations for the system
Can be
Shared or Not
Shared
Not
Financial files Financial files Financial files Shared
Branch1 Branch2 Branch3
Web Application Development
F. DEBIT.CARD$HIS
F. DEBIT.CARD$NAU
SHARED F. DEBIT.CARD
F. DEBIT.CARD]D
Slide 25
Web Application Development
NOT
SHARED FBRANCH1. DEBIT.CARD$NAU
FBRANCH1. DEBIT.CARD
F. DEBIT.CARD]D
FBRANCH2. DEBIT.CARD$NAU
FBRANCH2. DEBIT.CARD
F. DEBIT.CARD]D
Slide 26
Web Application Development
Slide 27
Web Application Development
DEBIT.CARD]D
T24
DEBIT.CARD.ID 0 13R
SHORT.DESC 1 30R
ACCOUNT 2 10R
NO.OF.CARDS 3 1R
DISPLAY.NAME 4 30R
DEBIT.CARD.NO 5 16R
START.DATE 6 10R
END.DATE 7 10R
STATUS 8 7R
Slide 28
Web Application Development
Holds the
Field name
Slide 29
Web Application Development
CALL F.READ(FN.DEBITCARD,R.DEBITCARD,DEBIT.CARD.NO,F.DEBITCARD,ERR.DEBITCARD)
HARD-CODING field positions can result in enormous re-work when there is a change in the table design
Slide 30
Alias Names
Simple Solution
Slide 31
Web Application Development
INSERT File
An insert file is a file which provides an alias name for the field positions. This helps
programmers avoid the pitfalls of referring to a field in the table using their positions
A change in the table design in the future, entails reflecting the change in a single
location i.e., the insert file, rather than all of the 50 pages as in the previous scenario
An Insert file needs to be created for your web page for the same reason.
Slide 32
Web Application Development
INSERT File
Insert files for your web-pages has to be named as I_F.<web page name> in the BP directory.
‘EB.CUS.’ is a unique
prefix attached to the
field names to avoid
name collisions.
Slide 33
Web Application Development
INSERT File
Field names of the database table must ideally be pre-fixed uniquely in the Insert file
mappings. This is to avoid field name ambiguity, when multiple insert files are used in the
same program.
Consider the following scenario.
Slide 34
Web Application Development
INSERT File
A simple unique prefix can resolve this name collision
Caution must be exercised when using Field positions instead of Field names,
since field positions can be altered in later releases of T24 and your code is likely
to malfunction.
Slide 35
Web Application Development
Slide 36
Web Application Development
SECURITY
AUTHENTICATION AUTHORIZATION
Slide 37
Web Application Development
6. Authentication - Options
Slide 38
Web Application Development
Service
Service T24 Version / Enquiry
Defined versions of T24 Applications
Operation
Operation T24 Function
Input, Authorize, See, Reverse etc.
Attribute
Attribute T24 Field
T24 field-level filtering
Slide 39
Web Application Development
Slide 40
Web Application Development
7. Integrate the newly developed module with the existing web application
How does the server process a client request for a web-page, identify and execute your page
and respond to the client.
DEBIT CARD
???
HTTP Request
I want to issue a
Debit Card for Tom
T24
Server
Client
Slide 41
Web Application Development
7. Integrate the newly developed module with the existing web application
PGM.FILE
I want to issue a
Debit Card for Tom
T24
Server
Here’s the page
Client you asked for. Register
DEBIT CARD
Application
PGM.FILE is a catalog of all the valid web pages that can be executed from T24, both browser
and classic. It is analogous to a Telephone directory with a list of valid telephone no's
Slide 42
Web Application Development
PGM.FILE
View the registry entry for the T24 CUSTOMER application in PGM.FILE
Slide 43
Web Application Development
FILE.CONTROL
Is a catalog which T24 looks up for information regarding the database tables. The naming
convention and the number of database files are configured here
Slide 44
Web Application Development
SUMMARY
Slide 45
Thank You
NOTICE
These training materials are the copyrighted work of Temenos Headquarters SA and other companies in the TEMENOS group of companies
(The Copyright Owner). The training materials contain protected logos, graphics and images. Use of the training materials is restricted solely for
use by licensed end users, partners and employees. Any un-licensed reproduction by any means, redistribution, editing, transformation,
publishing, distribution, or public demonstration of the training materials whether for commercial or personal gain is expressly prohibited by law,
and may result in severe civil and criminal penalties. Violators will be prosecuted to the maximum extent possible. Such training materials shall
not be represented, extracted into or included in part, or in whole, as part of any other training documentation without the express permission of
the Copyright Owner, which must given in writing by an authorised agent of the Copyright Owner to be valid. Where such permission is given a
clear and prominent notice must be displayed on any and all documentation accrediting the Copyright Owner with having copyright over the
materials. End-user licenses will in no event contain permissions extending the use of these training materials to third parties for commercial
training purposes.
Without limiting the foregoing, copying or reproduction of the training materials in part or in whole to any other sever or location for further
reproduction or redistribution is expressly prohibited, unless such reproduction is expressly licensed by the Copyright Owner.
Also ensure that all the materials are marked as follows at least on the front page: Copyright © 2010 Temenos Headquarters SA (and change
each year like 2009-2011 as time passes)