Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Grails 1.1 Web Application Development
  • Table Of Contents Toc
Grails 1.1 Web Application Development

Grails 1.1 Web Application Development

By : Jon Dickinson
5 (1)
close
close
Grails 1.1 Web Application Development

Grails 1.1 Web Application Development

5 (1)
By: Jon Dickinson

Overview of this book

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.
Table of Contents (20 chapters)
close
close
Grails 1.1 Web Application Development
Credits
About the author
Acknowledgement
About the reviewers
Preface

Chapter 5. Authentication with JSecurity Plug-in

Now that you have a decent understanding of Groovy, you can carry on building the application. You currently have user administration screens that are being handled by Grails scaffolding, and users can create messages that are visible on the home page. Before adding any new features, you will learn how to leverage Grails plug-ins to add new behavior to your application. You will use a security plug-in to secure the application, so that only the authenticated users can post and view messages, and only the administrators are able to manage users.

Grails provides a plug-in mechanism that makes it easy to integrate other development frameworks and allows them to interact with our application. There are ranges of plug-ins that cover areas such as:

  • Security

  • Searching

  • Rich user interfaces

  • Testing

  • Performance

  • Web services

  • Content syndication

  • Workflow

  • Reporting and so on

The plug-in architecture enables developers to seamlessly integrate external frameworks into...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Grails 1.1 Web Application Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon