doc/book/en/development/devweb/views.rst
branchstable
changeset 4936 a4b772a0d801
parent 4751 1a9d2c3c7f0c
child 5222 ed6905d98a5e
equal deleted inserted replaced
4935:f710770e6e90 4936:a4b772a0d801
   209 
   209 
   210 
   210 
   211 **This is to be compared to interfaces and protocols in object-oriented
   211 **This is to be compared to interfaces and protocols in object-oriented
   212 languages. Applying a given view called 'a_view' to all the entities
   212 languages. Applying a given view called 'a_view' to all the entities
   213 of a result set only requires to have for each entity of this result set,
   213 of a result set only requires to have for each entity of this result set,
   214 an available view called 'a_view' which accepts the entity.
   214 an available view called 'a_view' which accepts the entity.**
   215 
   215 
   216 Instead of merely using type based dispatch, we do predicate dispatch
   216 **Instead of merely using type based dispatch, we do predicate dispatch
   217 which quite more powerful**
   217 which is quite more powerful.**
   218 
   218 
   219 Assuming we added entries to the blog titled `MyLife`, displaying it
   219 Assuming we added entries to the blog titled `MyLife`, displaying it
   220 now allows to read its description and all its entries.
   220 now allows to read its description and all its entries.
   221 
   221 
   222 .. image:: ../../images/lax-book.10-blog-with-two-entries.en.png
   222 .. image:: ../../images/lax-book.10-blog-with-two-entries.en.png