買這商品的人也買了...
-
$680$537 -
$2,610$2,480 -
$880$695 -
$490$417 -
$860$731 -
$720$569 -
$650$514 -
$780$741 -
$590$466 -
$690$538 -
$620$490 -
$750$675 -
$560$504 -
$780$663 -
$720$612 -
$1,860$1,767 -
$450$351 -
$850$723 -
$280$218 -
$480$379 -
$750$593 -
$780$616 -
$1,890$1,796 -
$590JBoss : A Developer's Notebook
-
$2,520$2,394
相關主題
商品描述
Many web development frustrations can be traced back to the underlying stateless HTTP protocol. Tapestry represents state and behavior as standard Java objects, methods and properties. That means state management and multithreading are handled by the framework, leaving you with just your application’s business logic. Tapestry does more, you do less.
Tapestry in Action is the definitive guide to the Tapestry approach: creating full-featured web apps by connecting framework components to economical amounts of application code. Many simple examples show you how to tackle common tasks such as form validation, application localization, client-side scripting, and synchronization between browser and app server. Later chapters discuss more advanced topics including creation of new components and integration with J2EE.
If you want to create great web applications using Tapestry and know Java (plus plain-vanilla HTML and a little XML), this book is for you.
What’s Inside
- Tapestry’s Component Object Model
- How to write new components
- How to configure third party components
- Dynamic JavaScript integration
- Form validation
- Tapestry/JSP integration
- Localization/internationalization
- J2EE integration
Contents:
- Understanding servlet multithreading 9
- Managing server-side state 10
- Using Struts with servlets 12
- Understanding the limitations of servlets 12
- What is a framework? 16
- What is a component? 17
- What is Tapestry? 18
- Comparing Tapestry to Swing 21
- Simplicity 22
- Consistency 22
- Efficiency 23
- Feedback 23
- Whatís in a Tapestry application? 27
- Tapestryís Model-View-Controller (MVC) pattern 29
- Tapestry classes 33
- Determining the application flow 41
- Creating page mockups 42
- Defining the domain objects 44
- Defining the pages 49
- Understanding the Home page specification 52
- Rendering the Home page 54
- Defining the Home page class 57
- Examining the Visit object 60
- Displaying the remaining guesses 73
- Generating the guessed word display 79
- Selecting guesses 83
- Implementing the Login page class 99
- Using specified properties 101
- Developing forms without Tapestry 103
- Developing forms with Tapestry 105
- Handling form submissions 108
- Understanding the essentials 110
- The Checkbox component 111
- Radio and RadioGroup components 111
- Select and Option components 113
- Submit and ImageSubmit components 118
- Defining the data object 121
- Creating the ToDo HTML template 122
- Specifying properties in the page specification 125
- Initializing the toDoList property 126
- Handling reordering 127
- Deleting completed items 128
- Triggering stale links 129
- Adding priority levels to the ToDo application 136
- Updating the HTML template 138
- Implementing the page class 139
- Implementing the model 140
- Using enums instead of integers 144
- Using the ListEditMap 153
- Using ListEdit in the ToDo application 154
- Using FieldLabels in conjunction with ValidFields 173
- Using validators 173
- Using validation delegates 174
- Using helper beans 178
- Creating the Register HTML template 181
- Creating the Register page specification 189
- Specifying the componentís Java class 219
- Discarding the componentís body 220
- Forbidding informal parameters 221
- Declaring parameters 222
- Reserving names 230
- Specifying the digit parameter 232
- Using the digit parameter 232
- Creating the template 233
- Using the Digit component 233
- Using the Scaffold component 234
- Specifying the Letter component 235
- Implementing the Letter component 236
- Using the Letter component 237
- Implementing the Spell component 239
- Using the Spell component 240
- Creating the Border template 243
- Creating the Border specification 244
- Using the Border component 244
- Introducing the Pet Store image map 246
- Specifying the DirectArea component 247
- Implementing the DirectArea component 248
- Using the DirectArea component 252
- Declaring libraries 254
- Referencing library components 256
- Creating the library specification 262
- Creating the library specification 264
- Creating the FormError component 264
- Using the FormError component 267
- Servlet request processing 271
- Understanding server-side state 272
- Managing server-side state in a cluster 274
- Whatís the problem with application URLs? 279
- How does Tapestry handle application operations? 280
- Using the home service 281
- Rendering pages with the page service 283
- Linking to listener methods with the direct service 284
- Creating bookmarkable links using the external service 290
- Using markup writers 292
- Going beyond HTML 295
- Understanding the page-rendering sequence 297
- Using page-rendering events 297
- Retrieving pages from the pool 300
- Creating new page instances 302
- Returning pages to the pool 304
- Using Java localization 310
- Using Tapestryís localization features 311
- Defining a banner ad system 324
- Defining the data model 326
- Accessing the data model as an application extension 328
- Implementing the BannerAd component 329
- Implementing the banner service 332
- Creating the library specification 336
- Building a banner ad application 337
- Defining the CreditCardField component 341
- Working with the Body component 344
- Creating the Tapestry script specification 345
- Creating the CreditCardField specification 355
- Creating the CreditCardField component 356
- Using the component 368
- Redirecting to a JSP 369
- Linking JSPs to Tapestry pages 371
- Submitting JSP forms into Tapestry 375
- Changing the table sort order 387
- Paging through the results 387
- Viewing book details 390
- Viewing a person 392
- Editing a book 394
- Deleting a book 395
- Returning books 395
- Adding a new book 396
- Editing your profile 396
- Giving away books 396
- Editing users 399
- Editing publishers 400
- Transferring books 400
- Handling authentication 407
- Accessing Enterprise JavaBeans 407
- Tracking user identity with the Visit object 407
- Understanding page inheritance 410
- Identifying application-specific components 415
- Referencing the engine 416
- Specifying the page class and properties 417
- Performing searches 418
- Handling paging and column sorting 420
- Using the Browser component 425
- Executing queries and re-queries 426
- Specifying Browserís parameters 430
- Getting results from the BookQuery bean 432
- Rendering the Browser component 433
- Creating the ColumnSorter HTML template 434
- Specifying ColumnSorter parameters 435
- Responding to the user 437
- Handling user login 442
- Linking to MyLibrary 443
- Remembering the user 446
- Clearing the password field 447
- Invoking the login operation 449
- Creating the BookLink component 450
- Displaying the Book on the ViewBook page 451
- Creating the PersonLink component 453
- Displaying the Person 455
- Tracking the Book ID 459
- Generating dynamic JavaScript 460
- Constructing the EditPublishers template 464
- Declaring properties for the EditPublishers page 465
- Creating the ListEditMap 467
- Updating the publishers 469
- Creating the ListEditMap subclass 471
- Handling the form submission 472
- Deploying web applications as root 476
- Deploying an enterprise application as root 476
index 537
商品描述(中文翻譯)
許多網頁開發的挫折可以追溯到底層的無狀態HTTP協議。Tapestry將狀態和行為表示為標準的Java對象、方法和屬性。這意味著狀態管理和多線程由框架處理,讓您只需專注於應用程序的業務邏輯。Tapestry做得更多,您做得更少。
《Tapestry in Action》是Tapestry方法的權威指南:通過將框架組件連接到經濟量的應用程序代碼,創建功能完整的Web應用程序。許多簡單的示例向您展示如何處理常見任務,例如表單驗證、應用程序本地化、客戶端腳本和瀏覽器與應用程序服務器之間的同步。後面的章節討論了更高級的主題,包括創建新組件和與J2EE集成。
如果您想使用Tapestry創建出色的Web應用程序並且熟悉Java(以及純HTML和一點XML),那麼這本書就是為您而寫的。
內容包括:
- Tapestry的組件對象模型
- 如何編寫新組件
- 如何配置第三方組件
- 動態JavaScript集成
- 表單驗證
- Tapestry/JSP集成
- 本地化/國際化
- J2EE集成
內容概述:
- 第1部分:使用基本的Tapestry組件
- 第2部分:入門Tapestry
- 第3部分:Tapestry和HTML表單