2



Similar documents
2

2

_IMv2.key

Vol. 31 No. 1 Feb [3] INTER-Mediator HTML HTML ( HTML ) Web 2 INTER-Mediator 3 Web INTER-Mediator INTER-Mediator Web Web 2010 MIT Lic

ii II Web Web HTML CSS PHP MySQL Web Web CSS JavaScript Web SQL Web

2

CodeIgniter Con 2011, Tokyo Japan, February

2

pdf

JavaScript の使い方

Lotus Domino XML活用の基礎!

d_appendixB-asp10appdev.indd


: Name, Tel name tel (! ) name : Name! Tel tel ( % ) 3. HTML. : Name % Tel name tel 2. 2,., [ ]!, [ ]!, [ ]!,. [! [, ]! ]!,,. ( [ ], ),. : [Name], nam

はじめに

VE-GP32DL_DW_ZA

fx-9860G Manager PLUS_J

1 SQL Server SQL Oracle SQL SQL* Plus PL/SQL 2 SQL Server SQL Server SQL Oracle SQL SQL*Plus SQL Server GUI 1-1 osql 1-1 Transact- SQL SELECTFROM 058

Microsoft Word - Live Meeting Help.docx

Gray [6] cross tabulation CUBE, ROLL UP Johnson [7] pivoting SQL 3. SuperSQL SuperSQL SuperSQL SQL [1] [2] SQL SELECT GENERATE <media> <TFE> GENER- AT

PFQX2227_ZA

GP05取説.indb

vuejs_meetup.key


untitled

C-720 Ultra Zoom 取扱説明書

3_23.dvi


ohp.mgp

6 (1) app.html.eex 28 lib/nano_planner_web/templates/layout/app.html.eex 27 <footer> Oiax Inc <%= this_year() %> Oiax Inc. 29 </footer>


untitled

RR-US470 (RQCA1588).indd

DEIM Forum 2019 H2-2 SuperSQL SuperSQL SQL SuperSQL Web SuperSQL DBMS Pi

橡SPA2000.PDF

CAS Yale Open Source software Authentication Authorization (nu-cas) Backend Database Authentication Authorization Powered by A

Blue Asterisk template

HIS-CCBASEver2

206“ƒŁ\”ƒ-fl_“H„¤‰ZŁñ

459

IPSJ SIG Technical Report Vol.2014-HCI-157 No.26 Vol.2014-GN-91 No.26 Vol.2014-EC-31 No /3/15 1,a) 2 3 Web (SERP) ( ) Web (VP) SERP VP VP SERP

CAC

3 Powered by mod_perl, Apache & MySQL use Item; my $item = Item->new( id => 1, name => ' ', price => 1200,

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for

052-XML04/fiÁ1-part3-’ÓŠ¹

tkk0408nari


, [! [, ]! ]!,,., ([ ],). : [Name], name1 name2 name10 ([ ]!). name1 name2 : [Name]! name SuperSQL,,,,,,, < < > } =.,

”‰−ofiI…R…fi…e…L…X…g‡ðŠp‡¢‡½„�“õ„‰›Ê‡Ì™ñ”¦

fiš„v3.dvi

Microsoft Word - D JP.docx

CSS

~/WWW-local/compIID (WWW IID ) $ mkdir WWW-local $ cd WWW-local $ mkdir compiid 3. Emacs index.html n (a) $ cd ~/WWW/compIID

PPP_‚Ü‚Æ‚ß.pdf

橡挿入法の実践

2

Page 1 of 6 B (The World of Mathematics) November 20, 2006 Final Exam 2006 Division: ID#: Name: 1. p, q, r (Let p, q, r are propositions. ) (10pts) (a

1 1 tf-idf tf-idf i

untitled


事例に見るSCORMの・・・

New version (2.15.1) of Specview is now available Dismiss Windows Specview.bat set spv= Specview set jhome= JAVA (C:\Program Files\Java\jre<version>\

122.pdf

WPD2009_Plone3_theme-2.key

JavaScript 1.! DOM Ajax Shelley Powers,, JavaScript David Flanagan, JavaScript 2

Web±ÜÍ÷¤Î³Ú¤·¤µ¤ò¹â¤á¤ëWeb¥Ú¡¼¥¸²ÄÄ°²½¥·¥¹¥Æ¥à

03_学術.indd


HTML web HTML HTML

コンピュータサイエンス 4. ウェブプログラミング

2

2

2

cssnitelp47_hasegawa_v02.key

Microsoft Word - Meta70_Preferences.doc

paper.pdf

VE-GD21DL_DW_ZB

2009 Web B012-1

Vol.55 No (Jan. 2014) saccess 6 saccess 7 saccess 2. [3] p.33 * B (A) (B) (C) (D) (E) (F) *1 [3], [4] Web PDF a m

C H H H C H H H C C CUTION:These telephones are for use in Japan only. They cannot be used in other countries because of differences in voltages, tele

1 Web Web 1,,,, Web, Web : - i -

,,,, : - i -

橡t15-shibuya.kashiwa.ppt


Microsoft Word - W3C's_ARIA_Support

取説_VE-PV11L(応用編)

ユーザーズマニュアル

Microsoft Word - Android_SQLite講座_画面800×1280

. IDE JIVE[1][] Eclipse Java ( 1) Java Platform Debugger Architecture [5] 3. Eclipse GUI JIVE 3.1 Eclipse ( ) 1 JIVE Java [3] IDE c 016 Information Pr

0.2 Button TextBox: menu tab 2

H8000操作編

hands_on_4.PDF

Z7000操作編_本文.indb

自動シャットタ<3099>ウンクイックインストールカ<3099>イト<3099>.indb

評論・社会科学 84号(よこ)(P)/3.金子



Ł\1.pdf


PowerPoint Presentation

Transcription:

http: Develop Simply, Realize Conceived 1

2

3

4

5

6

7

8

9

10

11

12

13

14

tbody tr div [_im_enclosure] div [_im_repeater] span [_im_enclosure] span [_im_repeater] ol li ul li select option 15

1. Detecting Enclosure/Repeater En: Enclosure, Rn: Repeater, Ln: Linked Node E1 R1 L1 E2 R2 L2 2. Delete and Store the Repeater E1 3. Database Access R1 4. Duplicate Repeater with Each Record 5. Expand Included Expander/Repeater E1 R1-1 L1-1 E2-1 R2-1 L2-1 E1 R1-1 L1-1 E2-1 R2-1- 1 L2-1-1 R2-1- 2 L2-1-2 R1-2 L1-2 E2-2 6. Duplicate the Repeater Again with Data from #3 16

17

Web Page HTML Server Side INTER-Mediator JavaScript Download INTER-Mediator JavaScript Database Adapter JavaScript Database Adapter JavaScript Inherited Data Access Class Interactive Processing JavaScript Data Access Class PHP Data Converter Class PHP Alternative Data Converter Class Database Extensible Components 18

class DataConverter_HTMLString { function converterfromusertodb($str) { return $str; } } function converterfromdbtouser($str) { return str_replace("\n", "<br/>", str_replace("\r", "<br/>", str_replace("\r\n", "<br/>", str_replace(">", ">", str_replace("<", "<", str_replace("&", "&", $str)))))); } 19

include_once('../inter-mediator/db_filemaker_fx.php'); class DB_WebSite_FMSFX extends DB_FileMaker_FX { } function getfromdb( $sourcename ) { $returnvalue = parent::getfromdb( $sourcename ); if ( count( $returnvalue ) > 1 ) { // Check for the language of documents $lang = array(); foreach( $returnvalue as $record ) { $lang[$record['language']] += 1; } : return $returnvalue; } function settodb($datasourcename) { } function newtodb($datasourcename) { } function deletefromdb($datasourcename) { } 20

function modline(target) { var qtyid = INTERMediatorOnPage.getNodeIdFromIMDefinition("items@qty",target); var unitpriceid = INTERMediatorOnPage.getNodeIdFromIMDefinition("items@unitprice",target); var productpriceid = INTERMediatorOnPage.getNodeIdFromIMDefinition("product@unitprice",target); var amountid = INTERMediatorOnPage.getNodeIdFromIMDefinition("items@amount",target); if ( qtyid!= null && unitpriceid!= null && productpriceid!= null && amountid!= null) { var unitprice = new Number( document.getelementbyid(unitpriceid).value > 0? document.getelementbyid(unitpriceid).value : document.getelementbyid(productpriceid).innerhtml ); var amountprice = unitprice * document.getelementbyid(qtyid).value; document.getelementbyid(amountid).innerhtml = INTERMediatorLib.numberFormat(amountPrice); } } Logo from: http://eserve.org.uk/loceme/ 21

End-user requirement To: Mr. Nii INVOICE Date: Nov 30, 2011 Core i7 $250 2 $500 4GB Memory $150 4 $600 invoice id recipient issued_date invoice_id id item id invoice_id product_id quantity id product_id product id name unit_price Amount: $1100 2. Analyze Data Model Database Schema 7. Popup menu of products shows all products Definition File array( name => products, records => 10000, key => id ) 1. Create Object Diagram item_products <<VIEW>> item.id nvoice_id product_id product_name unit_price quantity total=quantity * unit_price Object Diagram 2nd_of_34005 : Item Invoice_id: 34005 Product: 4GB Memory Unit_Price: $150 Quantity: 4 Total: $600 8. Integrating the popup menu with the Repeater of Invoice_to_MrNii : Invoice id: 34005 To: Mr. Nii Date: Nov 30, 2011 Amount: $1100 Invoice_id = 34005 1st_of_34005 : Item Invoice_id: 34005 Product: Core i7 Unit_Price: $250 Quantity: 2 Total: $500 6. Show multiplerecords inside the table. Adding the Repeater of item_products 3. Invoice is invoice. So it can show one record of invoice array( name => invoice, records => 1, key => id ) 4. Same data on both diagrams as: Invoice.To = invoice.recipient Placing one element within Repeater of invoice <table><tbody> Page File <tr> <td class="im[invoice@recipiant]> </td> </tr> </tbody></table> 5. Items in an Invoice is relevant to one-to-many relation of invoice - item_products. The Repeater of item_products could be set inside the Repeater invoice. <table><tbody> <tr><td class="im[invoice.recipiant]></td></tr> <tr> <table><tbody><tr> <td class="im[item@product_name]></td> <td class="im[item@unit_price]></td> <td class="im[item@quantity]></td> <td class="im[item@total]></td> </tr></tbody></table> </tr> </tbody></table> item_products : Page File <table><tbody> <tr> <td> <select class="im[item@product_id]> <option class="im[product@id@value product@name@innerhtml]" /> </select> </td> <td class="im[item@unit_price]></td> : Definition File array( Definition File name => item, view => item_products, records => 10000, key => id, foreign-key => invoice_id, join-field => id ) Page File 22

23

24

25

26