Zend_Db_Table builds upon the foundation to
provide a table based interface to the data in the table and so makes working with the database from within the
Model of an MVC application much easier. For those times when it is important to work with a specific row of
data, Zend_Db_Table_Row provides simple access.
We have now covered the all the bases required for the underlying structure of a Zend Framework
application and so will move on in our journey to look authentication and authorization which will allow us to
restrict certain parts of our application to specific users and to ensure that those users can only perform actions
appropriate to the trust that the application has in them.
Licensed to Menshu You
Please post comments or corrections to the Author Online forum at
http://www.manning-sandbox.com/forum.jspa?forumID=329
6
User Authentication and Authorisation
Most websites nowadays restrict different areas to different people. For example, most e-commerce sites
require that you are logged in before you can checkout your order. Other sites have ???members-only??? pages that
can only be accessed after log-in. In Places, only registered users are able to write or rate a review. This
functionality is known as authentication and authorisation and in this chapter we will look at the support
provided by the Zend Framework.
Pages:
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182