Results 1 to 9 of 9

Thread: Silverlight Frontends

  1. #1
    Constant Bitrate Hessian's Avatar
    Join Date
    May 2007
    Posts
    146

    Silverlight Frontends

    I may start up a front end developed with Silverlight as a learning exercise and to build something to do exactly what I want.

    I have developed a WinForm based GUI in C# and could transition most of the operational code to the new front end.

    Are there any Silverlight based front ends out there? Has anyone already tried this?

  2. #2
    Neither darque nor pervert DarquePervert's Avatar
    Join Date
    Apr 2004
    Location
    Elsewhere
    Posts
    13,949
    I have a friend who may be undertaking such a project.
    PM me, and I'll put you two together.
    Have you looked in the FAQ yet?
    How about the Wiki?



    Under normal circumstances, a signature would go here.

  3. #3
    Maximum Bitrate
    Auto Apps:loading...
    VegasGuy's Avatar
    Join Date
    May 2009
    Location
    Las Vegas
    Posts
    585
    Just out of curiosity, what advantages would building your frontend in Silverlight provide over building it in WPF? Unless of course, you're thinking about running everything in a browser.You're not thinking about running it in a browser, are you?

    VegasGuy

  4. #4
    Variable Bitrate
    Join Date
    Jun 2007
    Location
    Boston MA
    Posts
    366
    Quote Originally Posted by VegasGuy View Post
    Just out of curiosity, what advantages would building your frontend in Silverlight provide over building it in WPF? Unless of course, you're thinking about running everything in a browser.You're not thinking about running it in a browser, are you?

    VegasGuy
    Silverlight can run under Linux is a big advantage, I think. If you are developing cross-platform .NET applications, you are forced to use Mono. If you developed an app against .NET instead of Mono, you usually can't swap out one framework for another (even though that should happen, ideally) - Mono isn't 100% compatible. Silverlight, like Flash, should just work, wherever it is supported. The burden of cross-platform compatibility is on the framework developer (Microsoft and Adobe), not on the app developer.

    That being said, I think Microsoft isn't gonna keep Silverlight around for much longer and focus on HTML5 instead - Silverlight isn't exactly taking off right now.
    What about an HTML5 front-end? ChromeOS would be perfect for that!

  5. #5
    Maximum Bitrate
    Auto Apps:loading...
    VegasGuy's Avatar
    Join Date
    May 2009
    Location
    Las Vegas
    Posts
    585
    I think the spoiler is hardware access. As a browser-based technology, Silverlight "lives" in a sandbox and like most browser-based technologies, has VERY limited access to the local computer resources. Something to do with those pesky viruses, trojans and whatnot, I imagine. I agree that a Silverlight solution (among others) could provide a nice cross-platform UI...but I think the underlying framework needed to make it all work will be a show-stopper.

    And just one more little tidbit. I was curious about this: So I have IE showing a blank white webpage with a single button on it. Press the button, and an alert pops up saying "Hello World". Although I "could" have done that in javascript, I used some code behind and c# to accomplish the task as I wanted it to be as close in concept and execution to a regular windows form app as i could get. Then i built a small windows form app that did exactly the same thing. One button, popup, "Hello World".

    Looking at the resource monitor, IE use about 180MB of memory to accomplish this particular task. Firefox..a couple of megs more.

    The windows app? 18mb. Roughly 10% of what IE/FireFox use. That's an awful LOT of overhead to carry around just to get to "hello world". Something to think about.

    VegasGuy

  6. #6
    Constant Bitrate Hessian's Avatar
    Join Date
    May 2007
    Posts
    146
    A newb question but, can Silverlight run outside the sandbox if configured for out of browser?
    What WPF front ends are out there?

    An interesting approach would be using WCF for the app to make service calls for higher functions.
    Now that would be resource intensive. You would need to request status at least every second to get track time, etc.
    I've not built anything that chatty using services. The more I think about it the more it probably will not work the way I envision.

    At that point I guess you could use Silverlight, HTML 5, anything really as a front end GUI.

    So what would be cool (and a bit crazy) is to have the app talk wirelessly to a server in the car to perform actions get data etc.

    The first downside that comes to mind would be all data would need to be on the server or at least uploaded if not there.
    Video would be an issue as well.

    Oh well fun to think about anyway...

    Current Project
    I'm building my next car PC now and will be using a tablet with no wired connections to the car.
    All com will run wireless via a router and network USB. (That's the plan anyway)
    Using this solution I could just use any ol' front end (audio would be wireless via USB DAC)
    Last edited by Hessian; 08-10-2011 at 08:58 AM.

  7. #7
    Variable Bitrate
    Join Date
    Jun 2007
    Location
    Boston MA
    Posts
    366
    Silverlight 4 allows COM interface communication, so you can have a DLL that controls the hardware on the low level - if Silverlight has to perform a low-level operation, that DLL has to be called via COM. However, it being COM, you sacrifice the cross-platform aspect.
    Why not use WPF? It's prettier than WinForms and is hardware accelerated (I think, right?). You also get all those nice transitions / animations for free.

  8. #8
    Constant Bitrate Hessian's Avatar
    Join Date
    May 2007
    Posts
    146
    Yea, the only thing cross-platform would be the GUI in that case. Ok, maybe time to abandon this idea...

    WPF sounds fun too. Do you know of any WPF based front ends?

    The only thing I really don't like about my current front end is that it is fixed at 800x600.

  9. #9
    Variable Bitrate
    Join Date
    Jun 2007
    Location
    Boston MA
    Posts
    366
    Quote Originally Posted by Hessian View Post
    Yea, the only thing cross-platform would be the GUI in that case. Ok, maybe time to abandon this idea...

    WPF sounds fun too. Do you know of any WPF based front ends?

    The only thing I really don't like about my current front end is that it is fixed at 800x600.
    I don't know any frontends that use WPF. I'm pretty sure Centrafuse runs standard WinForms - hopefully they used good architectural patters (Model-View-Presenter?) so they can swap out the UI - the presenter - with a different, hardware accelerated UI. I doubt it though

Similar Threads

  1. wth are there so many frontends?
    By tripzero in forum Software & Software Development
    Replies: 50
    Last Post: 05-14-2008, 01:47 AM
  2. frontends?
    By V6Stang in forum Software & Software Development
    Replies: 5
    Last Post: 05-15-2006, 10:11 AM
  3. do any mac frontends do this?
    By knux11 in forum MacCar
    Replies: 1
    Last Post: 02-16-2006, 12:51 AM
  4. Frontends
    By forevertheuni in forum Linux
    Replies: 16
    Last Post: 01-25-2006, 11:08 AM
  5. ahhhhhhhhhhhhhhhh frontends
    By rickyaswell in forum FrodoPlayer
    Replies: 6
    Last Post: 01-07-2005, 12:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •