Kamis, 04 April 2013

Building a Windows 8 app

Any edition of Visual Studio can be used to build apps for Windows. Though most
 organizations will use the Professional, Premium, or Ultimate version of Visual Studio, the
Express edition for Windows also includes the necessary Software Development Kit (SDK) for
developing Windows apps.

         When an App is built, it becomes an App Package. The App Package contains the files for
the App along with the package manifest. The package manifest contains information about
the App, including how it interacts with the computer or device, what resources it needs, and
so on

         Organizations can continue to use their language of choice for developing Windows apps.
For example, an organization standardized around Visual C# development with the requisite
in-house expertise can continue to use Visual C# for Windows App development. One of the
most powerful features of Windows apps is that they can be built using several languages:
  ■ JavaScript
  ■ Visual Basic
  ■ Visual C#
  ■ Visual C++

       Among these languages, Visual Basic, Visual C#, and Visual C++ are traditional client-side
languages that can be used to build server-side web applications. However, the addition of

      JavaScript is noteworthy for Windows app development. The inclusion of JavaScript in the
available languages for Windows app development means that organizations with expertise
in HTML, CSS, and JavaScript can build fully functional Windows apps that have the same
capabilities as apps developed in the other languages.

        Visual Studio includes five templates customized for each of the available Windows
App development languages. The templates help with the development process and show
 common design patterns and layouts for Windows apps. Some of the templates are shown in
Figure 6-2.

      The five templates provide a good sampling of the design patterns needed for many types
of apps. The type of information and user interaction expected for the app drives the choice
of template. For example, an app that needs to display more than one item might choose a
Grid App template, such as the one shown in Figure 6-3

      An app that needs to enable drill-down for detailed information might choose a Split App
template, such as the one shown in Figure 6-4.

       If one of the available templates isn’t appropriate, the developer can use Blend to design
the layout for the app



Tidak ada komentar:

Posting Komentar