Software Development. Chapter 4 – Windows application interfaces.

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to Freeware/Shareware Chapter Four Essential Tools for Web Page Authors.
Advertisements

Chapter 3 – Web Design Tables & Page Layout
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Section 6.1 Write Web text Use a mission statement Generate and organize content ideas Section 6.2 Use page dimension guidelines Determine content placement.
6 Developing Content and Layout Section 6.1 Generate and organize content ideas Write and organize Web text Section 6.2 Identify page dimension guidelines.
Software development. Chapter 8 – Advanced Topics.
COE201 – Computer Proficiency Mr. Hamze Msheik
© by Pearson Education, Inc. All Rights Reserved.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Chapter 4 Adding Images. Inserting and Aligning Images Using CSS When you choose graphics to add to a web page, it’s important to use graphic files in.
Copyright 2003 The McGraw-Hill Companies, Inc CHAPTER Application Software computing ESSENTIALS    
Chapter 1 Understanding the Web Design Environment
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Software Development. Chapter 3 – Your first Windows 8 app.
Software development. Chapter 7 – Application distribution and sales.
Software development. Chapter 5 – Data management.
Software Development. Chapter 2 – Programming on Windows 8.
Chapter 1 Variables in the Web Design Environment.
Chapter 1 Variables in the Web Design Environment
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
Android Boot Camp for Developers Using Java, Comprehensive: A Guide to Creating Your First Android Apps Chapter 9: Customize! Navigating with a Master/Detail.
Dreamweaver CS6 Jumpstart CCSA 115 Web tools Lesson 1.
Lab 8 – C# Programming Adding two numbers CSCI 6303 – Principles of I.T. Dr. Abraham Fall 2012.
11 Games and Content Session 4.1. Session Overview  Show how games are made up of program code and content  Find out about the content management system.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Introduction to VB.NET Tonga Institute of Higher Education.
Getting Started with Expression Web 3
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
Software development. Chapter 6 – Advanced interface design.
1 Intro XAML Attribute syntax & property syntax Panels Reusable resources Controls Data binding Steen Jensen, spring 2014.
In addition to Word, Excel, PowerPoint, and Access, Microsoft Office® 2013 includes additional applications, including Outlook, OneNote, and Office Web.
Design and Layout for Windows 8 and Windows Phone Style Apps Shane Morris Automatic Studio DEV221.
An Introduction to Silverlight Matt Harrington Developer Evangelist, Microsoft October 20, 2011.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (pg. 85) Lesson 4.2Lesson 4.2.
Adobe Dreamweaver CS3 Revealed CHAPTER FIVE: USING HTML TABLES TO LAY OUT A PAGE.
Images. The Element To place an image on our web page, we use the self-closing element: The src attribute ("source") is required and supplies the name.
Presented by Graduate Design Group 2 Meredith, Jennifer, Cammay and Diane.
LAYOUT CONTROLS. XAML Overview XAML : eXtensible Application Markup Language pronounced (ZAMEL) is a markup language used to design user interfaces XML-based.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
Week 11 Creating Framed Layouts Objectives Understand the benefits and drawbacks of frames Understand and use frame syntax Customize frame characteristics.
Students : Hiba Ghannam Hawa Osama Superviser: Haya Sammaneh.
XP Practical OpenOffice.org Chapter 8 1 Creating a Presentation.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Backgrounds Pictures Movies Sounds Lists Excel Files Charts Word Files Drawing Transitions – Presentations, Projects – Outlines, Displays, Slide Shows.
C OMPUTING E SSENTIALS Timothy J. O’Leary Linda I. O’Leary Presentations by: Fred Bounds.
What is PowerPoint? By Kettina L. Robinson. Unit Questions What do I want to accomplish? What do I want to accomplish? What content do I need to cover?
Modern Design Principles (MS). Hubs & spoke navigation pattern Hierarchical pattern Best for large collections of related content Content is separated.
User Interface Design In Windows using Blend.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Positioning Objects with CSS and Tables
Boxes. boxes- learning targets o I will be able to display buttons (boxes) o I will be able to organize boxes o I will be able to create an animation.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
Getting Started with HTML
Section 6.1 Section 6.2 Write Web text Use a mission statement
Building Windows 8 App.
Microsoft Office 2007-Illustrated
GO! with Microsoft Office 2016
GO! with Microsoft Access 2016
CHAPTER 8 Multimedia Authoring Tools
Section 10.1 YOU WILL LEARN TO… Define scripting
WPF AKEEL AHMED.
Tutorial 7 – Integrating Access With the Web and With Other Programs
User Interface Design In Windows using Blend.
Presentation transcript:

Software Development

Chapter 4 – Windows application interfaces

Contents❷❸ Significance of a good interface Planning your interface What should the interface take into account? Visual Studio application templates Layout controls Importing graphics Animations

Significance of a good interface Especially consumers are quick to abandon programs with a poor or insufficient interface An interface is good when the user doesn't need to stop and think how to use it A good interface isn't born spontaneously

Windows 8 interfaces Windows 8 have been designed to be visually impressive, efficient, and easy to use Much can be learned by observing users and picking up ideas from other applications Follow Microsoft's instructions, but especially games should make their own decisions – You can start at dev.windows.com

Planning A good interface requires forethought A good plan doesn't require any special tools, pen and paper are sufficient Sketches of the application's interface are an integral part of your plan Your goal is to help graphic designers and developers to start working quickly

A good plan answers questions When planning your application out, attempt to answer at least the following questions: – What is your application good for – where is it better than the others? – Who is your application aimed at? – On what devices can your application be used? Tablets, laptops, desktops? – What are your application's most important features? – What do the most important screens of your application look like and how do you move between them? In what order?

Touch first Windows 8 applications are primarily intended to be touch-controlled This must taken into account during interface design However, people still use plenty of computers without touchscreens – Make sure that the application can be used with traditional input methods

Microsoft's five guidelines Microsoft gives five guidelines for Windows 8 interfaces – Pride in craftsmanship – Be fast and fluid – Authentically digital – Do more with less – Win as one

Visual Studio application templates Microsoft has endeavored to make the development of Windows 8 applications easy by providing application templates The four most useful templates are: – Blank App – Grid App – Hub App – Split App

New Project window

More on templates Blank App – A blank template aimed at developers who are familiar with Windows 8 programming Grid App – Provides an easy way to start developing Windows 8 applications – based around a grid consisting of different groups – Third separate page for displaying details of each item Hub App – New addition that requires Windows 8.1 to function – Divides the application's main screen into differently sized portions giving more room for important elements – The template has three pages Split App – Splits the application into two pages – Ideal for applications with text and images as their contents

XAML language The interfaces of Windows 8 applications are built with the XAML programming language Short for "eXtensible Application Markup Language" Uses XML syntax XAML files can be identified from the ".xaml" file type. Visual Studio templates always include at least one XAML file

Layout controls Windows 8 applications are able to use all available screen space for their functionalities. Windows 8 applications are able to use specific layout controls The most common layout controls – Canvas, StackPanel, Grid, VariableSizedWrapGrid

Asettelukontrollit ControlDescriptionSample layout Canvas Free element placing StackPanel Automatically stacks elements horizontally or vertically Grid Grid-like layout, developer sets the number of rows and columns VariableSizedWrapGrid Like Grid but single tiles can be of a different size

Importing graphics Impressive and stylish graphics are indispensable in attracting and pleasing users Therefore it is important to know how to import graphical elements into your applications and display them on screen Graphics can be imported during development or downloaded from the web when the application is launched

Adding an image file 1.Launch Visual Studio and open your Windows 8 application project 2.From the Project menu, choose Add Existing Item 3.Choose your image file and click Add 4.Add an Image component to your program and choose your image file with the Image component's Source field 5.The image file will be displayed inside the Image component

Adding an image file, 4 and 5 The Image component in the Toolbox. Setting the source

Downloading an image In addition to the images added to your project you can use image files from the Internet Sample code for downloading an image An image titled ”myImage” will be download into the Image compotent ” string url = " myImage.Source = new BitmapImage(new Uri(url));

Animations Windows 8 applications offer versatile support for the use of animations Especially on touchscreen devices animations can a source of joy and utility for users The animations are defined with XAML code – These do not need to be written manually – Especially Expression Blend can help in animating

Expression Blend

What is Expression Blend? Expression Blend is a graphics tool – Visual Studio on the other hand is for programming Uses and supports the same file formats as Visual Studio – Seamless co-operation between developers and graphic artists Both Blend and Visual Studio have the same XAML support, but the used features differ

A simple animation Let's create a simple animation in XAML code Our goal is to display movement on screen We will also write the code to start the animation

Step 1: the ellipse to be animated XAML code to add a red ellipse <Ellipse x:Name="ellipse" Fill="Red" HorizontalAlignment="Left" Height="100" Margin="76,216,0,0" Stroke="Black" VerticalAlignment="Top" Width="130" RenderTransformOrigin="0.5,0.5">

Step 2: defining the animation <DoubleAnimation Duration="0:0:0.6" To=" " Storyboard.TargetProperty="(UIElement. RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="ellipse” d:IsOptimized="True"/> <DoubleAnimation Duration="0:0:0.6" To="2.985" Storyboard.TargetProperty="(UIElement. RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="ellipse” d:IsOptimized="True"/>

Step 3: launching the animation Though the animation has been defined in XAML, it doesn't launch automatically Animations can be launched in many ways The most straightforward one is to have the program code perform the activation The required string of code: Storyboard1.Begin();

Assignments What are the advantages of both Visual Studio and Blend supporting the same XAML format? What is a storyboard in the context of Windows 8 applications? Find out which processors are used when a Windows 8 application displays animations.

Questions and answers 1 I've gotten used to using Visual Studio when creating applications, Do I have to use Blend? Blend is not technically essential, but it is a great aid for designing graphics and especially in creating animations. Small details are important, so you should invest in developing your application's visuals. In short, Blend can make a good Windows 8 application excellent.

Questions and answers 2 Where can I find more information on the XAML language? XAML, the eXtensible Application Markup Language, is a markup language for describing and defining Windows 8 application interfaces. XAML:n hyvä hallinta auttaa sinua tekemään parempia Windows 8 -sovelluksia. Extensive information on XAML is available at 4.aspx. Some of the materials are available in Finnish. 4.aspx Remember, since XAML uses XML syntax, the knowledge of the XML language is helpful to learning XAML.