热门搜索:   ASP.Net教程   前端开发   etl 工具   sql server 2008   .net 3.5   c#教程   SEO优化   visual studio 2010   ASP.Net 4.0教程   网站安全   ASP.Net MVC 入门视频教程   silverlight 教程   dhl   网站模板-dhl快递
ASP.Net教程
欢迎光临Elock Wong的博客。ASP.Net教程,为您开启WEB编程之门!从基础知识到实例教程,从PDF文档到视频教程,循序渐进地引导大家步入ASP.Net的殿堂。众多的面试题、源码资料、软件下载;近期还推出Ajax 、MVC 和CMS系统教程。相信教程的力量!

I built a comprehensive site with coldfusion that covers the following areas: Handles multiple databases, present data on maps, control different login privileges, accepts and track users’ requests, send automatic emails alerts. What is the easiest and fastest way to convert the site to Silverlight, keeping in mind that most of my background is in coldfusion? How long would it take to get familiar with the language and convert all the pages. Also, I’m hosting the current application on godady, would I be able to host how the new application there?

 

First off, not everything you mention makes sense to convert ot Silverlight. Silverlihgt is a client-side only technology so things like database access, user tracking and sending email are beyond the capabilities of Silverlight, and always will be (probably). What might make sense though is to split your application into two (or more) pieces with Silverlight handling all user interaction and some other technology, even cold fusion, handling all of the back-end processes.

 

For instance, database access. One possible solution would be for you to use your existing cold fusion database access code but instead of generating a web page with the results of your db calls, expose them as a web service that is used by the Silverlight application. Then the Silverlight app would call that service with whatever parameters are needed and when it returns would display the data to the user in a friendly way.

 

As to the learning curve question, most developers pick up the basics of Silverlight pretty quickly since c# is a pretty robust language that has been around for a while now. There is also a pretty active developer community through this forum and a number of blogs to explain things in detail.

 

GoDaddy can host Silverlight apps just fine, the hosting question will just be in relation to whatever server-side technology to go with and it sounds like cold-fusion is fine.

 

Did this help you at all?

 

From a previous user of Cold Fusion, I’d say it’s kinda different. Be prepared to learn a lot of new principles and “modern” programming concepts. Cold Fusion, from what I remember was pretty much made for early interactive web pages. It’s barely a programming language relative to “real” language. I’m sure some of your functions are server side and can be implemented in .NET in IIS as well if you so need to. Maybe you can save most of it even and make some interface to it that will work. But I’d have to say the Cold Fusion to Silverlight (and .NET) is a big jump in learning curve.  I'd say that the easiest way is to build it from ground up by learning what SL does.  I'm not sure you can find that much "direct mapping" of code that you can easily translate from one language to another.

 

However, I used it quite a while ago and it was mostly geared toward accessing databases.  I see that they have updated it a bit so maybe it's different now. 

posted on 2009-09-02 22:00  ASP.Net 4.0教程  阅读(234)  评论(0编辑  收藏  举报

Loading
DHL新闻,将对中国至美国航线DHL,在春节期间DHL中文主页可以办理快递吗,DHL公益关注贫困地区青少年教育,问题DHL装备环保,发动机DHL在中国,内陆DHL网站图片举例,说明代理报关DHL等,知名快递DHL的客服,电话DHL门店
回到顶部