Home     |      Learn AJAX     |      Forum     |      Register     |      Submit Resource     |      Submit Article      |      Contact Us

Home Frameworks ZK Framework
 

ZK-Framework - Online Media Library

 

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 first 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
  • Update existing 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 defined 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.


ZK Developer's Guide


 


Read ZK Developer's Guide Book Review


This book is available for purchase at packtpub.com ZK Developer’s Guide


 


 


Read More from Sample Chapter 2 - Online Media Library
ZK-Framework - Setting up Eclipse to Develop with ZK
ZK-Framework - Setting up a New Project
ZK-Framework - Ceating the Pages



Read Next: ZK-Framework - Setting up Eclipse to Develop with ZK



 

 

Comments



Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links