Why is Zoop special?

Zoop is a framework in every sense of the word, in that it provides both structure and libraries. To understand this better we will examine how it achieves this.

Zoop provides structure to applications

The core structure to a Zoop Application is a zone. This is probably a new term to you if you are using Zoop for the first time. Zones are unique to Zoop and provide a very organized structure for the programmer to work in. Each separate major function of the program is placed into a zone. We will discuss more about zones later. The major point is that Zoop is very organized, which translates into a more manageable codebase. In fact with Zoop you actually have to make an effort to be unorganized, because it is much easier to follow the standard.

Zoop provides functionality (objects / functions)

Because of the structure of Zoop, Zoop can provide functionality in two different ways. For simplicities sake we will distinguish them as lower level and higher level functionality. Lower level functions can be used regardless of the structure of the application and could even be used in a non Zoop based application. A good example of this is the function append_to_file($file,$content) which opens a file and appends content to it. That function can be used anywhere, even outside of Zoop. Higher level functions are those that take advantage of the Zone structure provided by Zoop. Examples of these higher level functions are guiControls. GuiControls are more or less form widgets with integrated validation. They are incredibly simple to use and the validation occurs before you even see $_POST. As a programmer that is a very nice function to have. These higher level functions cannot be used without using the zone structure. Zoop has a nice balance of both higher and lower level functions.

URL mapping to functions

Part of the advantage of using Zoop is that it has a very clear and understandable URL mapping structure. Given a url the programmer knows exactly which function is being run in which file and which parameters are being passed to that function. This makes Zoop one of the best environments to develop in especially for groups of programmers working on the same code base.