The Catalyst MVC framework is a great tool to use for implementing
small and big web projects using the Perl programming language. It
provides a lot of useful functionality like session handling,
authorization and request chaining, out of the box.
This tutorial will show you how to create a Catalyst project for
managing a list of books stored in a database. You will learn how to add
a database to your application, create a RESTful controller that
implements CRUD operations on the Book resource and adding a template
for rendering an index page containing a Shield UI JavaScript Grid
component configured to work with your REST controller.
Prerequisites
It is required that you have experience writing web applications with Perl and understanding of the MVC architectural pattern.
The first step is to install Perl and Catalyst on your PC. More information can be found on the Catalyst wiki.
It is required that you have experience writing web applications with Perl and understanding of the MVC architectural pattern.
The first step is to install Perl and Catalyst on your PC. More information can be found on the Catalyst wiki.
Conclusion
This tutorial described how to create a Catalyst project from scratch, add a database to it and implement a CRUD RESTful controller for manipulating that database. It also included a powerful Grid component from the Shield UI for JavaScript and HTML5 library that was used for rendering the user interface that calls the server-side controller code. By embedding powerful user interface widgets like the ones included in the Shield UI suite, developers save time, cost and concerns about client-side peculiarities like responsiveness, cross-browser support and unified product vision.
This tutorial described how to create a Catalyst project from scratch, add a database to it and implement a CRUD RESTful controller for manipulating that database. It also included a powerful Grid component from the Shield UI for JavaScript and HTML5 library that was used for rendering the user interface that calls the server-side controller code. By embedding powerful user interface widgets like the ones included in the Shield UI suite, developers save time, cost and concerns about client-side peculiarities like responsiveness, cross-browser support and unified product vision.
You can read full tutorial here

Няма коментари:
Публикуване на коментар