Those days, when it seemed, that web applications have overthrown standard “cumbersome” client apps, we’ll speak about present and future of consumer oriented desktop applications. This includes, but not restricted to patterns of LOB applications development with WPF, right multimedia support of DirectX bridge and new features, waiting for you in Windows 7. Also we’ll speak about subject oriented programming, will be introduced in NET. 4.0 and how to leverage it even today with the current version of Microsoft framework. tits will be shown during the session, thus restricted to mature audiences
JavaOne: A tour of (advanced) akka features in 60 minutes [con1706]Johan Janssen
Akka is a very interesting and powerful framework that can be used to build high-performance applications. But what can you do with Akka? This session starts with the basics and then covers some more-advanced topics such as finite-state machines, Akka HTTP, remote actors, clustering, routing, sharing, and persistence. The presentation includes a demo done on a Raspberry Pi Akka cluster. After this session, you’ll know what is possible with Akka and will be able to start using those features yourself.
Rails Antipatterns (http://www.amazon.com/Rails-AntiPatterns-Refactoring-Addison-Wesley-Professional/dp/0321604814) 를 읽고 몇 가지 정도만 요약을 해보았습니다.
레일즈를 시작한지 얼마 되지 않은터라 맞지 않는 부분이 있더라도 양해 부탁드려요 :)
A tour of (advanced) Akka features in 40 minutesJohan Janssen
These are the slides for my Akka presentation at JavaLand in 2017. It covers most Akka features like (remote) actors, clusters, FSM, Akka HTTP and persistence. It's explained on a high level to get an idea on what is possible with Akka.
Integrating React.js Into a PHP ApplicationAndrew Rota
React.js has taken the web development world by storm, and for good reason: React offers a declarative, component-oriented approach to building highly-scalable web UIs. But how can we take advantage of a JavaScript library like React in our server-side PHP applications. In this talk l cover the different ways React.js can be integrated into an existing PHP web application: from a client-side only approach to multiple techniques that support full server-side rendering with a Node.js server or PHP’s v8js. I also discuss the trade-offs in each of these designs and the challenges involved with adding React to a PHP site. Most importantly, I consider the higher-level issue of how to improve view cohesion across the client-server divide in a PHP application.
JavaOne: A tour of (advanced) akka features in 60 minutes [con1706]Johan Janssen
Akka is a very interesting and powerful framework that can be used to build high-performance applications. But what can you do with Akka? This session starts with the basics and then covers some more-advanced topics such as finite-state machines, Akka HTTP, remote actors, clustering, routing, sharing, and persistence. The presentation includes a demo done on a Raspberry Pi Akka cluster. After this session, you’ll know what is possible with Akka and will be able to start using those features yourself.
Rails Antipatterns (http://www.amazon.com/Rails-AntiPatterns-Refactoring-Addison-Wesley-Professional/dp/0321604814) 를 읽고 몇 가지 정도만 요약을 해보았습니다.
레일즈를 시작한지 얼마 되지 않은터라 맞지 않는 부분이 있더라도 양해 부탁드려요 :)
A tour of (advanced) Akka features in 40 minutesJohan Janssen
These are the slides for my Akka presentation at JavaLand in 2017. It covers most Akka features like (remote) actors, clusters, FSM, Akka HTTP and persistence. It's explained on a high level to get an idea on what is possible with Akka.
Integrating React.js Into a PHP ApplicationAndrew Rota
React.js has taken the web development world by storm, and for good reason: React offers a declarative, component-oriented approach to building highly-scalable web UIs. But how can we take advantage of a JavaScript library like React in our server-side PHP applications. In this talk l cover the different ways React.js can be integrated into an existing PHP web application: from a client-side only approach to multiple techniques that support full server-side rendering with a Node.js server or PHP’s v8js. I also discuss the trade-offs in each of these designs and the challenges involved with adding React to a PHP site. Most importantly, I consider the higher-level issue of how to improve view cohesion across the client-server divide in a PHP application.
I've seen projects with shiny, new code render into unmaintainable big balls of mud within 2-3 years. Multiple times. But regardless of whether it's the code base as a whole that's rotten, or whether it's just the UI and User Experience that needs a major overhaul: the question on rewrite vs refactoring will come up sooner or later. Based on years of experience, and a plethora of bad decisions cumulating into epic failures, I'll share my experience on how to have a code base that stays maintainable - even after years. After this talk, you'll have more insight into whether you should refactor or rewrite, and how to do it right from now on.
Getting started with JavaScript can be somewhat challenging. Especially given how fast the scenery changes. In this presentation I provide a general view of the state of the art. Besides this I go through various JavaScript related tricks that I've found useful in practice.
survivejs.com is a companion site of the presentation and goes on further detail in various topics.
The original presentation was given at AgileJkl, a local agile conference held in Central Finland.
SPA, isomorphic and back to the server: our journey with JavaScript @ JsDay 2...Alessandro Nadalin
We've been toying around with JS since 4 years, trying to figure out what's the best approach to build mobile-friendly apps that would offer the best performances on mobile devices.
We first went SPA and then decided to take a different approach.
2 years ago we presented a talk, at this very same conference, about how we decided to tackle our problems on mobile with an isomorphic application.
Today, we would like to guide you through 2 years of that choice and why we decided to take a step back and go revamp our mobile website again, with server-side rendering and a pinch of React.
Fast and wicked performance ahead!
This full day course will give you a hands-on, deep dive into React Native. In this course, you will learn how to build cross-platform mobile applications from scratch using Facebook's React Native.
Mobile Open Day: React Native: Crossplatform fast diveepamspb
Заказчиков всегда привлекают кроссплатформенные решения, потому что они разрабатываются в 2 раза быстрее. Но их же всегда волнует вопрос UX: сможет ли кроссплатформа предоставить такую же отзывчивость и красоту, как нативное решение? React Native говорит - да. Мы покажем, как за полчаса начать писать на React Native под две мобильные платформы сразу, обеспечивая при этом нативность внешнего вида и отзывчивость приложения.
Peer Code Review: In a Nutshell and The Tantric Team: Getting Your Automated ...Atlassian
Peer Code Review: In a Nutshell
Development is inherently collaborative. So why aren't you doing code review? This session discusses the importance of collaboration around your source code, the impact code review can have on development teams, and offers guidance on how to get started.
Atlassian Speaker: Matt Quail
Customer Speaker: Patrick Coleman of Dash
Key Takeaways:
* Peer code review explained
* Benefits and approaches to effective code review
The Tantric Team: Getting Your Automated Build Groove On
Want to take your build automation to the next level? This session explains the process of setting up an automated software development infrastructure using the Atlassian tools, focusing on continuous integration. This session outlines key steps involved in automating a typical Java project using Ant, Bamboo, FishEye, Clover, JIRA and a large cast of other supporting tools.
Customer Speaker: Rik Tamm-Daniels
Key Takeaways:
* Continuous integration how-to
* Integrating multiple Atlassian tools, along with other development infrastructure
I've seen projects with shiny, new code render into unmaintainable big balls of mud within 2-3 years. Multiple times. But regardless of whether it's the code base as a whole that's rotten, or whether it's just the UI and User Experience that needs a major overhaul: the question on rewrite vs refactoring will come up sooner or later. Based on years of experience, and a plethora of bad decisions cumulating into epic failures, I'll share my experience on how to have a code base that stays maintainable - even after years. After this talk, you'll have more insight into whether you should refactor or rewrite, and how to do it right from now on.
Getting started with JavaScript can be somewhat challenging. Especially given how fast the scenery changes. In this presentation I provide a general view of the state of the art. Besides this I go through various JavaScript related tricks that I've found useful in practice.
survivejs.com is a companion site of the presentation and goes on further detail in various topics.
The original presentation was given at AgileJkl, a local agile conference held in Central Finland.
SPA, isomorphic and back to the server: our journey with JavaScript @ JsDay 2...Alessandro Nadalin
We've been toying around with JS since 4 years, trying to figure out what's the best approach to build mobile-friendly apps that would offer the best performances on mobile devices.
We first went SPA and then decided to take a different approach.
2 years ago we presented a talk, at this very same conference, about how we decided to tackle our problems on mobile with an isomorphic application.
Today, we would like to guide you through 2 years of that choice and why we decided to take a step back and go revamp our mobile website again, with server-side rendering and a pinch of React.
Fast and wicked performance ahead!
This full day course will give you a hands-on, deep dive into React Native. In this course, you will learn how to build cross-platform mobile applications from scratch using Facebook's React Native.
Mobile Open Day: React Native: Crossplatform fast diveepamspb
Заказчиков всегда привлекают кроссплатформенные решения, потому что они разрабатываются в 2 раза быстрее. Но их же всегда волнует вопрос UX: сможет ли кроссплатформа предоставить такую же отзывчивость и красоту, как нативное решение? React Native говорит - да. Мы покажем, как за полчаса начать писать на React Native под две мобильные платформы сразу, обеспечивая при этом нативность внешнего вида и отзывчивость приложения.
Peer Code Review: In a Nutshell and The Tantric Team: Getting Your Automated ...Atlassian
Peer Code Review: In a Nutshell
Development is inherently collaborative. So why aren't you doing code review? This session discusses the importance of collaboration around your source code, the impact code review can have on development teams, and offers guidance on how to get started.
Atlassian Speaker: Matt Quail
Customer Speaker: Patrick Coleman of Dash
Key Takeaways:
* Peer code review explained
* Benefits and approaches to effective code review
The Tantric Team: Getting Your Automated Build Groove On
Want to take your build automation to the next level? This session explains the process of setting up an automated software development infrastructure using the Atlassian tools, focusing on continuous integration. This session outlines key steps involved in automating a typical Java project using Ant, Bamboo, FishEye, Clover, JIRA and a large cast of other supporting tools.
Customer Speaker: Rik Tamm-Daniels
Key Takeaways:
* Continuous integration how-to
* Integrating multiple Atlassian tools, along with other development infrastructure
Unit - I
Mobile Computing – Mobile Computing Vs wireless Networking – Mobile Computing Applications – Characteristics of Mobile computing – Structure of Mobile Computing Application. MAC Protocols – Wireless MAC Issues – Fixed Assignment Schemes – Random Assignment Schemes – Reservation Based Schemes.
hey!!!!! everybody dats was simple ppt on mobile computing as u all aware dat d world is not stationary things are getting change technology is rocking all over so lets get into in it
and plz. dont forget to comment on my work weather u lik or not
Plugins have evolved in the past year, and the new plugin architecture will be incorporated in all products in 2009. This session dives into the detail of the new plugins system, guides developers on the best techniques and approaches and explores how the architecture will evolve further.
Atlassian Speaker: Don Brown
Key Takeaways:
* In-depth look at plugins 2
* How-tos and code samples
This is the Google Tech Talk that I gave August 17th, 2007 on building a JavaScript library. I derived much of the talk from my experiences in building the jQuery and FUEL JavaScript libraries.
Understanding Framework Architecture using Eclipseanshunjain
Talk on Framework architectures given at SAP Labs India for Eclipse Day India 2011 - Code attached Here: https://sites.google.com/site/anshunjain/eclipse-presentations
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
5. … but what
about me?
This is Nick
… and Nick has
also a lot of letters
for this machine
6. Smart Client Application should be
Simple
Useful
Deployable
Maintainable
Extensible
ACCEPTABLE
7.
8. What is “Smart Client”?
My presentation July 2002 My presentation Feb’ 2009
WinForms User Interface Client User Interface
Deployed via central server Zero footprint deployment
Uses local resources Users local resource
Uses server based data and Synchronizes and distributes
processing data and processes
Works better connected Smart sensitive to local
Works offline environment
Minimum dependencies
11. Planning
Focus on FEATURES Focus on SCENARIOS
Stability Excitement
Incremental Breakthroughs
improvement Most probably will
Most probably “End- leave existing
to-End” scenarios will customers behind
not work
12. Architectural review
But it
cumbersome We need
componentization
There is a ton of
dependencies
13. Dependencies management
Types in a same component can depend one on each other
Cross-component dependencies must be controlled
Can be depend on component in lower layer
Must not be hard depend on component in higher layer
Must avoid to be soft depend on component in higher layer
Need someone else to manage dependencies on the same
layer
Less dependencies – better!
Also less assemblies – better!
… in general – less is better – simpler is better!
14. 10 Design dogmas
Component oriented Primitive Oriented
Rich APIs with lots of No external dependencies
features – ton of Great evolvability, often
dependencies very poor usability
Great usability, poor Incoherent type discovery,
evolvability but not required reflection
Easy type discovery, but Good for low level stable
need reflection framework
Good for higher level
components - not for the
core
15. Extensibility Framework?
There is no “Official” extensibility framework, so you
can…
Create from scratch
Buy/use something good…
Wait for .NET 4.0
Use MEF - Managed Extensibility Framework + WPF today
Catalog
Value Resolver
Composition container
Part Part Part
Export Import Export Import Export Import
16. How it works?
Who has service
I need?
I have!
[Import]
public IEnumerable<IYourService>
YourServices { get; set; }
[Export(typeof(IYourService)]
public class SomeService : IYourService
17. Who is who and what can it do?
Parts relate through contracts
Imports are contracts parts need
Exports are contracts parts offer
The Container is matchmaker
It queues catalogs
Parts can load lazily
Parts can have different lifetimes
Parts are extensible and reusable
18. Contracts
Preconditions, rather then endless try-catch blocks
Postconditions, rather then endless if-else blocks
Assumption.SetPolicy(AssumptionPolicy.Break, new AssumptionHelper());
…
public NotNullSet(HashSet<T> set) Assumption.NotNull(set);
…
Assumption.IsTrue(typeof(T1) != typeof(T2), quot;The two types of values in a mapping cannot be the
same type.quot;);
The best about this is Static Analysis!
19. But what’s with “Compatibility”?
Cross-Version Compatibility
Cross-Redistribution Compatibility
Backward Compatibility
Forward Compatibility
Binary Compatibility
Source Compatibility
API Compatibility
20. Primitives and extensibility?
APIs are published as interfaces into a
“programmability” assembly
Embed interfaces at compile time
Can be deployed to any version of the managed
application
We can “cast” one interface into other in runtime
– loose type coupling
We can add some aspects and logic in compile
time with custom compilers
In .NET 4.0 only!
By now – you can use PostSharp
21. Generic co- and contravariance
It’s scary, but simple
We can cast to ancestor types
private void WriteSomething(object[] something) { }
…
var something = new string[] { quot;It's somethingquot; };
WriteSomething(something);
But it not always works
private void WriteSomething(IEnumerable<object> something) { }
…
var something = new List<string> { quot;It's somethingquot; };
WriteSomething(something); // Compiler says “NO”!
So should we be able to pass Ixxx<TDerived> for
Ixxx<TBase>?
22. Generic co- and contravariance
If T is an output → IX<TDerived> for IX<T>
It’s covariance
…and can be used as IX<out T>
If T is an input → IX<TBase> for IX<T>
It’s contravariance
…and can be used as IX <in T>
private void DoSomething(Func<object, IValueConverter> something) {
this.Converter = something(this.Whatever); // Oh, NOT!!!
}
…
var something = new Func<string, IValueConverter> { };
DoSomething(something);
23. AOP – WTF?
You have INotifyPropertyChanged primitive
public class MyPrimitive : INotifyPropertyChanged {
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanged(string name) {
if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs(name));
For each setter of each descendant you need to call
virtual method OnPropertyChanged
public class MyClass : MyPrimitive {
private int _myProperty;
public int MyProperty { get { return _myProperty; }
set { if (_myProperty != value) { _myProperty = value;
OnPropertyChanged(quot;MyPropertyquot;);
Rather then use automatic setters
public int MyProperty { get; set; }
24. AOP – WTF?
The best is to create your own compilation rule…
… or even some dynamic primitives…
… but it only possible in .NET 4.0
Meanwhile, you can use PostSharp and
OnMethodBoundaryAspect primitive to tell compiler
what to do
internal class SetterWrapper : OnMethodBoundaryAspect {
public override void OnEntry(MethodExecutionEventArgs eventArgs) {
var myPrimitive = eventArgs.Instance as MyPrimitive ;
_propertyInfo = myPrimitive.Class.GetProperty(_propertyName);
eventArgs.MethodExecutionTag = myPrimitive.OnBeforePropertyChange(_propertyInfo, newValue,
oldValue);
eventArgs.FlowBehavior = FlowBehavior.Return;
All the rest will be done automagically
25. Side by Side
.NET 1.x and 2.x CLR - Side by Side on the same
machine
Good for programs
Bad for add-ins
Breaks on 3.x “red bits”
.NET 4.x CLR – Side by Side in process with 2.x CLR
Each module runs again its expected version of CLR
Can be done today by some unmanaged injections
27. Real life software Perform
Specialised tasks
Can process
more than one
request at a time
Increase staff
during peek
hours or replace
staff on trouble
29. Need a change of thinking
To throw out
Local states
Client locks, transactions and scopes
Fault tolerance
To bring aboard
Asynchronous operations
Simplicity
Self descriptive behaviors and
components
30. Local resources?
Windows Sensor and Location platform
Basically the better way to access well-known device types
Build context aware applications
Can be used today by wrapping HID_* methods
Microsoft Sync Framework
You can synchronize your application or device and provide
it offline capabilities
Build “sometimes connected” applications
“DirectHardware” is your friend and savior
DirectX helps you to leverage client’s hardware
It also can varnish a bit your app
34. We already have a lot of stuff
We have trees in WPF
Logical tree – is what you put in XAML
Visual tree – the what WPF renders for us
Inheritance – frozen hybrid of two above
We have Context
All Data Context inherited via trees
Resources inherited via Logical tree
Routed events and commands can be used
through Visual tree
Data Templates = Views
35. 2 conclude
Think as consumer, not as developer
DO design APIs by using it (writing code)
Keep It Simple, Stupid!
Set goals, gates and make an order
Staging Feature
branch branch
Staging
Main Feature
branch
branch
Staging
branch
Avoid integrating unfinished features (yes, even if it is
very cool feature)
36. 2 Read
My Blog
http://khason.net
Windows Client Development
http://windowsclient.net
Windows Presentation Foundation (Toolkit, Futures,
Ribbon, Labs, M-V-VM)
http://codeplex.com/wpf
Managed Extensibility Framework (MEF)
http://codeplex.com/mef
PostSharp + Aspect-Oriented Programming.NET
http://postsharp.org
Microsoft WHDC site (Sensors)
http://microsoft.com/whdc/sensors
Microsoft Sync Framework
http://msdn.microsoft.com/en-us/sync
37. Thank you
Questions?
… and I do not need “Potential – Passion” slide anymore…
tamir@khason.biz
http://khason.net