An insight to microsoft platform

31
Boutique product development company It is amazing what you can accomplish when you have a client-centric team to deliver outstanding products.

description

 

Transcript of An insight to microsoft platform

Page 1: An insight to microsoft platform

Boutique product development company It is amazing what you can accomplish when you have a client-centric team to deliver outstanding products.

Page 2: An insight to microsoft platform

An Insight to Microsoft Platform Tahir Rauf | Software Architect

Page 3: An insight to microsoft platform

An Insight to Microsoft Platform Topics covered in the presentation

• Development Tool Overview

• Visual Studio Demo

• Tips & Recommendations

Tahir Rauf | Software Architect

Page 4: An insight to microsoft platform

An Insight Into Microsoft Platform

Development Tools Overview

Tahir Rauf | Software Architect

•Microsoft .NET

•Microsoft SQL Server

•Windows Azure

•Windows Phone 7

•XNA and Kodu Framework

•Silverlight

•Microsoft Visual Studio

Page 5: An insight to microsoft platform

An Insight Into Microsoft Platform

.NET Framework – General overview

Tahir Rauf | Software Architect

Page 6: An insight to microsoft platform

An Insight Into Microsoft Platform

Overview of General Features

Tahir Rauf | Software Architect

• Interoperability

• Language Independence

• Base Class Library

• Portability (Mono, DotGNU, CrossNet)

• Simplified deployments

• Security

Page 7: An insight to microsoft platform

An Insight Into Microsoft Platform

What is Silver light

Tahir Rauf | Software Architect

)

• Application framework for Rich Internet Applications

• Subset of WPF

• Uses XML based representation of presentation using XAML

• XAML targets multiple platforms (desktop, web, mobile)

Page 8: An insight to microsoft platform

An Insight Into Microsoft Platform

Silver light Programming Model

Tahir Rauf | Software Architect

Page 9: An insight to microsoft platform

An Insight Into Microsoft Platform

How Silver light Works

Tahir Rauf | Software Architect

Page 10: An insight to microsoft platform

An Insight Into Microsoft Platform

Tahir Rauf | Software Architect

Page 11: An insight to microsoft platform

An Insight Into Microsoft Platform

Gaming frameworks (XNA & Kodu)

Tahir Rauf | Software Architect

• Cross platform Game development framework

• XBOX, Windows, Mobile, Zune

• C#, VB.NET as compared to traditional C++

• Kodu – codeless way of game development

Page 12: An insight to microsoft platform

An Insight Into Microsoft Platform

Microsoft SQL Server

Tahir Rauf | Software Architect

Page 13: An insight to microsoft platform

An Insight Into Microsoft Platform

MS SQL Server high level feature set

Tahir Rauf | Software Architect

• Database Engine (DBMS) (SQL server management studio)

• Analysis services (Multidimensional Data, Data Mining) (Business

intelligence development studio)

• Integration services (ETL)

• Replication

• Reporting Services (Business Intelligence)

• SQL Server Service Broker

Page 14: An insight to microsoft platform

An Insight Into Microsoft Platform

What is Windows Azure

Tahir Rauf | Software Architect

Page 15: An insight to microsoft platform

An Insight Into Microsoft Platform

How Windows Azure works

Tahir Rauf | Software Architect

Page 16: An insight to microsoft platform

An Insight Into Microsoft Platform

Azure Features overview

Tahir Rauf | Software Architect

• Focus on your application, not operational constraints.

• Administration

• Availability

• Scalability

• REST and managed APIs (storage services even out of cloud)

• Fault Tolerance (3 times replication)

• VM

• In built, caching support

Page 17: An insight to microsoft platform

An Insight Into Microsoft Platform

Windows Phone 7

Tahir Rauf | Software Architect

Sensors Media Data

Xbox LIVE Notifications

.NET Framework managed code sandbox

Location

Phone

Phone Emulator

Samples Documentation

Guides Community

Packaging and Verification Tools

Runtime Tools

Cloud Portal

Notifications

Location Identity Feeds

Maps Social

App Deployment Registration

Validation

Certification

Publishing

Marketplace

MO and CC Billing

Business Intelligence

Update Management

Page 18: An insight to microsoft platform

An Insight Into Microsoft Platform

Tips and Recommendations

Tahir Rauf | Software Architect

Visual Studio Code Samples at MSDN (C#, C++, j#, VB, Smart Devices

etc) - http://msdn.microsoft.com/en-us/library/se881ay9(v=vs.80).aspx

MSDN Library http://msdn.microsoft.com/en-us/ms348103

Microsoft Research Community (Publications, projects) -

http://research.microsoft.com/

Page 19: An insight to microsoft platform

An Insight Into Microsoft Platform

Common Hooks

Tahir Rauf | Software Architect

• hook_help()

• hook_perm()

• hook_init()

• hook_theme()

• hook_block()

• hook_menu()

Page 20: An insight to microsoft platform

An Insight Into Microsoft Platform

Help Hooks – a Module File Entry

Tahir Rauf | Software Architect

/**

* Implementation of hook_help

*/

function modulename_help($path, $arg) {

switch ($path) {

case 'admin/help#color':

$output = '<p>'. t('The color module allows a site administrator to

quickly and easily change the color scheme of certain

themes.’ ).'</p>';

return $output;

}

}

Page 21: An insight to microsoft platform

An Insight Into Microsoft Platform

Specify the Available Permissions

Tahir Rauf | Software Architect

• Tell Drupal who can use your module.

/**

* Implementation of hook_perm

*/

function modulename_perm() {

return array('access site-wide ', 'administer colors');

}

Page 22: An insight to microsoft platform

An Insight Into Microsoft Platform

Hook_init ()

Tahir Rauf | Software Architect

• This hook is run at the beginning of the page request.

1. Add CSS or JS that should be present on every page.

2. Set up global parameters which are needed later in the request

Page 23: An insight to microsoft platform

An Insight Into Microsoft Platform

Cont..Hook_init ()

Tahir Rauf | Software Architect

function modulename_init() {

$path = drupal_get_path('module', ‘modulename');

drupal_add_js($path . '/filename.js');

drupal_add_css($path . ‘/filename.css', 'module', 'all', FALSE);

}

http://api.drupal.org/api/drupal/developer!hooks!core.php/function/hook_i

nit/6

Page 24: An insight to microsoft platform

An Insight Into Microsoft Platform

Hook_Theme ()

Tahir Rauf | Software Architect

function modulename_theme($existing, $type, $theme, $path) {

}

• Write theme funtions

Page 25: An insight to microsoft platform

An Insight Into Microsoft Platform

Declaring Block Content

Tahir Rauf | Software Architect

/** * Implementation of hook_block(). * @param string $op one of "list", "view", "save" and "configure" * @param integer $delta code to identify the block * @param array $edit only for "save" operation */

function modulename_block($op = 'list', $delta = 0, $edit = array()) { switch ($op) {

case 'list':

$block = array();

$block[0]["info"] = t('assets');

return $block;

break;

Page 26: An insight to microsoft platform

An Insight Into Microsoft Platform

Declaring Block Content Cont..

Tahir Rauf | Software Architect

case 'view':

$block['subject'] = 'assets';

$block['content'] = get_block_content();

return $block;

break;

}

}

http://api.drupal.org/api/drupal/developer!hooks!core.php/function/hook_

block/6

Page 27: An insight to microsoft platform

An Insight Into Microsoft Platform

Hook Menu

Tahir Rauf | Software Architect

• Define menu items and page callbacks.

• This hook enables modules to register paths in order to define how URL

requests are handled.

• This hook is rarely called (for example, when modules are enabled), and

its results are cached in the database.

Page 28: An insight to microsoft platform

An Insight Into Microsoft Platform

Hook Menu Cont..

Tahir Rauf | Software Architect

function modulename_menu() {

$items['abc/def'] = array(

'page callback' => 'mymodule_abc_view',

'type' => MENU_CALLBACK,

'access callback' => true,

);

return $items;

}

http://api.drupal.org/api/drupal/developer!hooks!core.php/function/hook_

menu/6

Page 29: An insight to microsoft platform

An Insight Into Microsoft Platform

Useful Links

Tahir Rauf | Software Architect

• hook_form_alter(&$form, &$form_state, $form_id)

http://api.drupal.org/api/drupal/developer!hooks!core.php/function/hook_form_alter/6

• hook_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) http://api.drupal.org/api/drupal/developer!hooks!core.php/function/hook_nodeapi/6

• hook_user($op, &$edit, &$account, $category = NULL) http://api.drupal.org/api/drupal/developer!hooks!core.php/function/hook_user/6

Page 30: An insight to microsoft platform

An Insight Into Microsoft Platform

.Uninstall File

Tahir Rauf | Software Architect

• Remove all tables that a module defines.

• http://api.drupal.org/api/drupal/includes!common.inc/function/drupal_

uninstall_schema/6