Prev | Current Page 112 | Next

Rob Allen, Nick Lo, and Steven Brown

"Zend Framework in Action"

This occurs when (for instance) assigning a task to a category within a project management
application. Most of the time, the user would want to select an existing category (and not misspell it!), so the
auto-complete dropdown will help her in this task. For those times when she needs to create a new category,
then her workflow is not interrupted in the slightest as she can just type the new category straight into the field.
Dragging and Dropping
Dragging and dropping is very common within computer tasks on your desktop. For instance, in a file
manager, you can select some files and drag them into another folder. Ajax enables this metaphor to work on
the web as well. For instance, you could have a shopping basket in an e-commerce website that allows the user
to drag items from the basket to a trash can to remove them from their order. One caveat here is that many web
applications don??™t allow for drag and drop, so users are ???trained??? to recognize that it is possible on the web.
You should therefore always allow for an alternative method of performing the action, or write very clear
instructions!
Now that we have looked at what Ajax is and how it is used, we will write a simple application that allows
us to investigate how to use JavaScript to send a request back to the server and deal with the response.


Pages:
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
zakłady bukmacherskie Kalkulator kredytowy Wczasy nad morzem uchwyt lcd zrębki