Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
E-book details
Log in, If you're interested in the contents of the item.
Grails 1.1 Web Application Development. Reclaiming Productivity for faster Java Web Development
Ebook
Web development is trickyóeven a simple web application has a number of context changes ready to trip up the unwary. Grails takes the everyday pain out of web application development, allowing us to focus on delivering real application logic and create seamless experiences that will address the needs of our users. This book will take the pain out of Grails by showing you exactly how to build a web application with a minimum of fuss.
With this book, even if you are new to Grails, you will be up and running before you know it. You will be able to code faster and your code will be better. This clear and concise book is packed with examples and clear instructions to help you build your first Grails application and gives you the skills to speed up your application development by adding a different angle for learning about the topic. After a brief introduction to the dynamic JVM-based Groovy programming language, which teaches you enough about Groovy to understand the relationship between Grails and the Groovy scripting language, it shows how to use Grails and a number of key plug-ins to deliver valuable web applications. It also takes you through creating, developing, testing, and deploying an example team collaboration application in Grails.
Using an incremental and iterative approach you will learn how to build a basic web application with secure authentication and different levels of authorization. You will learn how to handle file upload allowing users to share files. Some advanced features of object-oriented persistence will be introduced through adding tags for messages and files to giving users a robust categorization system.
You will then build on the basic application to enhance the user experience through AJAX and the RichUI plug-in. You will take a further step into the world of Web 2.0 by adding an RSS feed and a REST service to the application. Once the entire application is up and running, you will learn how to create your own plug-in for tagging. Finally, you will learn how to deploy this application to a production environment.
With this book, even if you are new to Grails, you will be up and running before you know it. You will be able to code faster and your code will be better. This clear and concise book is packed with examples and clear instructions to help you build your first Grails application and gives you the skills to speed up your application development by adding a different angle for learning about the topic. After a brief introduction to the dynamic JVM-based Groovy programming language, which teaches you enough about Groovy to understand the relationship between Grails and the Groovy scripting language, it shows how to use Grails and a number of key plug-ins to deliver valuable web applications. It also takes you through creating, developing, testing, and deploying an example team collaboration application in Grails.
Using an incremental and iterative approach you will learn how to build a basic web application with secure authentication and different levels of authorization. You will learn how to handle file upload allowing users to share files. Some advanced features of object-oriented persistence will be introduced through adding tags for messages and files to giving users a robust categorization system.
You will then build on the basic application to enhance the user experience through AJAX and the RichUI plug-in. You will take a further step into the world of Web 2.0 by adding an RSS feed and a REST service to the application. Once the entire application is up and running, you will learn how to create your own plug-in for tagging. Finally, you will learn how to deploy this application to a production environment.
- Grails 1.1 Web Application Development
- Table of Contents
- Grails 1.1 Web Application Development
- Credits
- About the author
- Acknowledgement
- About the reviewers
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code for the book
- Errata
- Piracy
- Questions
- 1. Getting Started with Grails
- Why Grails?
- Less configuration
- Faster setup
- Shorter develop/test cycle
- Consistent development environment
- Domain-specific language for web development
- Fewer dependencies
- Installing Grails
- Build a team communication portal
- Summary
- Why Grails?
- 2. Managing Users with Scaffolding
- What is scaffolding?
- Create the domain classes
- Create the User domain class
- Create the Role domain class
- Creating controllers to enable scaffolding
- Control through constraints
- Meeting the relations
- Relating roles and users
- Ordering fields through constraints
- Bootstrapping demo data
- Summary
- 3. Posting Messages
- Message domain class
- Rendering a form
- Message controller
- Groovy Server Pages
- Create message view
- Grails layouts
- Show the form
- Handling user input
- Binding the request to the domain
- Validate and save
- Flash scope
- Redirect
- Render validation errors
- Feedback to the user
- Create a home page
- HomeController
- List all messages
- Home page view
- HomeController
- Styles and navigation
- Set the default page
- Update the layout
- Tidying up
- HTML encoding
- Overriding validation error messages
- Summary
- 4. Introduction to Groovy
- What is Groovy?
- Object-Oriented
- Dynamic
- Functional
- Loosely typed and strongly typed
- Why Groovy?
- Familiar syntax
- Direct integration with Java
- Running Groovy
- Installing Groovy
- Groovy shell
- Groovy console
- Execute Groovy scripts
- Groovy classes and scripts
- Groovy features
- Semicolons
- Strings
- Numbers
- Lists
- Maps
- Ranges
- Truth and equality
- Closures
- Plain old Groovy objects
- Metaprogramming
- Adding dynamic behavior
- The great pretender
- Builders
- Summary
- What is Groovy?
- 5. Authentication with JSecurity Plug-in
- Where to find plug-ins
- Installing a plug-in
- Configuring JSecurity plug-in
- How does JSecurity work?
- More about realms
- Create a simple realm
- Implement authenticate
- Dynamic finders
- Implement hasRole
- Install the authentication controller
- The authentication filter
- Password encryption
- Add the missing pieces
- Encryption of users passwords
- Permission denied page
- Sign out link
- JSecurity tags
- Who posted that?
- UserService
- Relate messages to users
- Making it happen
- Showing the user
- Hibernate lazy loading
- Eager load users
- Summary
- 6. Testing
- Writing unit tests
- Why we write unit tests
- Confidence in code
- Improve design
- Developer productivity
- Document code
- How to write unit tests
- Test discreet units of code
- Trust your libraries
- Test your production code
- Descriptive test names
- Test one thing at a time
- Why we write unit tests
- JUnit refresher
- SetUp and TearDown
- Asserting expectations
- Unit tests in Grails
- Groovy test extensions
- Create a grails test
- Running our tests
- Grails testing plug-in
- Testing Metacontroller
- Testing validation
- Limitations of Grails in unit tests
- Integration testing
- External dependencies
- Repeatable tests
- Integration tests in Grails
- BootStrap for environments
- Functional testing
- Environment setup
- Repeatable tests
- Test performance
- Fragility of tests
- Making tests understandable
- Functional testing In Grails
- Benefits of functional testing in Grails
- Installing the functional testing plug-in
- Testing guidance
- Summary
- Writing unit tests
- 7. File Sharing
- File domain object
- FileController
- File Upload GSP
- Saving the file
- Grails file upload
- The save action
- Validation messages
- Viewing files
- Modeling for efficiency
- Downloading files
- Summary
- 8. More GORM and Criteria
- More GORM relationships
- Sort order of relationships
- Update validation messages
- Querying with criteria
- Comparing criteria and dynamic finders
- Using logical operators
- Querying across relationships
- Specifying a fetch mode for relationships
- Criteria reference
- Logical criteria
- Setting criteria properties
- Updating FileController
- Updating the create file view
- Handling save
- Render file versions
- Fix file download
- Summary
- More GORM relationships
- 9. Services
- Introducing services
- Dependency injection
- Service scope
- Implementing FileService
- Summary
- Introducing services
- 10. Managing Content through Tagging
- Add basic tagging
- Tagging domain model
- The Tag class
- The Tagger class
- Tagging a message
- Tagging a file
- GORM inheritance
- Table-per-hierarchy
- Table-per-subclass
- Taggable superclass
- Polymorphic queries
- GORM inheritance
- Exposing tagging to the users
- Add the Tags input field
- Add multiple tags to Taggable
- Saving the users tags
- Displaying tags
- Tagging domain model
- Customize the home page
- Introducing templates
- Passing data to a template
- Render a map
- Render an object
- Render a collection
- Template namespace
- Create the message and file templates
- User tags
- User to tag relationship
- User ProfileController
- The myTags form
- Personalizing the home page
- Content service
- Update the HomeController
- Update the home page
- All Messages and Files
- Summary
- Add basic tagging
- 11. AJAX and RIA Frameworks
- Edit tags inline
- The remoteLink tag
- The formRemote tag
- Taggable controller
- Tag views
- Tagging domain changes
- Include the Prototype library
- Try it out
- Auto-complete tags
- Installing the RichUI
- Implement the auto-complete
- Suggest tags action
- RichUI autoComplete widget
- Introducing tag clouds
- RichUI tag cloud component
- Fetch the tag cloud map
- Filter by tags
- Rendering the tag cloud
- Summary
- Edit tags inline
- 12. Searching, RSS, and REST Services
- Searching
- Make our objects searchable
- Integrate searching
- Site-wide search
- Create the search controller
- View the search results
- Update the templates
- Users aren't searchable
- More searching
- RSS
- A note about builders
- Create the RSS feed
- Remove authorization check
- REST services
- REST overview
- URL mapping
- Mapping to variables
- Mapping to HTTP response codes
- Mapping to HTTP methods
- REST service mappings
- Mapping to wildcards
- Applying constraints
- Our Message API mapping
- Implementing the RESTful controller
- Retrieving messages
- Creating new messages
- Authentication for REST API
- A test script
- Summary
- Searching
- 13. Build your own Plug-in
- The tagger plug-in
- Extract the tagging code
- Accessing plug-in templates through Tag Libraries
- Calling tags from controllers
- Current limitations
- Packaging a plug-in
- Using plug-in events
- Grails plug-in lifecycle events
- doWithSpring
- doWithWebDescriptor
- doWithApplicationContext
- doWithDynamicMethods
- onChange and onConfigChange
- Inspecting Grails artifacts
- The GrailsApplication class
- Find Taggable domain classes
- Re-modeling tag relationships
- Adding Taggable behavior
- Groovy MetaClass
- Getting the home page working
- Items of Interest
- Create messages and files
- Update tags
- List messages and files
- RSS
- Grails plug-in lifecycle events
- Summary
- The tagger plug-in
- 14. Deployment and the Real World
- Set up the environment
- Install MySQL
- Install Tomcat
- Configure Grails
- Set up the DataSource
- DataSource configuration
- Environmentally aware
- Database management
- Update your DB configuration
- Control the bootstrap
- Package the WAR file
- Deploy
- Set up the DataSource
- Hosting options
- Next steps
- Java Hibernate classes with GORM
- Integrating with other presentation frameworks
- Data migration
- Summary
- Set up the environment
- Index
- Title: Grails 1.1 Web Application Development. Reclaiming Productivity for faster Java Web Development
- Author: Jon Dickinson
- Original title: Grails 1.1 Web Application Development. Reclaiming Productivity for faster Java Web Development
- ISBN: 9781847196699, 9781847196699
- Date of issue: 2009-05-27
- Format: Ebook
- Item ID: e_3auz
- Publisher: Packt Publishing