1 / 30

Leveraging existing code in Metro style apps

PLAT-877T. Leveraging existing code in Metro style apps. Jason Olson Program Manager Microsoft Corporation @jolson88. Do less work to get more done !. Agenda. Using the breadth of existing code that exists today Let the platform do the work for you where possible

hunter
Download Presentation

Leveraging existing code in Metro style apps

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PLAT-877T Leveraging existing code in Metro style apps Jason Olson Program Manager Microsoft Corporation @jolson88

  2. Do less work to get more done!

  3. Agenda • Using the breadth of existing code that exists today • Let the platform do the work for you where possible • You can use code that others have written • You can use your own code • Some tips ‘n tricks you should know about reusing existing code You’ll leave with… • Examples of reusing existing C#/C++/JS code • Most important things you need to know when reusing existing code • Pointers to more content

  4. Three types of code reuse Platform Features Other People’s Code Your Own Code

  5. The best code is code you never write in the first place… Platform Features

  6. demo Using Windows contracts

  7. Let the platform do the work for you when possible.

  8. Content for more depth [405] Share: Your app powers the Windows 8 share experience [406] Search: Integrating into the Windows 8 search experience SDK Sample: Search Contract Sample SDK Sample: Shared Source Sample SDK Sample: Camera Capture UI Sample SDK Sample: PlayTo Sample

  9. Why write it yourself when someone else has written it for you? Other People’s Code

  10. jQuery jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.

  11. demo Groove – Building a drum sequencer UI

  12. Content for more depth [381] Building beautiful and interactive apps with HTML5 & CSS3 [382] What’s new with HTML5, Javascript, and CSS3 [873] Designing Metro style apps using CSS3

  13. There’s always a counter-example… Other People’s Code

  14. demo Using NodaTime

  15. Windows SDK enables asimplifieddevelopment experience.

  16. demo Compiling NodaTimefor Windows 8

  17. You can use code that others have written.

  18. Content for more depth [531] Using the Windows Runtime from C# and Visual Basic [532] Using the Windows Runtime from C++ [Lab] – Using C++ to enhance your Metro style apps built using Javascript [Lab] – Using the Windows App Certification Kit to validate and prepare Metro style apps for the Store

  19. Reusing your own code and exposing it via the Windows Runtime Your Own Code

  20. Two ways to expose… Language Projection Language Projection WinRT Components WinRT Component WinRT Components OR Native or .NET Components Native or .NET Components

  21. demo Groove – Playing dynamic audio

  22. You can use your own code and expose it via the Windows Runtime.

  23. Be mindful of the amount of communication across language Boundaries.

  24. Sessions for more depth [PLAT-874T] Lap around the Windows Runtime [PLAT-875T] Windows Runtime internals: understanding "Hello World" [TOOL-531T] Using the Windows Runtime from C# and Visual Basic [TOOL-532T] Using the Windows Runtime from C++ Dev Center: The Windows Runtime Dev Center: C++ Language Extension Summary

  25. Three types of code reuse Platform Features Other People’s Code Your Own Code

  26. Key takeaways Let the platform do the work for you You can use code that others have already written You can use your own code and expose it via the Windows Runtime if necessary Use the right tool for the right job

  27. Do less work to get more done!

  28. thank you Feedback and questions http://forums.dev.windows.com Session feedbackhttp://bldw.in/SessionFeedback

  29. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related