ZK Developer's Guide
ZK Developer's Guide
ZK Developer's Guide
- TAGS
- guide
- iknow.seforge.org
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Online Media Library<br />
The first chapter shows the theory and deployment of the <strong>ZK</strong> framework. Now<br />
it's time to do the things that we are here for: implementing applications with <strong>ZK</strong>.<br />
The next three chapters will show the detailed implementation of a small, but rich<br />
application. It's not really possible to use all components in this application, but the<br />
application at the end of Chapter 4 has many things that you will need in your first<br />
project with the <strong>ZK</strong> framework.<br />
With the help of this chapter, you should be able to build your own applications<br />
based on the <strong>ZK</strong> framework. In this chapter, we only build the cornerstone of the<br />
Online Media library, and improve it step by step in the next chapters.<br />
An Online Media Library<br />
There are some traditional applications that could be used to introduce a framework.<br />
One condition for the selection is that the application should be a CRUD (Create<br />
—Read—Update—Delete) application. Therefore, an 'Online Media Library', which<br />
has all four operations, would be appropriate. We start with the description of<br />
requirements, which is the beginning of most IT projects.<br />
The application will have the following features:<br />
•<br />
•<br />
•<br />
•<br />
•<br />
Add new media<br />
Update existing media<br />
Delete media<br />
Search for the media (and show the results)<br />
User roles (administrator for maintaining the media and user accounts for<br />
browsing the media)