ria

What advantages can ScriptSharp bring to my tool kit?

醉酒当歌 提交于 2019-11-28 16:25:32
Currently we use jQuery to add RIA goodness to our apps, but recently we have been implementing the Coveo Search engine into our Sharepoint portal and found that ScriptSharp was used in their product. What can ScriptSharp bring to the table? I am using ScriptSharp as we speak, having discovered it about 2-3 weeks ago. Honestly, I love it. Native Javascript is a challenge, and the DOM model makes client-side programming even worse. Then I discovered jQuery about six months ago, and I thought it was a godsend. jQuery increased my productivity, but I still get bogged down often with jQuery

Prototype VS jQuery - Strengths and Weaknesses?

我只是一个虾纸丫 提交于 2019-11-28 16:17:22
问题 I don't want to open another " Yet Another Js VS Js " thread. I guess, in the end Prototype and jQuery are both JS and have almost the same methods and functions and need almost the same lines of code for identical tasks. For a real Rich Internet Application , what are the real strengths and what the weaknesses in Prototype vs. jQuery? 回答1: I initially liked the idea of Prototype's extending elements with new or modified methods. However, I've discovered a number of reasons this is a bad

What is WCF RIA services?

ぐ巨炮叔叔 提交于 2019-11-28 14:31:01
问题 I hate MSDN's site for WCF RIA services. It does not say what it is, it only says what it does. It says what it can achieve but does not say why I need it. For example: "A common problem when developing an n-tier RIA solution is coordinating application logic between the middle tier and the presentation tier". Well, it does not mean much to me. "RIA Services solves this problem by providing framework components, tools, and services that make the application logic on the server available to

How to create a custom “confirm” & pause js execution until user clicks button?

被刻印的时光 ゝ 提交于 2019-11-28 12:01:05
Ok, I'm doing a bunch of RIA/AJAX stuff and need to create a "pretty", custom confirm box which is a DIV (not the built-in javascript confirm). I'm having trouble determining how to accomplish a pause in execution to give the user a chance to accept or decline the condition before either resuming or halting execution. (depending upon their answer) So here's the general flow of logic I'm dealing with: User selects an item from dropdown and clicks button. In client-side javascript eventhandler for button, I need to check a (this is the key) SERIES of conditions for the item they chose in

What are your feelings on JavaFX?

荒凉一梦 提交于 2019-11-28 03:10:43
问题 I currently do a lot of work in ActionScript 3.0, I also love to program in Java. Is JavaFX perfect for me? What is the general feeling on JavaFX, will it become a power house, or go down the same path as Java Applets? Could the designers I work with become comfortable with JavaFX to the same extent they are comfortable with ActionScript and JavaScript? 回答1: Just wanted to add my $.02... I've been working in JavaFX for the last 4 days on my first little side-project using it. As some

Version detection with Silverlight

徘徊边缘 提交于 2019-11-27 23:48:43
问题 How can I efficiently and effectively detect the version and, for that matter, any available information about the instance of Silverlight currently running on the browser? 回答1: The Silverlight control only has an IsVersionSupported function, which returns true / false when you give it a version number, e.g.: if(slPlugin.isVersionSupported("2.0")) { alert("I haz some flavour of Silverlight 2"); You can be as specific as you want when checking the build, since the version string can include

Does JSONP require server modifications?

别等时光非礼了梦想. 提交于 2019-11-27 20:03:15
I understand that jsonp is a technique to get around the same origin policy. You basically refer to your json serving server endpoint in a script tag, because script tags are exempt from the SO policy. My question is: Assuming a server has an endpoint that serves up json, are there any modifications necessary on the server to make use of jsonp in the client? I think no, but want to be sure.... Yes, JSONP is slightly different when it renders, so your server needs to support it. JSON looks like this: { "name": "value" } Whereas JSONP looks like this: functionName({ "name": "value" }); If

What advantages can ScriptSharp bring to my tool kit?

僤鯓⒐⒋嵵緔 提交于 2019-11-27 19:55:15
问题 Currently we use jQuery to add RIA goodness to our apps, but recently we have been implementing the Coveo Search engine into our Sharepoint portal and found that ScriptSharp was used in their product. What can ScriptSharp bring to the table? 回答1: I am using ScriptSharp as we speak, having discovered it about 2-3 weeks ago. Honestly, I love it. Native Javascript is a challenge, and the DOM model makes client-side programming even worse. Then I discovered jQuery about six months ago, and I

Client-side image processing

柔情痞子 提交于 2019-11-27 11:21:25
We're building a web-based application that requires heavy image processing. We'd like this processing load to be on the client as much as possible and we'd like to support as much platforms (even mobiles) as much as possible. Yeah, I know, wishful thinking Here's the info: Image processing is rasterization from some data. Think like creating a PNG image from a PDF file. We don't have a lot of server power. So client-side processing is a bit of a must. So, we're considering: Flash - most widespread, but from what i read has lackluster development tools. (and no iPhone/iPad support for now).

Does JSONP require server modifications?

为君一笑 提交于 2019-11-26 20:08:00
问题 I understand that jsonp is a technique to get around the same origin policy. You basically refer to your json serving server endpoint in a script tag, because script tags are exempt from the SO policy. My question is: Assuming a server has an endpoint that serves up json, are there any modifications necessary on the server to make use of jsonp in the client? I think no, but want to be sure.... 回答1: Yes, JSONP is slightly different when it renders, so your server needs to support it. JSON