Nicht aus der Schweiz? Besuchen Sie lehmanns.de

Beginning Groovy and Grails (eBook)

From Novice to Professional
eBook Download: PDF
2008 | 1st ed.
440 Seiten
Apress (Verlag)
978-1-4302-1046-7 (ISBN)

Lese- und Medienproben

Beginning Groovy and Grails - Jim Shingler, Joseph Faisal Nusairat, Christopher M Judd
Systemvoraussetzungen
39,58 inkl. MwSt
(CHF 38,65)
Der eBook-Verkauf erfolgt durch die Lehmanns Media GmbH (Berlin) zum Preis in Euro inkl. MwSt.
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

Web frameworks are playing a major role in the creation of today's most compelling web applications, because they automate many of the tedious tasks, allowing developers to instead focus on providing users with creative and powerful features. Java developers have been particularly fortunate in this area, having been able to take advantage of Grails, an open source framework that supercharges productivity when building Java-driven web sites. Grails is based on Groovy, which is a very popular and growing dynamic scripting language for Java developers and was inspired by Python, Ruby, and Smalltalk.

Beginning Groovy and Grails is the first introductory book on the Groovy language and its primary web framework, Grails.

This book gets you started with Groovy and Grails and culminates in the example and possible application of some real-world projects. You follow along with the development of each project, implementing and running each application while learning new features along the way.



Jim Shingler is a VP of Application Development for J. P. Morgan Chase. The focus of his career has been using cutting-edge technology to develop IT solutions for the banking, insurance, financial services, and manufacturing industries. He has 16 years of large-scale Java experience and significant experience in distributed and relational technologies.
Web frameworks are playing a major role in the creation of today's most compelling web applications, because they automate many of the tedious tasks, allowing developers to instead focus on providing users with creative and powerful features. Java developers have been particularly fortunate in this area, having been able to take advantage of Grails, an open source framework that supercharges productivity when building Java-driven web sites. Grails is based on Groovy, which is a very popular and growing dynamic scripting language for Java developers and was inspired by Python, Ruby, and Smalltalk.Beginning Groovy and Grails is the first introductory book on the Groovy language and its primary web framework, Grails. This book gets you started with Groovy and Grails and culminates in the example and possible application of some real world projects. You follow along with the development of each project, implementing and running each application while learning new features along the way.

Jim Shingler is a VP of Application Development for J. P. Morgan Chase. The focus of his career has been using cutting-edge technology to develop IT solutions for the banking, insurance, financial services, and manufacturing industries. He has 16 years of large-scale Java experience and significant experience in distributed and relational technologies.

Contents at a Glance 5
Contents 6
Foreword 13
About the Authors 15
About the Technical Reviewer 16
Acknowledgments 17
Introduction 19
Who This Book Is For 20
How This Book Is Structured 20
Prerequisites 22
Downloading the Code 22
Contacting the Authors 22
Introduction to Groovy 23
Groovy Language Features 24
Groovy Installation 24
Groovy by Example 25
Summary 31
Groovy Basics 32
Scripts 32
Assertions 38
Strings 39
Methods and Closures 44
Collections 48
Regular Expressions 54
Operators 61
Summary 66
More Advanced Groovy 67
Groovy Unit Testing 67
Working with XML 70
Generating Text with Templates 74
Expandos 77
Meta Object Protocol 78
Domain- Specific Languages 80
Summary 81
Introduction to Grails 82
What Is Grails? 83
Grails Architecture 87
Installing Grails 89
Collab- Todo Application 89
Getting Started with Scaffolding 90
Understanding the Scaffolding Process 93
Summary 122
Building the User Interface 123
Starting with the End in Mind 123
Making the Topbar Functional 140
Testing 144
Externalizing Strings 157
Errors and Validation 159
Flash and Flash Messages 162
Controlling the Application 166
Creating an Audit Log Using Action Interceptors 175
Using Filters 177
Summary 181
Building Domains and Services 183
GORM 183
Collab- Todo’s Domain 184
Creating Domain Objects 186
Validation 204
Querying the Database 212
Database Migration 224
Services 226
Summary 230
Security in Grails 232
What Is Security? 233
An Overview of Grails Security Solutions 238
Custom Security Implementation 239
JSecurity 250
CAS 260
Spring Security ( aka Acegi Security) 263
Summary 272
Web 2.0—Ajax and Friends 273
Advanced Presentation Components 273
Tag Libraries 290
Ajax in Grails 293
RSS Feeds 307
Summary 309
Web Services 311
RESTful Web Services 312
RESTful in Grails 314
Summary 325
Reporting 326
The Report 326
Overview of the Reporting Function 327
Reporting Tools 329
Creating the To- Do Report 331
The Report Tag 338
The ReportController and the ReportService 341
Tying It All Together 347
The Report List 349
An Alternate Approach 350
Summary 350
Batch Processing 352
Installing the Quartz Plug- in 352
Creating a Job 353
Building a Batch- Reporting Facility 355
Summary 366
Deploying and Upgrading 367
Deploying Grails Applications 367
Automating Tasks with Gant 377
Upgrading Grails Applications 379
Summary 380
Alternative Clients 381
Overview 381
Setup 382
Command- Line Scripts 383
Rich Groovy Client 393
Summary 412
Index 413

Erscheint lt. Verlag 22.9.2008
Zusatzinfo 440 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung Objektorientierung
Mathematik / Informatik Informatik Web / Internet
Schlagworte Deployment • Development • Framework • Grails • Java • language • Open Source • Productivity • Python • Ruby • Smalltalk • web applications • Web Services
ISBN-10 1-4302-1046-X / 143021046X
ISBN-13 978-1-4302-1046-7 / 9781430210467
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 3,6 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Entwicklung von GUIs für verschiedene Betriebssysteme

von Achim Lingott

eBook Download (2023)
Carl Hanser Verlag GmbH & Co. KG
CHF 38,95
Grundlagen, Objektorientierung und fortgeschrittene Konzepte

von Christian Kohls; Alexander Dobrynin

eBook Download (2023)
Carl Hanser Verlag GmbH & Co. KG
CHF 38,95