IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Coder
Search Coder Group:

Advanced
-Collapse +Expand Coder Study Test
PRESTWOODCERTIFIED
-Collapse +Expand Coder Store
PRESTWOODSTORE

Prestwood eMagazine

May Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyCoding & OO BoardCoding Techniques Topic   Print This     

Silverlight = DLR + WPFe

Silverlight = DLR + WPFe in Coding Techniques topic (part of our Coding & OO group).

Quick Search: Silverlight   Silverlight =   Silverlight = DLR  
Moderator
Brian Prestwood
Prestwood IT
Sacramento, CA USA

The dynamic language runtime (DLR) browser plug in is a paired down version of the common language runtime, similar to the compact framework for Pocket PCs, that installs as a browser plug in and runs in the process space of the browser. In other words, the DLR is Microsoft's entry into the browser sand box fray (ala Sun Java and Adobe Flex).

The Windows Presentation Foundation (WPF) is a new application, vs gaming, graphics engine that addresses many of the problems of the GDI. In particular, WPF dynamically scales the UI elements of your app to make the most of the available screen resolution. Ironically, at the base of WPF, the DirectX gaming engine is doing most the work.

WPFe is a scaled down version of WPF designed to run in the process space of the browser and install as a browser plug in.

The Microsoft marketing department saw an excellent opportunity to market these development tools to non-developers and hide the valuable technical lineage of the tools at the same time so they bundled the DLR and WPFe then renamed the bundle Silverlight. Viola, thousands of confused developers and millions of disinterested non-developers.

So, what does Silverlight mean to us developers? It means our client side scripting is now managed code written in the same language as our server side code. It means our UI elements can use real inheritance instead of master pages.

Scaled down versions, so what's missing? ADO for one thing. The only client side cursor engine available in the DLR is LINQ. LINQ is similar to XPATH and XQUERY so if you've been using them for your client side cursor engine you'll find LINQ an easy transition.

Another thing that's missing is a Visual Studio form designer, sort of. Visual Studio uses Expressions Blend as its form designer. Switching back and forth can be a bit irritating but seems to work well.

Brian Prestwood, MCSD-MCT
Chief Technology Officer
Prestwood Software

 Posted 10 years ago (Thread Starter)
Comment Quote
About Brian Prestwood -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Brian Prestwood
Brian Prestwood is the Chief Technology Officer (CTO) of Prestwood Software specializing in .NET distributed business record management system architecture. Currently Brian is focusing on software development work with the state of California. When time permits, he participates in this online community.
Web Presence
Website, My Online Resume (brian.prestwood.name)

Post ID #13206, 6 replies
Thread Started 1/5/2009 10:37:09 AM
View Counter=5810
Last Reply Posted 1/6/2009 6:20:34 PM)
Location=Sacramento, CA USA  
Joined=19 years ago   MB Posts=12   KB Comments=1  
Moderator
Mike Prestwood
Prestwood IT
Prestwood IT office in Citrus Heights, CA
Quote:
Originally Posted by bprestwo

...Windows Presentation Foundation (WPF)...addresses many of the problems of the GDI. In particular, WPF dynamically scales the UI elements...

WPFe is a scaled down version of WPF designed to run in the process space of the browser and install as a browser plug in.



Hi Brian,

So, if I'm understanding correctly. WPF is a Windows platform-specific tool that uses Windows DirectX and WPFe is a browser-specific cross platform version that uses a plug in, ala Flash, so you can do many of the same tasks within a browser. Right?

--
Mike Prestwood
Prestwood IT Solutions

 Posted 10 years ago
Comment Quote
About Mike Prestwood -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Mike Prestwood

Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions. Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains play-drums.com and has authored 3 drum books. If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.

Web Presence
Facebook, Prestwood IT Facebook page -- fan page. (Visit Me)
Twitter, Follow Prestwood IT on Twitter. (Visit Me)
LinkedIn, Prestwood IT company page on LinkedIn. (Visit Me)
YouTube, Prestwood IT YouTube Channel (Visit My Channel)
Website, My drum website where I sell my drum books. (http://www.play-drums.com)

Post ID #13212 (Level 1.1)  Reply to 13206
Thread Started 1/6/2009 2:33:24 PM
Location=Prestwood IT office in Citrus Heights, CA 
Joined=19 years ago   MB Posts=1410   KB Posts=1805   KB Comments=75   BLOG, Topics=4  
Moderator
Brian Prestwood
Prestwood IT
Sacramento, CA USA

Hey All

Yes, Silverlight is a browser plug in that adds two types of functionality. WPFe is the fancy GUI stuff, including a next generation form designer. The other thing Silverlight adds is the DLR. DLR is like Sun's Java browser plug in. It adds next generation programming capablity to the browser. Adobe has a product it bundles with Flash called Flex. Flex also adds programming capabiltiy to the browser. Like Sun's Java and Adobe's Flex, Microsoft's DLR is scoped to the sandbox the DLR defines.

Brian Prestwood, MCSD-MCT
Chief Technology Officer
Prestwood Software

 Posted 10 years ago (Thread Starter)
Comment Quote
About Brian Prestwood -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Brian Prestwood
Brian Prestwood is the Chief Technology Officer (CTO) of Prestwood Software specializing in .NET distributed business record management system architecture. Currently Brian is focusing on software development work with the state of California. When time permits, he participates in this online community.
Web Presence
Website, My Online Resume (brian.prestwood.name)

Post ID #13216 (Level 1.2)  Reply to 13206
Reply Posted 1/6/2009 4:00:07 PM
Location=Sacramento, CA USA  
Joined=19 years ago   MB Posts=12   KB Comments=1  
Most Recent Post
Moderator
Brian Prestwood
Prestwood IT
Sacramento, CA USA
Quote:
Originally Posted by Wes

Brian, you mentioned that LINQ is the only data-access path in Silverlight.  My understanding is that LINQ is pretty much like SQL in code, which isn't necessarily a very good idea from a security standpoint.

Do you have any insights or opinions about that WRT Silverlight?



Hey Wes

LINQ to SQL hits the data source directly and is, IMO, a poor choice.

LINQ to Objects relies on the business logic layer to deliver the data in the form of objects. Only the simplest of objects can be serialized so this technique is not suitable for distributed systems.

LINQ to XML relies on the data layer to deliver the data as XML. This is, IMO, is the preferred method.

Brian Prestwood, MCSD-MCT
Chief Technology Officer
Prestwood Software

 Posted 10 years ago (Thread Starter)
Comment Quote
About Brian Prestwood -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Brian Prestwood
Brian Prestwood is the Chief Technology Officer (CTO) of Prestwood Software specializing in .NET distributed business record management system architecture. Currently Brian is focusing on software development work with the state of California. When time permits, he participates in this online community.
Web Presence
Website, My Online Resume (brian.prestwood.name)

Post ID #13218 (Level 1.3)  Reply to 13206
Reply Posted 1/6/2009 6:14:52 PM
Location=Sacramento, CA USA  
Joined=19 years ago   MB Posts=12   KB Comments=1  
Wes Peterson
Prestwood IT
Prestwood IT office in Citrus Heights, CA

Thanks, Brian, for the enlightenment on Silverlight.  I'm one of those confused developers who's been sitting back, scratching my head, and wondering just what Silverlight is.  Now I feel like I have a handle on t.

Wes Peterson
Senior Software Engineer
Prestwood IT Solutions
http://www.prestwood.com

 Posted 10 years ago
Comment Quote
About Wes Peterson -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Wes Peterson

Wes Peterson is a Senior Programmer Analyst with Prestwood IT Solutions where he develops custom Windows software and custom websites using .Net and Delphi. When Wes is not coding for clients, he participates in this online community. Prior to his 10-year love-affair with Delphi, he worked with several other tools and databases. Currently he specializes in VS.Net using C# and VB.Net. To Wes, the .NET revolution is as exciting as the birth of Delphi.


Post ID #13211 (Level 1.4)  Reply to 13206
Reply Posted 1/6/2009 1:16:05 PM
Location=Prestwood IT office in Citrus Heights, CA 
Joined=15 years ago   MB Posts=158   KB Posts=163   KB Comments=34   BLOG, Topics=20  
Wes Peterson
Prestwood IT
Prestwood IT office in Citrus Heights, CA

Brian, you mentioned that LINQ is the only data-access path in Silverlight.  My understanding is that LINQ is pretty much like SQL in code, which isn't necessarily a very good idea from a security standpoint.

Do you have any insights or opinions about that WRT Silverlight?

Wes Peterson
Senior Software Engineer
Prestwood IT Solutions
http://www.prestwood.com

 Posted 10 years ago
Comment Quote
About Wes Peterson -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Wes Peterson

Wes Peterson is a Senior Programmer Analyst with Prestwood IT Solutions where he develops custom Windows software and custom websites using .Net and Delphi. When Wes is not coding for clients, he participates in this online community. Prior to his 10-year love-affair with Delphi, he worked with several other tools and databases. Currently he specializes in VS.Net using C# and VB.Net. To Wes, the .NET revolution is as exciting as the birth of Delphi.


Post ID #13217 (Level 1.5)  Reply to 13206
Reply Posted 1/6/2009 5:51:39 PM
Location=Prestwood IT office in Citrus Heights, CA 
Joined=15 years ago   MB Posts=158   KB Posts=163   KB Comments=34   BLOG, Topics=20  
ASPGuy
San Francisco, CA USA

Interesting. I haven't gotten into Silverlight development yet but I thought it was just another competitor to Flash. Isn't it? It's a browser plug in that allows you to do graphical stuff on any browser that supports plugins, right?

Are there any features you've looked into that require IE? In other words, will everything you are doing run on Safari on the Mac?

--

Andy

 Posted 10 years ago
Comment Quote
About ASPGuy -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About ASPGuy

I work for a large company in SF. I spend my days mostly doing analysis but code in asp and vb.net whenever possible.


Post ID #13207 (Level 1.6)  Reply to 13206
Reply Posted 1/6/2009 11:02:46 AM
Location=San Francisco, CA USA 
Joined=12 years ago   MB Posts=48   KB Comments=5  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1246A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #13206 Counter
5810
Since 1/5/2009
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2019 Prestwood IT Solutions.   [Security & Privacy]