Adobe flex client-side or server-side - apache-flex

I am writing a thesis and have been able to place all my frameworks under two categories (client-side frameworks and server-side frameworks), but I can't seem to finf where to place Adobe Flex...
In which category should I place this or should I place it in some separate catgeory?
Thanks!

Flex is completely client side. I don't see where the confusion comes from? I guess it could be server side as well since the original compiler was meant to compile the code when a user accesses the site and then deliver the resulting swf, but that functionality is phased out.
In each case, the result is a client side UI.

Flex lives strongly on the client. It is a stateful framework which lives in the browser, desktop or mobile devices. It talks to the backend in the form of data services but unlike the HTML model, markup is not generated on the server but compiled and executed on the client.
Hope this helps!

The Flex Framework is a client side framework. What were the specifics that caused you confusion?
It has features for connecting with server side software; but most client side technologies do.

Related

Integrating Paypal API in Adobe Flex

I am writing a Flex project in which I need to communicate with Paypal via their APIs.
Really not sure how to start with - this is my first flex/air application.
I won't be using any server side technology (no Java, Php, .NET, Coldfusion) - all of the requests have to come from Flex and the response be sent back directly to the flex application.
Can someone please give me an example or something to start with. Let's say implementation of RefundTransaction API
in Flex.
Is it possible? If not, then what layer do I need to add to the technology stack?
Just need some pointers and I will pick it up from there.
Thanks
Definitely check out this article http://www.adobe.com/devnet/flex/articles/flex_paypal.html
Essentially will need to figure this out myself as well. One of the BIG, BIG, BIG (big enough for ya) keys is to NOT include your API key anywhere in the application (or other sensitive info). This is one of the pitfalls with using a JIT language because it's based on a VM it can't be hidden very effectively.

Access qt application as web page

I have a qt main-window application from which several dialogs are accessed.
I implemented the server and client versions of the application using tcp/ip using c socket programming.
But now I have been told to make the application accessible to any web browser after username and password have been given using QHttp or any appropriate class.
I'm a beginner and have no idea of implementing this. Could anyone give some tips or examples.
I'm using qt 4.6.2
I'm not sure I understand you. You have a Qt main window which contains some widgets arranged in a GUI. You want those same widgets to be accessible inside a web browser? Then you need to re-create all your GUI code in HTML, CSS and JS.
Your Qt app can use QHttp to listen for incoming client connections. When one of those comes, you reply with a webpage (written in HTML, CSS, JS). When this webpage is received by the user, his browser will display it. When the user interacts with the webpage, you'll probably want to send some data back to the Qt server eventually. You can do this either via form posting or via XMLHttpRequest.
You should know client-side web development is not that simple. Even when you know your languages, there's lots of things to learn about browser compatibility, security, accessiblity, JS app architecture, etc.
You want to make your application into an Http server. Here is an example using Qt to get you started:
http://doc.qt.nokia.com/solutions/4/qtservice/qtservice-example-server.html
As Stefan notes, this means putting your GUI into HTML/CSS/JS and more.

Best practice to develop widget using asp.net on the Server side

Hi
I have a hosted web application written in asp.net and would like to publish widgets for use in remote websites. For that purpose I believe I want to use embedded widgets over IFrame.
I therefore need some client side code to retrieve the widget's HTML from the server.
I'd appreciate assistance in the Client\ Server communication. If you have sample code to call a .NET webservice (or any other way) so that I can start by embedding this code within the widget's client UI.
I would also appreciate recommendations for the client UI library (JQuery, ...)
Thanks a lot !
Some people find JQuery the best choice for this, but if you would rather not have (or don't need) the overhead of all of the JQuery scripts, you can use a ServiceReference in a ScriptManager to call a .Net WebService. See this example for that. There are also examples of loading the HTML from a UserControl via Javascript too if that route would be more fitting for your needs.

Create fat client (RIA) with HTML - controlled environment

I realize that this question can start a discussion but that's really not my intention. We've created a Flex Application to take tests from candidates. The advantage of the Flex Application is that all state can be stored in the application running in the browser of the client. Things like time limits, navigation, scoring, ... can all be handled within the application without us having to worry about a back button for instance. Even running the app offline with Adobe Air isn't that hard.
My question now is if such an application could easily be made with HTML, Javascript, Ajax, ... ? The reason I'm asking is because an application in HTML would be much easier to distribute on Mobile devices for instance. Also, our domain model for instance is mostly implemented in AS3 (Flex) so using it along the server side means porting it to C#.NET. (with two codebases as a result).
Look at any good MVC toolkit, you will easily be able to handle this. Castle project is good as is Microsoft MVC, both of which allow you to choose from a variety of view engines to handle the actual page rendering thereby allowing you to choose the most 'mobile efficient' engine...
As for the technicalities, you would store all persistent data in a server session object.

Create web application to scan document

work on asp.net 08 C#.I would like to develop a web application that scan documents into the following format(pdf,tiff,jpg,gif.etc) .My scanned images/file will be at client computer.
Have you tried using an 3rd party scanning control such as LeadTools? I have used those controls in the past and worked wonderfully.
Brining in a scanned document through the browser goes beyond the basic functionality of the browser.
If you must stick with ASP.NET, you might consider writing an ActiveX control (IE only, I think) that can handle the scanning and interact with your web page.
You might also consider Silverlight. Although I don't think it can handle the scanning directly, you should be able to interface with COM components installed on the system to handle scanned streams.
The wording is sort of ambiguous. Is the scanner on your side or the client's side? I understand that the result of the scan is saved on your client's side.
I assume that the scanner is on the client's side...
You can't access peripherals [ie: a scanner] via standard JavaScript... You can take advantage of ActiveX for IE only.
Why not write a small winforms application in c# and let your client download that?
By the way, if the client has a scanner on his/her side, the scanner will likely have come with software to manipulate the scanner...

Resources