Henri Chen and Robbie Cheng
ZK Project
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
CHAPTER 1 What Is the ZK Ajax Framework?. . . . . . . . . . . . . . . . . . . . . . . . 3
CHAPTER 2 Getting Started with ZK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
CHAPTER 3 Building Your First ZK Application . . . . . . . . . . . . . . . . . . . . . . 17
CHAPTER 4 Introducing the Versatile ZK Components . . . . . . . . . . . . . . . . 29
CHAPTER 5 Setting Up the Development Environment . . . . . . . . . . . . . . . 57
CHAPTER 6 Creating a Real WebApplication. . . . . . . . . . . . . . . . . . . . . . . . 85
CHAPTER 7 Linking the GUI to a Database . . . . . . . . . . . . . . . . . . . . . . . . 123
CHAPTER 8 Binding Data Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Books for professionals By professionals
®
ZK:
™
Ajax without JavaScript
™
Framework
Dear Reader,
This book is about how to make Ajax programming simple and easy—the core values
of the ZK
™
framework—as simple as programming desktop applications and as easy
as authoring HTML pages.
Writing rich Ajax web applications can be very elaborate. On the browser side, you
can program user interfaces with HTML DOM, CSS, and the JavaScript
™
language.
On the server side, you can write business logic and data accessing code with another
language, such as the Java™ platform. Then, you have to handle the browser to server
messages with asynchronous HTTP. Finally, you still have to fight the incompatibility
issues and JavaScript bugs across browsers.
This book will introduce you to painlessly programming Ajax applications with
the ZK framework. You are not required to write user interfaces on the browser side.
Rather, you construct your applications on the server side with ZK’s more than 160
Java components. The complex heterogeneous technologies involved in Ajax pro-
gramming are handled automatically by ZK behind the scenes.
In this book, we tell you how to install and run ZK programs and how ZK completes
those behind-the-scenes jobs, as well as explaining the important ZK components. We
then walk you through creating a real web application. You will learn how to design
the application screens, how to access the database, and how to write control code to
coordinate the ZK presentation layer and the data access layer.
We hope this book helps you out of the old, painstaking, and time-consuming way
of developing Ajax web applications. Read it and see how ZK can make your life easy
and your customers happy at the same time.
Sincerely yours,
Henri Chen and Robbie Cheng
ZK Project
Henri Chen
Chen & Cheng
ZK
™
Ajax without JavaScript
™
Framework
Apress’s firstPress series is your source for understanding cutting-edge technology. Short, highly
focused, and written by experts, Apress’s firstPress books save you time and effort. They contain
the information you could get based on intensive research yourself or if you were to attend a
conference every other week—if only you had the time. They cover the concepts and techniques
that will keep you ahead of the technology curve. Apress’s firstPress books are real books, in your
choice of electronic or print-on-demand format, with no rough edges even when the technology
itself is still rough. You can’t afford to be without them.
this print for content only—size & color not accurate spine = 0.391" 184 page count
User level:
Intermediate–Advanced
www.apress.com
java.apress.com
SOURCE CODE ONLINE
184
PAGES
Available as a
PDF Electronic Book
or Print On Demand
Robbie Cheng
RELATED TITLES
ZK
™
Ajax without
JavaScript
™
Framework
评论0