Skip to Main Content
建構Android應用程式--使用HTML、CSS和JavaScript 第二版
book

建構Android應用程式--使用HTML、CSS和JavaScript 第二版

by Jonathan Stark, Brian Jepson
May 2012
Intermediate to advanced content levelIntermediate to advanced
176 pages
3h 43m
Chinese
GoTop Information, Inc.
Content preview from 建構Android應用程式--使用HTML、CSS和JavaScript 第二版
86
第五章
開發者可以使用標準
SQL
敘述建立資料表,以及安插、更新、選取、以及刪除資料列。
JavaScript
資料庫
API
甚至支援交易(
transaction
)。我們這裡正在討論
SQL
,所以有一
定的複雜度。但無論如何,這是令人耳目一新的功能因此,用腦筋花點時間研究,會有
收穫的。
5-1
:沒加
refreshEntries()
函式前,標題只有「
Date
」…
建立資料庫
現在,我們的
Date
面板知道使用者選取了哪個日期,我們已擁有所需資訊,可讓使用者
建立資料項。在我們撰寫
createEntry()
函式前,我們需要設立資料庫的資料表,以儲存
交付之資料(這是一次性操作)。我們要加幾列至
kilo.js
才行:
客戶端資料儲存
87
var db;
$(document).ready(function(){
$('#settings form').submit(saveSettings);
$('#settings').bind('pageAnimationStart', loadSettings);
5-2
:…加入
refreshEntries()
函式後,標題反應出選取之日期
$('#dates li a').click(function(){
var dayOffset ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

大模型应用开发极简入门 : 基于GPT-4和ChatGPT

大模型应用开发极简入门 : 基于GPT-4和ChatGPT

Olivier Caelen, Marie-Alice Blete
HBase管理指南

HBase管理指南

Posts & Telecom Press, Yifeng Jiang
自然语言处理与计算语言学

自然语言处理与计算语言学

Posts & Telecom Press, Bhargav Srinivasa-Desikan

Publisher Resources

ISBN: 9789862764817