Download - 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.
An Insight to Microsoft Platform Tahir Rauf | Software Architect
An Insight to Microsoft Platform Topics covered in the presentation
• Development Tool Overview
• Visual Studio Demo
• Tips & Recommendations
Tahir Rauf | Software Architect
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
An Insight Into Microsoft Platform
.NET Framework – General overview
Tahir Rauf | Software Architect
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
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)
An Insight Into Microsoft Platform
Silver light Programming Model
Tahir Rauf | Software Architect
An Insight Into Microsoft Platform
How Silver light Works
Tahir Rauf | Software Architect
An Insight Into Microsoft Platform
Tahir Rauf | Software Architect
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
An Insight Into Microsoft Platform
Microsoft SQL Server
Tahir Rauf | Software Architect
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
An Insight Into Microsoft Platform
What is Windows Azure
Tahir Rauf | Software Architect
An Insight Into Microsoft Platform
How Windows Azure works
Tahir Rauf | Software Architect
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
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
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/
An Insight Into Microsoft Platform
Common Hooks
Tahir Rauf | Software Architect
• hook_help()
• hook_perm()
• hook_init()
• hook_theme()
• hook_block()
• hook_menu()
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;
}
}
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');
}
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
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
An Insight Into Microsoft Platform
Hook_Theme ()
Tahir Rauf | Software Architect
function modulename_theme($existing, $type, $theme, $path) {
}
• Write theme funtions
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;
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
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.
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
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
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
An Insight Into Microsoft Platform
Useful Links
Tahir Rauf | Software Architect
1. Creating modules - a tutorial: Drupal 6.x
2. Creating Our First Module (1.3M PDF)
3. Coding standards
4. http://www.drupal.org