Unless the views are quite different between cities, definitely use a
single view file.

In MVC your controller should load whatever data is appropriate for
the request, and the view just renders that data (into HTML, or RSS,
or JSON, or whatever particular format the request needs).  In what
you have mentioned it just sounds like the data loaded will be
different, but the display of that data will be pretty much the same.
Even small view changes should still be done in just a single view
file - you don't want duplicated functionality if you can avoid it.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to