JavaBeat Certifications Certifications Kits Articles Interview Questions OCAJP 7 OCPJP 5 OCPJP 6 OCEJWCD 6 SCBCD 5.0 SCEA SCJA

ZK Developer’s Guide : Online Media Library

Author : PacktPub
Topic : books zk-framework ajax
Pages :
Submit Your Blog Feedback Request Article Print Email

Title : ZK Developer’s Guide : Online Media Library
Publisher : PacktPub
Topic : books
Related : Hibernate, Spring, Struts, ejb
Javabeat : Tips, Java / J2EE Tutorials, Certifications

Online Media Library

The first chapter shows the theory and deployment of the ZK framework. Now it's time to do the things that we are here for: implementing applications with ZK. The next three chapters will show the detailed implementation of a small, but rich application. It's not really possible to use all components in this application, but the application at the end of Chapter 4 has many things that you will need in your fi rst project with the ZK framework.

With the help of this chapter, you should be able to build your own applications based on the ZK framework. In this chapter, we only build the cornerstone of the Online Media library, and improve it step by step in the next chapters

An Online Media Library

There are some traditional applications that could be used to introduce a framework. One condition for the selection is that the application should be a CRUD (Create —Read—Update—Delete) application. Therefore, an 'Online Media Library', which has all four operations, would be appropriate. We start with the description of requirements, which is the beginning of most IT projects.

The application will have the following features:

  • Add new media
  • Delete media
  • Search for the media (and show the results)
  • User roles (administrator for maintaining the media and user accounts for browsing the media)

In the first implementation round the application should only have some basic functionality that will be extended step by step.

A media item should have the following attributes:

  • A title
  • A type (Song or Movie)
  • An ID which could be defi ned by the user
  • A description
  • An image
  • The most important thing at the start of a project is to name it. We will call our project ZK-Medialib.

Submit Your Blog Feedback Request Article Print Email

Related Articles


javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2013), JavaBeat