首先创建桌面视图类,它将调用先前创建的ui类。
You start by creating a desktop view class that calls the UI class created earlier.
如果请求的是HTML,它会重定向到RecipesController索引页面,这个页面是应用程序的桌面视图的主页面。
If the request is for HTML, it redirects to the RecipesController index page, which is the main page of the desktop view of the application.
主页视图和联系人列表视图是两处需要增强页面布局的位置,以便利用桌面浏览器提供的更大的屏幕大小。
The home page view and the contact list view are two places where page layouts were enhanced to exploit the larger screen size available with desktop browser.
应用推荐